12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <!--pages/order/coupon/coupon.wxml-->
- <view class="listBoxs" >
- <!-- totalprice<item.full?'opct':'' -->
- <view class="itemBoxs" wx:for="{{shopping}}" wx:key="{{index}}">
- <view class="top ">
- <view class="le flex ju-b">
- <view class="tit"><span style="font-size: 24rpx;color: #ff9679;">[{{item.type==1?'免运费券':item.type==2?'满减券':item.type==3?'免单券':''}}]</span>{{item.title}}</view>
- <view class="num">
- <text class="logo">¥</text>
- <text>{{item.money}}</text>
- </view>
- </view>
- <view class="lr flex ju-b">
- <view class="time">{{item.use_end_time}}到期</view>
- <view class="old">
- 满{{item.full}}可用
- </view>
- </view>
- </view>
- <view class="line"></view>
- <view class="footer flex ju-b">
- <view class="le " bindtap="change">
- <collapse list="{{[item.desc||'无']}}"></collapse>
- </view>
- <view class="lr" wx:if="{{totalprice>=item.full&&item.type==2}}" bindtap="gob" data-item="{{item}}">使用</view>
- <view class="lr" wx:elif="{{freight>0&&item.type==1}}" bindtap="gob" data-item="{{item}}">使用</view>
- <view style="font-size: 24rpx;color: #999;" wx:else>不可使用</view>
- </view>
- </view>
- </view>
- <van-empty
- wx:if="{{shopping.length == 0}}"
- class="custom-image"
- image="/image/coupon/no-coupons.png"
- description="暂无优惠券"
- />
- <!-- <view class="footerTips flex ju-b">
- <view class="le flex">
- <text>优惠券使用说明</text>
- <van-icon name="arrow" color="#A5A8AD" size="20rpx" />
- </view>
- <view class="line"></view>
- <view class="lr flex">
- <text>查看过期优惠券</text>
- <van-icon name="arrow" color="#A5A8AD" size="20rpx" />
- </view>
- </view> -->
- <toast id='toast' icon="/image/icon/tips.png">
- </toast>
|