<view class="succeed"><view class="bg"><view class="bg_con"><view class="icon"></view></view></view><view class="container"><view class="voucher"><view class="title">支付凭证</view><view class="tip">请主动出示给加油员查看</view><view class="dashed"></view><view class="arch"><text></text><text></text></view><view class="content"><view class="oil"><text>油品</text><text>{{v_oilName}}</text></view><view class="origin"><text>应付</text><text>{{"￥"+v_receivableAmt}}</text></view><view class="amt"><text>实付</text><text>{{"￥"+v_amt}}</text></view><view class="time"><text>时间</text><text>{{v_time}}</text></view></view></view><view class="attention"><view class="focus">更多优惠，请关注我们的公众号</view><official-account class="official"></official-account></view></view><uni-popup class="coupon" vue-id="60d91660-1" type="bottom" maskClick="false" ref="__r" data-ref="coupon" onVueInit="__l"><view class="coupon-container"><view data-event-opts="{{[['tap',[['closeCoupon',['$event']]]]]}}" class="close" onTap="__e"></view><view class="title">您可领用的优惠券</view><scroll-view class="coupon-scroll" scroll-y="true"><view class="top"><view class="top_left"><view class="title">可领取的优惠劵</view><view class="tip"><text class="icon"></text>{{'您本次最多可领取 '+computedGiveLimit+' 张优惠券'}}</view></view><view class="top_right"><button data-event-opts="{{[['tap',[['getAllCoupon',['$event']]]]]}}" class="get" onTap="__e">一键领取</button></view></view><view class="center"><block a:if="{{!showTip}}"><block a:if="{{couponList.length!=0}}"><view class="{{((((('coupon')+' '+(ele.$orig.couponType==1?'direct':''))+' '+(ele.$orig.couponType==2?'rate':''))+' '+(ele.$orig.couponType==3?'exchange':''))+' '+(ele.$orig.showStatus==0||ele.$orig.showStatus==1||ele.$orig.showStatus==2||ele.$orig.showStatus==3?'expired':''))}}" a:for="{{$root.l0}}" a:for-item="ele" a:for-index="__i0__" a:key="id"><view class="left"><block a:if="{{ele.$orig.couponType==1||ele.$orig.couponType==2}}"><view class="amount">{{''+(ele.$orig.couponType==1?"￥":"")+(ele.$orig.couponType==2?"% ":"")}}<text class="value">{{ele.$orig.couponAmt}}</text></view></block><view class="condition">{{''+(ele.$orig.couponThresholdAmt==0?"无门槛":"满"+ele.$orig.couponThresholdAmt+"元可用")+''}}</view><view class="exchangeName">{{ele.$orig.couponName}}</view></view><view class="right"><view class="title"><text class="type">{{''+(ele.$orig.couponType==1?"立减劵":"")+(ele.$orig.couponType==2?"折扣劵":"")+(ele.$orig.couponType==3?"兑换劵":"")+''}}</text><text class="state">{{''+((!ele.$orig.showStatus&&ele.$orig.showStatus!==0?"可尝试领取":"")+(ele.$orig.showStatus==0?"已经领取成功":"")+(ele.$orig.showStatus==1?"优惠券已领完":"")+(ele.$orig.showStatus==2?"不满足领取条件":"")+(ele.$orig.showStatus==3?"不符合领取条件":""))+''}}</text></view><view class="content"><view class="items"><view class="item scope">适用：<text>{{(ele.$orig.couponType==1||ele.$orig.couponType==2?ele.g0:"")+(ele.$orig.couponType==3?ele.m0:"")}}</text></view><view class="item valid">截止：<text>{{(ele.$orig.effectiveTimeType==1?ele.g1:"")+(ele.$orig.effectiveTimeType==2?"领取后"+ele.$orig.effectiveDayNum+"天有效":"")}}</text></view><view class="item from">来源：<text>加油活动</text></view></view><view class="btn"><button data-event-opts="{{[['tap',[['getCoupon',[[ele.$orig.couponId]]]]]]}}" onTap="__e">领取</button></view></view><view class="tip">{{''+(!!ele.$orig.couponDetails?ele.$orig.couponDetails:"使用此劵更优惠~更多活动，请关注我们的公众号！")+''}}</view></view></view></block><block a:else><view style="text-align:center;">当前活动里没有可有优惠券~</view></block></block><block a:else><view style="text-align:center;">{{tip}}</view></block></view></scroll-view></view></uni-popup></view>