去掉测试部分

This commit is contained in:
2018-03-30 16:12:56 +08:00
parent 58557eb6f3
commit f8142b514f
+10 -10
View File
@@ -116,8 +116,8 @@ $.config = {router: false}
<script type="text/javascript" src="../../js/shara/sharaMine.js" ></script> <script type="text/javascript" src="../../js/shara/sharaMine.js" ></script>
<script> <script>
//document.addEventListener('plusready', onPlusReady, false); document.addEventListener('plusready', onPlusReady, false);
var id= "186182250936643584"; var id;//= "186182250936643584";
var shareUrl = BASE_PATH+"/news/newDetail?newsId="; var shareUrl = BASE_PATH+"/news/newDetail?newsId=";
var sharehrefTitle = "停车坐爱枫林晚,霜叶红于二月花"; var sharehrefTitle = "停车坐爱枫林晚,霜叶红于二月花";
var sharehrefDes = "客观里面请!"; var sharehrefDes = "客观里面请!";
@@ -156,11 +156,11 @@ var vm = new Vue({
}) })
//function onPlusReady() { function onPlusReady() {
// var self = plus.webview.currentWebview(); var self = plus.webview.currentWebview();
// id = self.newsId; id = self.newsId;
// shareId = id shareId = id
// shareUrl = shareUrl+id shareUrl = shareUrl+id
$.ajax({ $.ajax({
type : 'get', type : 'get',
url : BASE_PATH + "/rest/news/detail", url : BASE_PATH + "/rest/news/detail",
@@ -196,9 +196,9 @@ var vm = new Vue({
error:function(){ error:function(){
} }
}) })
// getPosition(); getPosition();
// updateSerivces(); updateSerivces();
//} }