This commit is contained in:
2018-05-21 17:55:32 +08:00
parent 970302a1bb
commit ba2a967b7e
5 changed files with 28 additions and 10 deletions
+6 -6
View File
@@ -175,11 +175,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
axios.get("/rest/news/detail",{params:{newsId:id}}).then(function(response){
if(response.data.code==200){
@@ -211,7 +211,7 @@ var vm = new Vue({
});
getPosition();
updateSerivces();
//}
}
//数量进行转换
function numberConver(thumbsUpCount){