<block wx:if="{{list}}"><view class="page data-v-33ab0cb0"><view class="data-v-33ab0cb0"><view class="info-top data-v-33ab0cb0"><view class="name data-v-33ab0cb0">{{list.name}}</view><block wx:if="{{list.type==2}}"><view class="price data-v-33ab0cb0">{{"￥"+$root.f0}}</view></block><block wx:else><block wx:if="{{list.type==1}}"><view class="price data-v-33ab0cb0">{{$root.f1+"折"}}</view></block></block><block wx:if="{{isShowShare}}"><view class="share-img data-v-33ab0cb0"><image src="/static/image/coupon/btn_share.png" data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" bindtap="__e" class="data-v-33ab0cb0"></image><view class="data-v-33ab0cb0"><app-share-qr-code vue-id="75029e0d-1" title="生成优惠券海报" poster-url="{{'/pages/poster/poster?coupon_id='+list.id}}" has-poster-nav="{{true}}" value="{{shareShow}}" data-event-opts="{{[['^share',[['hShareAppMessage']]],['^input',[['__set_model',['','shareShow','$event',[]]]]]]}}" bind:share="__e" bind:input="__e" class="data-v-33ab0cb0" bind:__l="__l"></app-share-qr-code></view></view></block><block wx:if="{{list.min_price>0}}"><view class="data-v-33ab0cb0">{{"满"+$root.f2+"可用"}}</view></block><block wx:else><block wx:if="{{list.min_price==0}}"><view class="data-v-33ab0cb0">无门槛使用</view></block></block><block wx:if="{{list.discount_limit}}"><view class="data-v-33ab0cb0">{{"优惠上限:￥"+$root.f3}}</view></block><block wx:if="{{list.appoint_type==4}}"><view class="data-v-33ab0cb0"><view class="scan-code data-v-33ab0cb0">仅限当面付活动使用</view></view></block><block wx:if="{{list.appoint_type==5}}"><view class="data-v-33ab0cb0"><view class="scan-code data-v-33ab0cb0">仅限礼品卡使用</view></view></block><block wx:if="{{list.status==1}}"><view data-event-opts="{{[['tap',[['toGoods',['$event']]]]]}}" bindtap="__e" class="data-v-33ab0cb0"><button class="{{['data-v-33ab0cb0','btn']}}" style="background-color:#fff;color:#ff4544;border:1rpx solid #ff4544;">立即使用</button></view></block><block wx:else><block wx:if="{{list.status==0}}"><view data-event-opts="{{[['tap',[['receive',['$0'],['list.id']]]]]}}" bindtap="__e" class="data-v-33ab0cb0"><button class="{{['data-v-33ab0cb0','btn']}}" style="color:#fff;border:1rpx solid #ff4544;background:#ff4544;">立即领取</button></view></block><block wx:else><block wx:if="{{list.status==2}}"><button class="btn used data-v-33ab0cb0">已使用</button></block><block wx:else><block wx:if="{{list.status==3}}"><button class="btn used data-v-33ab0cb0">已过期</button></block><block wx:else><block wx:if="{{list.status==4}}"><button class="btn used data-v-33ab0cb0">已领取</button></block></block></block></block></block></view><view class="line data-v-33ab0cb0"><image src="/static/image/line.png" class="data-v-33ab0cb0"></image></view><view class="details data-v-33ab0cb0"><view class="title data-v-33ab0cb0">有效期</view><block wx:if="{{list.expire_type=='2'}}"><view class="data-v-33ab0cb0">{{list.begin_time+" - "+list.end_time+''}}</view></block><block wx:else><block wx:if="{{list.expire_day>0}}"><view class="data-v-33ab0cb0">{{"领取后"+list.expire_day+"天内有效"}}</view></block></block><view class="title data-v-33ab0cb0">使用规则</view><block wx:if="{{list.appoint_type=='1'}}"><view class="data-v-33ab0cb0">本券仅限购买<block wx:for="{{list.cat}}" wx:for-item="cat" wx:for-index="index" wx:key="id"><text class="data-v-33ab0cb0">{{cat.name+''}}<block wx:if="{{index!==list.cat.length-1}}"><text class="data-v-33ab0cb0">、</text></block></text></block>分类下的商品。</view></block><block wx:if="{{list.appoint_type=='2'}}"><view class="data-v-33ab0cb0">本券仅限购买<block wx:for="{{list.goods}}" wx:for-item="good" wx:for-index="index" wx:key="id"><text class="data-v-33ab0cb0">{{good.name+''}}<block wx:if="{{index!==list.goods.length-1}}"><text class="data-v-33ab0cb0">、</text></block></text></block>。</view></block><block wx:if="{{list.appoint_type=='3'}}"><view class="data-v-33ab0cb0">本券全场通用。</view></block><block wx:if="{{list.appoint_type=='4'}}"><view class="data-v-33ab0cb0">本券仅限当面付活动使用。</view></block><block wx:if="{{list.appoint_type=='5'}}"><view class="data-v-33ab0cb0">本券仅限礼品卡使用。</view></block><view class="title data-v-33ab0cb0">使用说明</view><view class="data-v-33ab0cb0"><text style="word-break:break-all;" class="data-v-33ab0cb0">{{list.rule}}</text></view></view></view></view></block>