Commit ae071045d1685e401461d5c4a752ab9982baacfe
1 parent
541aee9a
购物车使用优惠券
Showing
1 changed file
with
1 additions
and
1 deletions
pages/cart/cart2/cart2.wxml
... | ... | @@ -270,7 +270,7 @@ |
270 | 270 | </view> |
271 | 271 | |
272 | 272 | <!-- 循环那些还没有被其他门店选择的券 --> |
273 | - <view class="xc-coupon-effect flex-vertical flex-space-between" wx:for="{{selected_quan_list}}" wx:if="{{!item.is_using}}"> | |
273 | + <view class="xc-coupon-effect flex-vertical flex-space-between" wx:for="{{selected_quan_list && selected_quan_list.length>0}}" wx:if="{{!item.is_using}}"> | |
274 | 274 | <view class="xc-goods-coupon "> |
275 | 275 | <view class="xc-coupon-money">{{item.Sum}}元</view> |
276 | 276 | <view class="flex xc-coupon-time">使用期限 | ... | ... |