diff --git a/app.js b/app.js index 5127000..0975e40 100644 --- a/app.js +++ b/app.js @@ -21,7 +21,7 @@ App({ unique_key: "wechatxcx" }).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest127? true : false; + data.isTest = data.isTest128? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/pbService/appreciate/index.js b/pages/pbService/appreciate/index.js index 5703e2d..b3c1743 100644 --- a/pages/pbService/appreciate/index.js +++ b/pages/pbService/appreciate/index.js @@ -40,7 +40,7 @@ Page({ videoTags:res.data, videoTagId:res.data[0].CatalogId }) - this.getList(); + // this.getList(); }) // 获取图片的标签 commonApi._post("pbservice/Artpopulate/imgTags").then(res=>{ @@ -53,6 +53,7 @@ Page({ picTagId:res.data[0].TagId }) }) + this.getList(); }, changeType:function(e){ let type = e.currentTarget.dataset.type; diff --git a/pages/pbService/index.js b/pages/pbService/index.js index 4d995c5..74d2f9b 100644 --- a/pages/pbService/index.js +++ b/pages/pbService/index.js @@ -71,8 +71,8 @@ Page({ let url = e.currentTarget.dataset.url; app.globalData.weburl = url; wx.navigateTo({ - url: "/pages/pbService/web/index" - }) + url: "/pages/pbService/web/index?weburl=" + encodeURIComponent(url) + }) }, gotoSku: function () { commonApi.user_post("pbservice/Ztfw/sukangCode").then(res => {