| @@ -1,7 +1,7 @@ | |||||
| var extConfig = wx.getExtConfigSync ? wx.getExtConfigSync() : {}; | var extConfig = wx.getExtConfigSync ? wx.getExtConfigSync() : {}; | ||||
| var appId = extConfig.appId; | var appId = extConfig.appId; | ||||
| var config = { | var config = { | ||||
| // url: "https://ciformall.youlane.cn/C/api", | |||||
| // url: "https://ciformall.youlane.cn/C/api", | |||||
| // url:"https://c.malls.iformall.com/C/api", | // url:"https://c.malls.iformall.com/C/api", | ||||
| url:'https://ctest.malls.iformall.com/C/api', | url:'https://ctest.malls.iformall.com/C/api', | ||||
| // url:'http://10.100.33.68:7000/C/api', | // url:'http://10.100.33.68:7000/C/api', | ||||
| @@ -7,6 +7,9 @@ let app = getApp(); | |||||
| Page({ | Page({ | ||||
| data: { | data: { | ||||
| newUrl: imgurl.new.url, | newUrl: imgurl.new.url, | ||||
| icon001: imgurl.icon001.url, | |||||
| icon002: imgurl.icon002.url, | |||||
| icon003: imgurl.icon003.url, | |||||
| market: app.globalData.market, | market: app.globalData.market, | ||||
| list: [], | list: [], | ||||
| loading: true, | loading: true, | ||||
| @@ -4,15 +4,15 @@ | |||||
| <!-- 折扣卡 --> | <!-- 折扣卡 --> | ||||
| <view class='section'> | <view class='section'> | ||||
| <view bindtap='gotoRushBuy'> | <view bindtap='gotoRushBuy'> | ||||
| <image src='./../../assets/images/icon001.png'></image> | |||||
| <image src='{{icon001}}'></image> | |||||
| <text>限时抢购</text> | <text>限时抢购</text> | ||||
| </view> | </view> | ||||
| <view bindtap='gotodiscountCardList'> | <view bindtap='gotodiscountCardList'> | ||||
| <image src='./../../assets/images/icon002.png'></image> | |||||
| <image src='{{icon002}}'></image> | |||||
| <text>消费卡</text> | <text>消费卡</text> | ||||
| </view> | </view> | ||||
| <view bindtap='qrcode'> | <view bindtap='qrcode'> | ||||
| <image src='./../../assets/images/icon003.png'></image> | |||||
| <image src='{{icon003}}'></image> | |||||
| <text>会员权益</text> | <text>会员权益</text> | ||||
| </view> | </view> | ||||
| </view> | </view> | ||||
| @@ -76,7 +76,7 @@ | |||||
| <view class="margin"></view> | <view class="margin"></view> | ||||
| <!-- <button bindtap="navigateTo" class="user-out-btn">退出登陆</button> --> | <!-- <button bindtap="navigateTo" class="user-out-btn">退出登陆</button> --> | ||||
| <view bindlongtap='showVersion' class='version'> | <view bindlongtap='showVersion' class='version'> | ||||
| <view wx:if="{{flag=='show'}}">版本号:3.2.0</view> | |||||
| <view wx:if="{{flag=='show'}}">版本号:3.2.1</view> | |||||
| <view wx:if="{{flag=='hidden'}}"></view> | <view wx:if="{{flag=='hidden'}}"></view> | ||||
| </view> | </view> | ||||
| </view> | </view> | ||||
| @@ -323,5 +323,17 @@ module.exports = { | |||||
| 'wm03': { | 'wm03': { | ||||
| 'url': baseUrl + 'wm03.jpg', | 'url': baseUrl + 'wm03.jpg', | ||||
| 'name': '' | 'name': '' | ||||
| }, | |||||
| 'icon001': { | |||||
| 'url': baseUrl + 'icon001.png', | |||||
| 'name': '' | |||||
| }, | |||||
| 'icon002': { | |||||
| 'url': baseUrl + 'icon002.png', | |||||
| 'name': '' | |||||
| }, | |||||
| 'icon003': { | |||||
| 'url': baseUrl + 'icon003.png', | |||||
| 'name': '' | |||||
| } | } | ||||
| } | } | ||||