<app-layout vue-id="1681b861-1" class="data-v-aa6cc188" bind:__l="__l" vue-slots="{{['default']}}"><view class="page data-v-aa6cc188"><view class="data-v-aa6cc188"><view class="info-top data-v-aa6cc188"><view class="name data-v-aa6cc188">{{list.name}}</view><block wx:if="{{list.type==2}}"><view class="price data-v-aa6cc188">{{"￥"+$root.f0}}</view></block><block wx:else><view class="price data-v-aa6cc188">{{$root.f1+"折"}}</view></block><block wx:if="{{list.min_price>0}}"><view class="data-v-aa6cc188">{{"满"+$root.f2+"可用"}}</view></block><block wx:else><view class="data-v-aa6cc188">无门槛使用</view></block><block wx:if="{{list.discount_limit}}"><view class="data-v-aa6cc188">{{"优惠上限:￥"+$root.f3}}</view></block><block wx:if="{{!person}}"><view class="data-v-aa6cc188"><block wx:if="{{list.receive_count==='1'}}"><view data-event-opts="{{[['tap',[['toGoods',['$event']]]]]}}" bindtap="__e" class="data-v-aa6cc188"><button class="{{['data-v-aa6cc188','btn',theme+'-color',theme+'-border']}}" style="background-color:#fff;">立即使用</button></view></block><block wx:if="{{list.receive_count==='0'}}"><view data-event-opts="{{[['tap',[['receive',['$0'],['list.id']]]]]}}" bindtap="__e" class="data-v-aa6cc188"><button class="{{['data-v-aa6cc188','btn',theme+'-background',theme+'-border']}}" style="color:#fff;">立即领取</button></view></block></view></block><block wx:else><view class="data-v-aa6cc188"><block wx:if="{{list.appoint_type==4}}"><view class="data-v-aa6cc188"><view class="scan-code data-v-aa6cc188">仅限当面付活动使用</view></view></block><block wx:else><block wx:if="{{list.is_use==0&&list.is_expired==0}}"><view data-event-opts="{{[['tap',[['toGoods',['$event']]]]]}}" bindtap="__e" class="data-v-aa6cc188"><button class="{{['data-v-aa6cc188','btn',theme+'-color',theme+'-border']}}" style="background-color:#fff;">立即使用</button></view></block><block wx:else><block wx:if="{{list.is_use==1}}"><button class="btn used data-v-aa6cc188">已使用</button></block><block wx:else><block wx:if="{{list.is_expired==1&&list.is_use==0}}"><button class="btn used data-v-aa6cc188">已过期</button></block></block></block></block></view></block></view><view class="line data-v-aa6cc188"><image src="./../image/line.png" class="data-v-aa6cc188"></image></view><view class="details data-v-aa6cc188"><view class="title data-v-aa6cc188">有效期</view><block wx:if="{{list.expire_type=='2'||person}}"><view class="data-v-aa6cc188">{{(person?list.start_time:list.begin_time+" 00:00")+" - "+(list.end_time+' ')+''}}<block wx:if="{{!person}}"><text class="data-v-aa6cc188">23:59</text></block></view></block><block wx:if="{{list.expire_type!=='2'&&!person}}"><view class="data-v-aa6cc188">{{"领取后"+list.expire_day+"天内有效"}}</view></block><view class="title data-v-aa6cc188">使用规则</view><block wx:if="{{list.appoint_type=='1'}}"><view class="data-v-aa6cc188">本券仅限购买<block wx:for="{{list.cat}}" wx:for-item="cat" wx:for-index="index" wx:key="id"><text class="data-v-aa6cc188">{{cat.name+''}}<block wx:if="{{index!==list.cat.length-1}}"><text class="data-v-aa6cc188">、</text></block></text></block>分类下的商品。</view></block><block wx:if="{{list.appoint_type=='2'}}"><view class="data-v-aa6cc188">本券仅限购买<block wx:for="{{list.goods}}" wx:for-item="good" wx:for-index="index" wx:key="id"><text class="data-v-aa6cc188">{{good.name+''}}<block wx:if="{{index!==list.goods.length-1}}"><text class="data-v-aa6cc188">、</text></block></text></block>。</view></block><block wx:if="{{list.appoint_type=='3'}}"><view class="data-v-aa6cc188">本券全场通用。</view></block><block wx:if="{{list.appoint_type=='4'}}"><view class="data-v-aa6cc188">本券仅限当面付活动使用。</view></block><view class="title data-v-aa6cc188">使用说明</view><view class="data-v-aa6cc188"><text style="word-break:break-all;" class="data-v-aa6cc188">{{list.rule}}</text></view></view></view></view></app-layout>