You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1 lines
1.4 KiB

<view><view class="{{['coupon-list-window',coupon.coupon===true?'on':'']}}"><view class="title">优惠券<text data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="iconfont icon-guanbi" bindtap="__e"></text></view><block wx:if="{{coupon.list.length>0}}"><view class="coupon-list"><block wx:for="{{coupon.list}}" wx:for-item="item" wx:for-index="couponpopIndex" wx:key="couponpopIndex"><view data-event-opts="{{[['tap',[['getCouponUser',[couponpopIndex,'$0'],[[['coupon.list','',couponpopIndex,'id']]]]]]]}}" class="item acea-row row-center-wrapper" bindtap="__e"><view class="money">¥<text class="num">{{item.couponPrice}}</text></view><view class="text"><view class="condition line1">{{"购物满"+item.useMinPrice+"元可用"}}</view><view class="data acea-row row-between-wrapper"><block wx:if="{{item.end_time===0}}"><view>不限时</view></block><block wx:else><view>{{item.startTime+"-"+item.endTime}}</view></block><view class="{{['bnt acea-row row-center-wrapper',!item.isUse?'bg-color-red':'gray']}}">{{!item.isUse?"立即领取":"已领取"}}</view></view></view></view></block></view></block><block wx:else><view class="pictrue"><image class="image" src="{{$VUE_APP_RESOURCES_URL+'/images/noCoupon.png'}}"></image></view></block></view><view class="mask" hidden="{{coupon.coupon===false}}" data-event-opts="{{[['touchmove',[['',['$event']]]],['tap',[['close',['$event']]]]]}}" bindtouchmove="__e" bindtap="__e"></view></view>