<view class="page data-v-5041afff"><block wx:if="{{list}}"><view class="view data-v-5041afff"><view class="card data-v-5041afff"><image class="card-img data-v-5041afff" src="{{list.pic_url}}"></image><view class="card-name data-v-5041afff">{{list.card_name}}</view><block wx:if="{{list.status==0}}"><view class="dir-left-nowrap main-center data-v-5041afff"><view class="over over-lg dir-left-nowrap cross-top box-grow-0 data-v-5041afff"><image class="icon_ok box-grow-0 data-v-5041afff" src="/static/image/icon/icon_ok.png"></image><view class="box-grow-1 data-v-5041afff" style="height:100%;"><view class="data-v-5041afff">{{"已转赠给："+list.receive_user_name}}</view></view><image class="img_seal data-v-5041afff" src="/static/image/card/img_seal.png"></image></view></view></block><block wx:else><block wx:if="{{list.status==1}}"><view class="qr data-v-5041afff"><block wx:if="{{list.is_allow_send==1}}"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="give-btn data-v-5041afff" style="{{'color:'+(theme.color)+';'+('border-color:'+(theme.border)+';')}}" bindtap="__e">转赠</view></block><block wx:if="{{list.is_use===0}}"><image src="{{file_path}}" class="data-v-5041afff"></image></block><view class="data-v-5041afff"><app-share-qr-code vue-id="90165e32-1" title="生成卡券海报" poster-url="{{'/pages/poster/poster?card_id='+list.id}}" has-poster-nav="{{true}}" is-show-friend="{{list.is_allow_send==1}}" value="{{shareShow}}" data-event-opts="{{[['^share',[['testShare']]],['^input',[['__set_model',['','shareShow','$event',[]]]]]]}}" bind:share="__e" bind:input="__e" class="data-v-5041afff" bind:__l="__l"></app-share-qr-code></view></view></block><block wx:else><block wx:if="{{list.status==2}}"><view class="over data-v-5041afff">已使用</view></block><block wx:else><view class="over data-v-5041afff">已过期</view></block></block></block></view><view class="line data-v-5041afff"><image src="/static/image/icon/line.png" class="data-v-5041afff"></image></view><block wx:if="{{list.is_show_history}}"><view class="explain use-time data-v-5041afff"><view class="explain-title data-v-5041afff">核销时间</view><view class="clerk-history data-v-5041afff"><view class="data-v-5041afff">{{list.clerked_at}}</view><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="history-button data-v-5041afff" bindtap="__e">查看历史</view></view></view></block><view class="explain use-time data-v-5041afff"><view class="explain-title data-v-5041afff">有效时间</view><view class="data-v-5041afff">{{list.start_time+" - "+list.end_time}}</view></view><view class="explain card-info data-v-5041afff"><view class="explain-title data-v-5041afff">使用说明</view><view class="data-v-5041afff"><text style="word-break:break-all;" class="data-v-5041afff">{{list.content}}</text></view></view><view class="explain card-info-2 data-v-5041afff"><view class="explain-title data-v-5041afff">核销信息</view><view class="clerk-info data-v-5041afff"><view class="clerk-item data-v-5041afff"><view class="data-v-5041afff">剩余次数：</view><view class="data-v-5041afff">{{list.number-list.use_number+"次"}}</view></view><view class="clerk-item data-v-5041afff"><view class="data-v-5041afff">已核销次数：</view><view class="data-v-5041afff">{{list.use_number+"次"}}</view></view><view class="clerk-item data-v-5041afff"><view class="data-v-5041afff">总次数：</view><view class="data-v-5041afff">{{list.number+"次"}}</view></view></view></view></view></block><block wx:if="{{list.id}}"><app-clerk-historys vue-id="90165e32-2" user-card-id="{{list.id}}" is-show="{{isShow}}" data-event-opts="{{[['^updateIsShow',[['__set_sync',['$0','isShow','$event'],['']]]],['^updateIsShow',[['__set_sync',['$0','isShow','$event'],['']]]]]}}" bind:updateIsShow="__e" class="data-v-5041afff" bind:__l="__l"></app-clerk-historys></block></view>