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