<app-layout vue-id="6f4712b2-1" class="data-v-679de4e8" bind:__l="__l" vue-slots="{{['default']}}"><view class="page data-v-679de4e8"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view class="coupon-item data-v-679de4e8"><image class="coupon-bg data-v-679de4e8" src="{{couponImg[item.$orig.is_receive=='0'?'coupon_enabled':'coupon_disabled']}}"></image><view data-event-opts="{{[['tap',[['toDetail',['$0'],[[['list','id',item.$orig.id,'id']]]]]]]}}" class="coupon-left dir-left-nowrap data-v-679de4e8" bindtap="__e"><view class="coupon-price t-omit box-grow-0 data-v-679de4e8"><block wx:if="{{item.$orig.type==2}}"><text class="data-v-679de4e8">{{item.f0}}</text></block><block wx:else><text class="data-v-679de4e8">{{item.f1}}</text>折</block></view><view class="box-grow-1 dir-top-nowrap main-center coupon-content data-v-679de4e8"><view class="t-omit data-v-679de4e8" style="width:auto;display:block;">{{item.$orig.name}}</view><block wx:if="{{item.$orig.min_price>0}}"><view class="min_price t-omit data-v-679de4e8">{{"满"+item.f2+"可用"}}</view></block><block wx:else><view class="data-v-679de4e8">无门槛使用</view></block><block wx:if="{{item.$orig.discount_limit}}"><view class="data-v-679de4e8">{{"优惠上限:￥"+item.f3}}</view></block></view></view><block wx:if="{{item.$orig.is_receive=='0'}}"><view data-event-opts="{{[['tap',[['receive',['$0'],[[['list','id',item.$orig.id]]]]]]]}}" class="use-btn data-v-679de4e8" bindtap="__e"><view class="use data-v-679de4e8" style="text-align:center;">立即领取</view></view></block><block wx:else><block wx:if="{{item.$orig.is_receive=='1'}}"><button class="use use-btn data-v-679de4e8" style="color:#b4b4b4;">已领取</button></block></block><view data-event-opts="{{[['tap',[['toDetail',['$0'],[[['list','id',item.$orig.id,'id']]]]]]]}}" class="coupon-info data-v-679de4e8" bindtap="__e"><block wx:if="{{item.$orig.expire_type=='1'}}"><view class="data-v-679de4e8">{{"领取后"+item.$orig.expire_day+"天过期"}}</view></block><block wx:if="{{item.$orig.expire_type=='2'}}"><view class="data-v-679de4e8">{{"有效日期: "+item.$orig.begin_time+" - "+item.$orig.end_time}}</view></block><block wx:if="{{item.$orig.appoint_type=='3'}}"><view class="t-omit data-v-679de4e8">适用范围：全场通用</view></block><block wx:else><block wx:if="{{item.$orig.appoint_type=='4'}}"><view class="t-omit data-v-679de4e8">适用范围：仅限当面付活动使用</view></block><block wx:else><block wx:if="{{item.$orig.appoint_type=='5'}}"><view class="t-omit data-v-679de4e8">适用范围：仅限礼品卡使用</view></block><block wx:else><block wx:if="{{item.$orig.appoint_type=='2'}}"><view class="t-omit data-v-679de4e8"><text class="data-v-679de4e8">适用商品：</text><block wx:for="{{item.$orig.goods}}" wx:for-item="goods" wx:for-index="index" wx:key="id"><text class="data-v-679de4e8"><text class="data-v-679de4e8">{{(index!=0?'、':'')+goods.name}}</text></text></block></view></block><block wx:else><block wx:if="{{item.$orig.appoint_type=='1'}}"><view class="t-omit data-v-679de4e8"><text class="data-v-679de4e8">适用分类：</text><block wx:for="{{item.$orig.cat}}" wx:for-item="cat" wx:for-index="index" wx:key="id"><text class="data-v-679de4e8"><text class="data-v-679de4e8">{{(index!=0?'、':'')+cat.name}}</text></text></block></view></block></block></block></block></block></view></view></block></view></app-layout>