<app-layout vue-id="c691d8de-1" class="data-v-28821788" bind:__l="__l" vue-slots="{{['default']}}"><view class="box data-v-28821788"><view class="item data-v-28821788"><block wx:if="{{detail.name}}"><view class="order-info data-v-28821788"><view class="dir-left-nowrap data-v-28821788"><view class="info-label data-v-28821788">收货人：</view><view class="data-v-28821788"><view class="data-v-28821788">{{detail.name}}</view></view></view><view class="dir-left-nowrap data-v-28821788"><view class="info-label data-v-28821788">联系方式：</view><view class="data-v-28821788"><view class="data-v-28821788">{{detail.mobile}}</view></view></view></view></block><view class="card-info data-v-28821788"><image class="card-img data-v-28821788" src="{{detail.pic_url}}"></image><view class="card-name t-omit-two data-v-28821788">{{detail.card_name}}</view><view class="card-other data-v-28821788"><view class="other-label data-v-28821788">有效时间</view><view class="data-v-28821788">{{detail.start_time+" - "+detail.end_time}}</view><view class="other-label data-v-28821788">发放时间</view><view class="data-v-28821788">{{detail.created_at}}</view><view class="other-label data-v-28821788">使用说明</view><text class="data-v-28821788">{{detail.content}}</text></view></view><view class="order-info data-v-28821788"><view style="margin-bottom:24rpx;" class="data-v-28821788">核销信息</view><view class="dir-left-nowrap data-v-28821788"><view class="info-label data-v-28821788">剩余次数：</view><view class="data-v-28821788"><view class="data-v-28821788">{{detail.number-detail.use_number+"次"}}</view></view></view><view class="dir-left-nowrap data-v-28821788"><view class="info-label data-v-28821788">已核销次数：</view><view class="data-v-28821788"><view class="data-v-28821788">{{detail.use_number+"次"}}</view></view></view><view class="dir-left-nowrap data-v-28821788"><view class="info-label data-v-28821788">总次数：</view><view class="data-v-28821788"><view class="data-v-28821788">{{detail.number+"次"}}</view></view></view></view></view><view class="bottom cross-center data-v-28821788"><block wx:if="{{detail.is_use==0}}"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" bindtap="__e" class="data-v-28821788"><button class="submit-btn data-v-28821788">核销卡券</button></view></block></view></view><block wx:if="{{msg||submit}}"><view data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" class="bg cross-center main-center data-v-28821788" catchtouchmove="__e"><view class="dialog data-v-28821788"><view class="title data-v-28821788">{{submit?'输入本次核销次数':'提示'}}</view><block wx:if="{{msg}}"><view class="dialog-content data-v-28821788">{{msg}}</view></block><block wx:if="{{submit}}"><view class="dialog-content data-v-28821788"><input class="input-number data-v-28821788" type="number" data-event-opts="{{[['input',[['__set_model',['','useNumber','$event',[]]]]]]}}" value="{{useNumber}}" bindinput="__e"/>次</view></block><block wx:if="{{msg}}"><view data-event-opts="{{[['tap',[['closeDialog',['$event']]]]]}}" class="dialog-btn data-v-28821788" bindtap="__e">确认</view></block><block wx:if="{{submit}}"><view class="dialog-btn main-center cross-center data-v-28821788"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" style="color:#666666;width:50%;" bindtap="__e" class="data-v-28821788">取消</view><view class="line data-v-28821788"></view><view data-event-opts="{{[['tap',[['clerk',['$event']]]]]}}" style="width:50%;" bindtap="__e" class="data-v-28821788">确定</view></view></block></view></view></block></app-layout>