| @@ -1,9 +1,9 @@ | |||||
| 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.70:7000/C/api', | // url:'http://10.100.33.70:7000/C/api', | ||||
| // url: 'http://202.165.179.86:4000/C/api', | // url: 'http://202.165.179.86:4000/C/api', | ||||
| api: { | api: { | ||||
| @@ -219,7 +219,7 @@ var config = { | |||||
| }, | }, | ||||
| weapp: { | weapp: { | ||||
| AppId: "wx649b3be73c1afe47" | |||||
| AppId: "wxea71200db93d756b" | |||||
| }, | }, | ||||
| ErrorCode: { | ErrorCode: { | ||||
| @@ -13,7 +13,8 @@ | |||||
| <text class="txt03">{{item.priceStr}}元</text> | <text class="txt03">{{item.priceStr}}元</text> | ||||
| <text class="txt04">可砍至<text class="money">{{item.salePriceStr}}</text>元</text> | <text class="txt04">可砍至<text class="money">{{item.salePriceStr}}</text>元</text> | ||||
| </view> | </view> | ||||
| <view class="botton" hover-class="none" hover-stop-propagation="false">发起砍价</view> | |||||
| <view class="botton" wx:if="{{item.remainInventory != 0}}" hover-class="none" hover-stop-propagation="false">发起砍价</view> | |||||
| <view class="botton botton02" wx:if="{{item.remainInventory == 0}}" hover-class="none" hover-stop-propagation="false">已售罄</view> | |||||
| </view> | </view> | ||||
| <view class="loading" wx:if="{{loading}}"><image src="{{loadingUrl}}" mode="aspectFill"></image>{{content}}</view> | <view class="loading" wx:if="{{loading}}"><image src="{{loadingUrl}}" mode="aspectFill"></image>{{content}}</view> | ||||
| <!-- <view class='loadingtext' wx:if="{{loadingtext}}">{{loadingtext}}</view> --> | <!-- <view class='loadingtext' wx:if="{{loadingtext}}">{{loadingtext}}</view> --> | ||||
| @@ -106,6 +106,9 @@ page{ | |||||
| font-size:26rpx; | font-size:26rpx; | ||||
| color:rgba(255,255,255,1); | color:rgba(255,255,255,1); | ||||
| } | } | ||||
| .botton02{ | |||||
| background: #ccc!important; | |||||
| } | |||||
| .botton2{ | .botton2{ | ||||
| position: absolute; | position: absolute; | ||||
| right: 0; | right: 0; | ||||
| @@ -229,6 +229,7 @@ Page({ | |||||
| couponId: options.couponId, | couponId: options.couponId, | ||||
| title: that.data.data.title ? that.data.data.title : '', | title: that.data.data.title ? that.data.data.title : '', | ||||
| }); | }); | ||||
| if (options.cardType) { | if (options.cardType) { | ||||
| that.setData({ | that.setData({ | ||||
| cardType: options.cardType | cardType: options.cardType | ||||
| @@ -4,7 +4,7 @@ | |||||
| "ignore": [] | "ignore": [] | ||||
| }, | }, | ||||
| "setting": { | "setting": { | ||||
| "urlCheck": true, | |||||
| "urlCheck": false, | |||||
| "es6": true, | "es6": true, | ||||
| "postcss": true, | "postcss": true, | ||||
| "minified": true, | "minified": true, | ||||
| @@ -13,7 +13,7 @@ | |||||
| }, | }, | ||||
| "compileType": "miniprogram", | "compileType": "miniprogram", | ||||
| "libVersion": "2.0.9", | "libVersion": "2.0.9", | ||||
| "appid": "wx649b3be73c1afe47", | |||||
| "appid": "wxea71200db93d756b", | |||||
| "projectname": "C", | "projectname": "C", | ||||
| "isGameTourist": false, | "isGameTourist": false, | ||||
| "condition": { | "condition": { | ||||