Commit f6dfc71d7538c3c8d269538c52c61e202d1dad81
1 parent
e8f54844
优化
Showing
2 changed files
with
3 additions
and
2 deletions
packageE/pages/user/monthgiftbag/giftpacklist/giftpacklist.wxml
@@ -190,7 +190,7 @@ | @@ -190,7 +190,7 @@ | ||
190 | </block> --> | 190 | </block> --> |
191 | 191 | ||
192 | </block> | 192 | </block> |
193 | - <block wx:if="{{false && isBuy==0}}"> | 193 | + <block wx:if="{{isBuy==0 && orderSn}}"> |
194 | <view class="foot_button data-v-3a5b7e36"> | 194 | <view class="foot_button data-v-3a5b7e36"> |
195 | <block wx:if="{{is_lb!=1}}"> | 195 | <block wx:if="{{is_lb!=1}}"> |
196 | <view class="foot_button_buy data-v-3a5b7e36 overdue"> | 196 | <view class="foot_button_buy data-v-3a5b7e36 overdue"> |
packageE/pages/user/monthgiftbag/monthgiftbag.wxml
@@ -94,7 +94,8 @@ | @@ -94,7 +94,8 @@ | ||
94 | </view> | 94 | </view> |
95 | </view> | 95 | </view> |
96 | <view class="content_box_button" bindtap="navigateTo" data-url="/packageE/pages/user/monthgiftbag/giftpacklist/giftpacklist?isBuy=0&lbId={{item.lbId}}&cover_img={{item.cover_img}}&orderSn={{item.receive_ordersn}}&record_list_id={{item.record_list_id}}&is_receive={{item.is_receive}}"> | 96 | <view class="content_box_button" bindtap="navigateTo" data-url="/packageE/pages/user/monthgiftbag/giftpacklist/giftpacklist?isBuy=0&lbId={{item.lbId}}&cover_img={{item.cover_img}}&orderSn={{item.receive_ordersn}}&record_list_id={{item.record_list_id}}&is_receive={{item.is_receive}}"> |
97 | - <button>立即使用</button> | 97 | + <button wx:if="{{item.receive_ordersn}}">立即使用</button> |
98 | + <button wx:else>立即领取</button> | ||
98 | </view> | 99 | </view> |
99 | </view> | 100 | </view> |
100 | </block> | 101 | </block> |