Browse Source

公共服务停车场和图书馆跳转修改

master
shaojing 2 years ago
parent
commit
e833b512f2
  1. 2
      app.js
  2. 3
      pages/pbService/appreciate/index.js
  3. 2
      pages/pbService/index.js

2
app.js

@ -21,7 +21,7 @@ App({
unique_key: "wechatxcx" unique_key: "wechatxcx"
}).then(res => { }).then(res => {
let data = JSON.parse(res.data); let data = JSON.parse(res.data);
data.isTest = data.isTest127? true : false; data.isTest = data.isTest128? true : false;
this.globalData.configJson = data this.globalData.configJson = data
}).then(() => { }).then(() => {
// 获取ui配置文件 // 获取ui配置文件

3
pages/pbService/appreciate/index.js

@ -40,7 +40,7 @@ Page({
videoTags:res.data, videoTags:res.data,
videoTagId:res.data[0].CatalogId videoTagId:res.data[0].CatalogId
}) })
this.getList(); // this.getList();
}) })
// 获取图片的标签 // 获取图片的标签
commonApi._post("pbservice/Artpopulate/imgTags").then(res=>{ commonApi._post("pbservice/Artpopulate/imgTags").then(res=>{
@ -53,6 +53,7 @@ Page({
picTagId:res.data[0].TagId picTagId:res.data[0].TagId
}) })
}) })
this.getList();
}, },
changeType:function(e){ changeType:function(e){
let type = e.currentTarget.dataset.type; let type = e.currentTarget.dataset.type;

2
pages/pbService/index.js

@ -71,7 +71,7 @@ Page({
let url = e.currentTarget.dataset.url; let url = e.currentTarget.dataset.url;
app.globalData.weburl = url; app.globalData.weburl = url;
wx.navigateTo({ wx.navigateTo({
url: "/pages/pbService/web/index" url: "/pages/pbService/web/index?weburl=" + encodeURIComponent(url)
}) })
}, },
gotoSku: function () { gotoSku: function () {

Loading…
Cancel
Save