commit
6064ce17fb
File diff suppressed because one or more lines are too long
@ -1,41 +1,43 @@
|
||||
|
||||
<van-tabs swipeable >
|
||||
<van-tab title="可使用({{coupon_list?coupon_list.length:'0'}})" >
|
||||
<van-tabs swipeable>
|
||||
<van-tab title="可使用({{coupon_list?coupon_list.length:'0'}})">
|
||||
<view wx:if="{{coupon_list.length==0}}" class="no_content">
|
||||
<image class="img" src="/images/ui/none.png" />
|
||||
<view class="warn">还未查询到可用优惠券</view>
|
||||
</view>
|
||||
<view wx:el class="coupon {{item.status==1?'couponA':'couponU'}}" wx:for="{{coupon_list}}" data-coupon_id='{{item.coupon_id}}' bindtap="use">
|
||||
<view class="_left" style="{{item.status==1?'color: #FF1D42;':''}}">
|
||||
<text style=" font-size: 30px;">¥</text>
|
||||
{{item.subtract}}
|
||||
<image class="img" src="/images/ui/none.png" />
|
||||
<view class="warn">还未查询到可用优惠券</view>
|
||||
</view>
|
||||
<view class="_right">
|
||||
<view class="_ln">满{{item.full}}元可用</view>
|
||||
<view class="_ln" style="margin: 20rpx 0;">{{item.abb_num==0?'所有':(item.abb_num+'个')}}剧目可使用本张优惠券</view>
|
||||
<view class="_ln">有效期至{{item.end_date}}</view>
|
||||
<view wx:el class="coupon {{item.status==1?'couponA':'couponU'}}" wx:for="{{coupon_list}}"
|
||||
data-coupon_id='{{item.coupon_id}}' bindtap="use">
|
||||
<view class="_left" style="{{item.status==1?'color: #FF1D42;':''}}">
|
||||
<text style=" font-size: 30px;">¥</text>{{item.subtract}}
|
||||
</view>
|
||||
<view class="_right">
|
||||
<view class="_ln">满{{item.full}}元可用</view>
|
||||
<!-- <view class="_ln" style="margin: 20rpx 0;">{{item.abb_num==0?'所有':(item.abb_num+'个')}}剧目可使用本张优惠券</view> -->
|
||||
<view class="_ln">仅可购买部分演出</view>
|
||||
<view class="_ln">有效期至{{item.end_date}}</view>
|
||||
</view>
|
||||
<view style="margin-left:auto;margin-right:20rpx">
|
||||
<van-icon name="arrow" size="20" />
|
||||
</view>
|
||||
</view>
|
||||
<van-icon name="arrow" size="20" custom-style=" margin: 0 20rpx;" />
|
||||
</view>
|
||||
</van-tab>
|
||||
<van-tab title="已失效({{coupon_listU?coupon_listU.length:'0'}})">
|
||||
<view wx:if="{{coupon_listU.length==0}}" class="no_content">
|
||||
<image class="img" src="/images/ui/none.png" />
|
||||
<view class="warn">还未查询到失效优惠券</view>
|
||||
</view>
|
||||
<view wx:el class="coupon couponU" style="color: #999999;" wx:for="{{coupon_listU}}">
|
||||
<image class="image" src="/images/ui/kxmh.png" />
|
||||
<image class="img" src="{{item.status==2?'/images/ui/coupon_ued.png':''}}" />
|
||||
<image class="img" src="{{item.status==4?'/images/ui/coupon_passed.png':''}}" />
|
||||
<view class="_left" >
|
||||
<text style=" font-size: 30px;">¥</text>
|
||||
{{item.subtract}}
|
||||
<image class="img" src="/images/ui/none.png" />
|
||||
<view class="warn">还未查询到失效优惠券</view>
|
||||
</view>
|
||||
<view class="_right1">
|
||||
<view class="_ln1">满{{item.full}}元可用</view>
|
||||
<view class="_ln2">有效期至{{item.end_date}}</view>
|
||||
<view wx:el class="coupon couponU" style="color: #999999;" wx:for="{{coupon_listU}}">
|
||||
<image class="image" src="/images/ui/kxmh.png" />
|
||||
<image class="img" src="{{item.status==2?'/images/ui/coupon_ued.png':''}}" />
|
||||
<image class="img" src="{{item.status==4?'/images/ui/coupon_passed.png':''}}" />
|
||||
<view class="_left">
|
||||
<text style=" font-size: 30px;">¥</text>
|
||||
{{item.subtract}}
|
||||
</view>
|
||||
<view class="_right1">
|
||||
<view class="_ln1">满{{item.full}}元可用</view>
|
||||
<view class="_ln2">有效期至{{item.end_date}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</van-tab>
|
||||
</van-tabs>
|
||||
<button class="_button" bindtap="ex" >兑换优惠券</button>
|
||||
<button class="_button" bindtap="ex">兑换优惠券</button>
|
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue