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
6.6 KiB
1 lines
6.6 KiB
<view hidden="{{!(!isSortType)}}" style="{{$root.s0}}"><block wx:if="{{$root.g0}}"><view class="coupon-wrap" style="{{$root.s1}}"><block wx:if="{{dataConfig.styleConfig.tabVal==0}}"><view class="coupon1"><scroll-view scroll-x="true"><view class="list acea-row"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view class="item" style="{{item.s2}}"><view class="text"><view class="money" style="{{item.s3}}"><block wx:if="{{item.$orig.coupon_type==1}}">¥<text class="number">{{item.$orig.coupon_price}}</text></block><block wx:else><block wx:if="{{item.$orig.coupon_type==2}}"><text class="number">{{item.$orig.coupon_price/10}}</text>折</block></block></view><view class="info"><block wx:if="{{item.$orig.use_min_price}}"><text>{{"满"+item.$orig.use_min_price+"可用"}}</text></block><block wx:else><text>无门槛券</text></block></view></view><block wx:if="{{item.$orig.is_use==true}}"><view class="button" style="{{item.s4}}">已领取</view></block><block wx:else><block wx:if="{{item.$orig.is_use==false}}"><view data-event-opts="{{[['tap',[['receiveCoupon',['$0'],[[['couponList','id',item.$orig.id]]]]]]]}}" class="button" style="{{item.s5}}" bindtap="__e">去领取</view></block><block wx:else><block wx:if="{{item.$orig.is_use==2}}"><view class="button" style="{{item.s6}}">已过期</view></block></block></block></view></block></view></scroll-view></view></block><block wx:else><block wx:if="{{dataConfig.styleConfig.tabVal==1}}"><view class="coupon2"><scroll-view scroll-x="true"><view class="list acea-row"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="__i1__" wx:key="id"><view class="item"><view class="name">{{item.f0}}</view><view class="text" style="{{item.s7}}"><view class="money"><block wx:if="{{item.$orig.coupon_type==1}}">¥<text class="number">{{item.$orig.coupon_price}}</text></block><block wx:else><block wx:if="{{item.$orig.coupon_type==2}}"><text class="number">{{item.$orig.coupon_price/10}}</text>折</block></block></view><view class="info"><block wx:if="{{item.$orig.use_min_price}}"><text>{{"满"+item.$orig.use_min_price+"可用"}}</text></block><block wx:else><text>无门槛券</text></block></view></view><block wx:if="{{item.$orig.is_use==true}}"><view class="button" style="{{item.s8}}">已领取</view></block><block wx:else><block wx:if="{{item.$orig.is_use==false}}"><view data-event-opts="{{[['tap',[['receiveCoupon',['$0'],[[['couponList','id',item.$orig.id]]]]]]]}}" class="button" style="{{item.s9}}" bindtap="__e">去领取</view></block><block wx:else><block wx:if="{{item.$orig.is_use==2}}"><view class="button" style="{{item.s10}}">已过期</view></block></block></block></view></block></view></scroll-view></view></block><block wx:else><block wx:if="{{dataConfig.styleConfig.tabVal==2}}"><view class="coupon3" style="{{$root.s11}}"><scroll-view scroll-x="true"><view class="list acea-row"><block wx:for="{{couponList}}" wx:for-item="item" wx:for-index="__i2__" wx:key="id"><view class="item"><view class="inner acea-row"><view class="text acea-row row-column row-middle row-center"><view class="money"><block wx:if="{{item.coupon_type==1}}">¥<text class="number">{{item.coupon_price}}</text></block><block wx:else><block wx:if="{{item.coupon_type==2}}"><text class="number">{{item.coupon_price/10}}</text>折</block></block></view><view class="info"><block wx:if="{{item.use_min_price}}"><text>{{"满"+item.use_min_price+"可用"}}</text></block><block wx:else><text>无门槛券</text></block></view></view><block wx:if="{{item.is_use==true}}"><view class="button acea-row row-middle">已领取</view></block><block wx:else><block wx:if="{{item.is_use==false}}"><view data-event-opts="{{[['tap',[['receiveCoupon',['$0'],[[['couponList','id',item.id]]]]]]]}}" class="button acea-row row-middle" bindtap="__e">立即领取</view></block><block wx:else><block wx:if="{{item.is_use==2}}"><view class="button acea-row row-middle">已过期</view></block></block></block></view></view></block></view></scroll-view></view></block><block wx:else><block wx:if="{{dataConfig.styleConfig.tabVal==3}}"><view class="coupon4" style="{{$root.s12}}"><view class="content"><scroll-view scroll-x="true"><view class="list acea-row"><block wx:for="{{$root.l2}}" wx:for-item="item" wx:for-index="__i3__" wx:key="id"><view class="item" style="{{item.s13}}"><view class="name" style="{{(typeStyle)}}"><view class="inner">{{item.f1}}</view></view><view class="text"><view class="money" style="{{item.s14}}"><block wx:if="{{item.$orig.coupon_type==1}}">¥<text class="number">{{item.$orig.coupon_price}}</text></block><block wx:else><block wx:if="{{item.$orig.coupon_type==2}}"><text class="number">{{item.$orig.coupon_price/10}}</text>折</block></block></view><view class="info"><block wx:if="{{item.$orig.use_min_price}}"><text>{{"满"+item.$orig.use_min_price+"可用"}}</text></block><block wx:else><text>无门槛券</text></block></view></view></view></block></view></scroll-view><view class="station acea-row row-column row-middle row-center" style="{{$root.s15}}"><view class="station-name">先领券 再购物</view><view class="station-info">领券下单·享购物优惠</view><view data-event-opts="{{[['tap',[['goCoupon',['$event']]]]]}}" class="button" bindtap="__e">立即领取</view></view></view></view></block><block wx:else><block wx:if="{{dataConfig.styleConfig.tabVal==4}}"><view class="coupon5"><scroll-view scroll-x="true"><view class="list acea-row"><block wx:for="{{$root.l3}}" wx:for-item="item" wx:for-index="__i4__" wx:key="id"><view class="item acea-row" style="{{item.s16}}"><view class="text acea-row row-column row-middle row-center"><view class="money" style="{{item.s17}}"><block wx:if="{{item.$orig.coupon_type==1}}">¥<text class="number">{{item.$orig.coupon_price}}</text></block><block wx:else><block wx:if="{{item.$orig.coupon_type==2}}"><text class="number">{{item.$orig.coupon_price/10}}</text>折</block></block></view><view class="info" style="{{item.s18}}"><block wx:if="{{item.$orig.use_min_price}}"><text>{{"满"+item.$orig.use_min_price+"可用"}}</text></block><block wx:else><text>无门槛券</text></block></view></view><block wx:if="{{item.$orig.is_use==true}}"><view class="button acea-row row-middle">已领取</view></block><block wx:else><block wx:if="{{item.$orig.is_use==false}}"><view data-event-opts="{{[['tap',[['receiveCoupon',['$0'],[[['couponList','id',item.$orig.id]]]]]]]}}" class="button acea-row row-middle" bindtap="__e">领取</view></block><block wx:else><block wx:if="{{item.$orig.is_use==2}}"><view class="button acea-row row-middle">已过期</view></block></block></block></view></block></view></scroll-view></view></block></block></block></block></block></view></block></view> |