diff --git a/app.js b/app.js index 1933352..14672bf 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.isTest58? true : false; + data.isTest = data.isTest59? true : false; this.globalData.configJson = data }).then(() => { // 获取ui配置文件 diff --git a/pages/info/postProductInfo/index.js b/pages/info/postProductInfo/index.js index 6fd1215..2f1ce66 100644 --- a/pages/info/postProductInfo/index.js +++ b/pages/info/postProductInfo/index.js @@ -46,9 +46,7 @@ Page({ let height = (rect.top - device.statusBarHeight) * 2 + rect.height + device.statusBarHeight; this.setData({ top: height, - id: options.id, - iShop:options.iShop||false, - supplierId:options.supplierId + id: options.id }) // 获取购物车按钮的位置 wx.createSelectorQuery().select('#cart').boundingClientRect(function (res) { @@ -73,7 +71,9 @@ Page({ } res.data.flag = res.data.sku.find(item => item.flag == 'on') ? res.data.flag : 0 this.setData({ - info: res.data + info: res.data, + supplierId:res.data.supplier_id, + iShop:res.data.supplier_id?true:false }) // 获取补贴 diff --git a/pages/list/activitynew/index.wxml b/pages/list/activitynew/index.wxml index 9d75834..7fc61dd 100644 --- a/pages/list/activitynew/index.wxml +++ b/pages/list/activitynew/index.wxml @@ -35,10 +35,10 @@ 讲座 --> - + 其他 diff --git a/pages/list/techan/index.wxml b/pages/list/techan/index.wxml index 7a992ad..9d8e3df 100644 --- a/pages/list/techan/index.wxml +++ b/pages/list/techan/index.wxml @@ -19,13 +19,13 @@ {{item.address}} - {{tool.toFix(item.start_price)}} + {{(item.start_price/100)}} {{item.title}} - {{tool.toFix(item.price)}}{{item.market_price/100}} + {{(item.price/100)}}{{item.market_price/100}}