diff --git a/manifest.json b/manifest.json index af0de38..0ffd542 100644 --- a/manifest.json +++ b/manifest.json @@ -50,7 +50,7 @@ "quickapp" : {}, /* 小程序特有相关 */ "mp-weixin" : { - "appid" : "wx5be1fe6ef11841cd", + "appid" : "wx699ed131345cf8dd", "setting" : { "urlCheck" : false, "es6" : true, diff --git a/pages/index/index.vue b/pages/index/index.vue index 82429a7..478c7f3 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -87,7 +87,7 @@ }, // 离开当前页面时获取定位 onHide() { - this.getLocation() + // this.getLocation() }, onReady() { this.sendRequest() diff --git a/static/js/CommonFunction.js b/static/js/CommonFunction.js index 45c117a..44168a7 100644 --- a/static/js/CommonFunction.js +++ b/static/js/CommonFunction.js @@ -251,7 +251,7 @@ Vue.prototype.gotoWebUrl = url => { Vue.prototype.gotoDetailByType = item => { let url = '' if(item.is_package) { - url = '/subPackages/food/detail?id=' + item.product_id + url = '/subPackages/food/detail?id=' + (item.product_id || item.id) Vue.prototype.gotoPath(url) return;