Browse Source

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

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

2
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配置文件

3
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;

4
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 => {

Loading…
Cancel
Save