Commit 6724fe130725b0896ddb9cd80d8f4227cd7bb531
1 parent
f6ba51fd
优化
Showing
2 changed files
with
4 additions
and
4 deletions
packageE/pages/user/monthgiftbag/giftpackbuy/giftpackbuy.wxml
| ... | ... | @@ -63,8 +63,8 @@ |
| 63 | 63 | </view> |
| 64 | 64 | </view> |
| 65 | 65 | <view class="content_box_button"> |
| 66 | - <view class="box_button_remark"> | |
| 67 | - <text>{{"已售:"+(items.giftQty+items.virtualSales)+"件"}}</text> | |
| 66 | + <view class="box_button_remark" > | |
| 67 | + <text wx:if="{{ items.starTime1 < now}}">{{"已售:"+(items.giftQty+items.virtualSales)+"件"}}</text> | |
| 68 | 68 | </view> |
| 69 | 69 | <block wx:if="{{now > items.starTime1}}"> |
| 70 | 70 | <view class="flex-vertical"> | ... | ... |
packageE/pages/user/monthgiftbag/public/buy_com.wxml
| ... | ... | @@ -169,8 +169,8 @@ |
| 169 | 169 | |
| 170 | 170 | |
| 171 | 171 | <view class="flex"> |
| 172 | - <view class="spec-goods-stock" >已售:{{sele_g.giftQty}}</view> | |
| 173 | - <view class="spec-goods-stock">可售:{{sele_g.lbnum-sele_g.giftQty+(sele_g.virtualsales?sele_g.virtualsales:0)}}</view> | |
| 172 | + <view class="spec-goods-stock" >已售:{{sele_g.giftQty+sele_g.virtualSales}}</view> | |
| 173 | + <view class="spec-goods-stock">可售:{{sele_g.lbnum-sele_g.giftQty}}</view> | |
| 174 | 174 | </view> |
| 175 | 175 | |
| 176 | 176 | </view> | ... | ... |