去掉测试部分
This commit is contained in:
@@ -116,8 +116,8 @@ $.config = {router: false}
|
||||
|
||||
<script type="text/javascript" src="../../js/shara/sharaMine.js" ></script>
|
||||
<script>
|
||||
//document.addEventListener('plusready', onPlusReady, false);
|
||||
var id= "186182250936643584";
|
||||
document.addEventListener('plusready', onPlusReady, false);
|
||||
var id;//= "186182250936643584";
|
||||
var shareUrl = BASE_PATH+"/news/newDetail?newsId=";
|
||||
var sharehrefTitle = "停车坐爱枫林晚,霜叶红于二月花";
|
||||
var sharehrefDes = "客观里面请!";
|
||||
@@ -156,11 +156,11 @@ var vm = new Vue({
|
||||
})
|
||||
|
||||
|
||||
//function onPlusReady() {
|
||||
// var self = plus.webview.currentWebview();
|
||||
// id = self.newsId;
|
||||
// shareId = id
|
||||
// shareUrl = shareUrl+id
|
||||
function onPlusReady() {
|
||||
var self = plus.webview.currentWebview();
|
||||
id = self.newsId;
|
||||
shareId = id
|
||||
shareUrl = shareUrl+id
|
||||
$.ajax({
|
||||
type : 'get',
|
||||
url : BASE_PATH + "/rest/news/detail",
|
||||
@@ -196,9 +196,9 @@ var vm = new Vue({
|
||||
error:function(){
|
||||
}
|
||||
})
|
||||
// getPosition();
|
||||
// updateSerivces();
|
||||
//}
|
||||
getPosition();
|
||||
updateSerivces();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user