Showing
2 changed files
with
3 additions
and
3 deletions
| @@ -229,7 +229,7 @@ Page({ | @@ -229,7 +229,7 @@ Page({ | ||
| 229 | if (condition.valid_forever === '0' && condition.stime && condition.etime) { | 229 | if (condition.valid_forever === '0' && condition.stime && condition.etime) { |
| 230 | detail.useStime = util.unixtoTime(condition.stime, 'YYYY-MM-DD'); | 230 | detail.useStime = util.unixtoTime(condition.stime, 'YYYY-MM-DD'); |
| 231 | detail.useEtime = util.unixtoTime(condition.etime, 'YYYY-MM-DD'); | 231 | detail.useEtime = util.unixtoTime(condition.etime, 'YYYY-MM-DD'); |
| 232 | - detail.useEtimeStr = useStime + '至' + useEtime; | 232 | + detail.useEtimeStr = detail.useStime + '至' + detail.useEtime; |
| 233 | } | 233 | } |
| 234 | if (condition.valid_forever === '1') { | 234 | if (condition.valid_forever === '1') { |
| 235 | detail.foreverText = '永久有效'; | 235 | detail.foreverText = '永久有效'; |
| @@ -175,12 +175,12 @@ | @@ -175,12 +175,12 @@ | ||
| 175 | </view> | 175 | </view> |
| 176 | </block> | 176 | </block> |
| 177 | <block wx:else> | 177 | <block wx:else> |
| 178 | - <view class="leftBox"> | 178 | + <view class="leftBox" wx:if="{{detail.is_type != '3'}}"> |
| 179 | <view class="news font24r"> | 179 | <view class="news font24r"> |
| 180 | 合计<text class="font28r">¥<text class="priceInfo">{{totalize}}</text></text> | 180 | 合计<text class="font28r">¥<text class="priceInfo">{{totalize}}</text></text> |
| 181 | </view> | 181 | </view> |
| 182 | </view> | 182 | </view> |
| 183 | - <button bindtap="submitOrderTwo" class="font32r {{(dataStr>(detail.etime*1) || detail.grant_last=='0' || (detail.grant_last && (detail.grant_last*1)<(num*1)))?'submitBtns btnsDisabled':'submitBtns'}}">提交订单</button> | 183 | + <button bindtap="submitOrderTwo" wx:if="{{detail.is_type != '3'}}" class="font32r {{(dataStr>(detail.etime*1) || detail.grant_last=='0' || (detail.grant_last && (detail.grant_last*1)<(num*1)))?'submitBtns btnsDisabled':'submitBtns'}}">提交订单</button> |
| 184 | </block> | 184 | </block> |
| 185 | </view> | 185 | </view> |
| 186 | <toast id="myToast"></toast> | 186 | <toast id="myToast"></toast> |
-
Please register or login to post a comment