Browse Source

苏州映像

master
jiazhipeng 9 months ago
parent
commit
2888067b0a
  1. 2
      app.js
  2. 2
      pages/index/index.js

2
app.js

@ -38,7 +38,7 @@ App({
// 获取前端配置文件
commonApi._post("pbservice/Other/getClientConfig", {unique_key: "wechatxcx"}).then(res => {
let data = JSON.parse(res.data);
data.isTest = data.isTest129? true : false;
data.isTest = data.isTest101? true : false;
data.indexSeason = null
this.globalData.configJson = data
}).then(() => {

2
pages/index/index.js

@ -520,7 +520,7 @@ Page({
})
} else {
// 小程序是3
commonApi._post("adv/get_home_ui", {type_id: 2}).then(res => {
commonApi._post("adv/get_home_ui", {type_id: 3}).then(res => {
let obj = {};
(res.data.content||[]).forEach(item => {
obj[item.id] = item.image

Loading…
Cancel
Save