<view class="confirm"><view class="bg"></view><view class="container"><view class="station"><image src="{{orderInfo.stationPic}}" mode="scaleToFill"></image><view class="info"><view class="name">{{''+orderInfo.stationName+''}}</view><view class="content"><view><text>油枪号：</text><text>{{selectedGas.oilGunNo+"号"}}</text></view><view><text>油品名：</text><text>{{selectedGas.oilName}}</text></view><view><text>油站价：</text><text>{{"￥"+selectedGas.oilPrice+"/"+(orderInfo.cardOilsType==4?"Kg":"L")}}</text></view><view><text>优惠价：</text><text>{{"￥"+orderInfo.discountPrice+"/"+(orderInfo.cardOilsType==4?"Kg":"L")}}</text></view></view></view></view><view><view><view class="icon price"></view>订单金额</view><text class="price">{{"￥"+orderInfo.receivableAmt}}</text></view><view><view><view class="icon oil"></view>加油升数</view><text>{{orderInfo.oilLiters+(orderInfo.cardOilsType==4?"Kg":"L")}}</text></view><view><view><view class="icon discount"></view>优惠金额</view><text>{{"￥"+(payType===1?$root.g0:$root.g1)}}</text></view><block wx:if="{{orderInfo.oilsCardFlag==1}}"><view data-event-opts="{{[['tap',[['selectPayType',['$event']]]]]}}" class="dispose dzk" bindtap="__e"><view class="title"><text>电子卡</text><text>电子卡支付更优惠</text></view><view class="tip"><text class="icon"></text><text hidden="{{!(availableCredit)}}">{{"您的"+cardTypeTranslate[orderInfo.cardOilsType]+"余额"}}<text>{{' '+orderInfo.balance+' '}}</text>元，可用来支付此订单</text><text hidden="{{!(!availableCredit)}}">{{cardTypeTranslate[orderInfo.cardOilsType]+"余额"}}<text>{{' '+orderInfo.balance+' '}}</text>元，<text>不足以</text>完成此笔订单</text></view><view class="{{['extra','icon',payType===1?'selected':'',availableCredit?'':'forbid']}}"></view></view></block></view><view class="submit"><view class="area"><block wx:if="{{orderInfo.oilsCardFlag==0}}"><text data-event-opts="{{[['tap',[['selectPayType',['$event']]]]]}}" class="type" bindtap="__e">实付款</text></block><text data-event-opts="{{[['tap',[['selectPayType',['$event']]]]]}}" hidden="{{!(orderInfo.oilsCardFlag==1&&payType==2)}}" class="type" bindtap="__e">微信付款</text><text data-event-opts="{{[['tap',[['selectPayType',['$event']]]]]}}" hidden="{{!(orderInfo.oilsCardFlag==1&&payType==1)}}" class="type" bindtap="__e">电子卡付款</text><block wx:if="{{orderInfo.oilsCardFlag==1&&availableCredit}}"><text data-event-opts="{{[['tap',[['selectPayType',['$event']]]]]}}" class="icon" bindtap="__e"></text></block><text hidden="{{!(payType==2)}}" class="amount">{{"￥"+orderInfo.amt}}</text><text hidden="{{!(payType==1)}}" class="amount">{{"￥"+orderInfo.amt_dzk}}</text><button class="btn" loading="{{wxPayLoading}}" disabled="{{wxPayLoading}}" data-event-opts="{{[['tap',[['goPay',['$event']]]]]}}" bindtap="__e">提交订单</button></view></view><uni-popup class="pay vue-ref" vue-id="dde80104-1" type="bottom" maskClick="false" data-ref="pay" bind:__l="__l" vue-slots="{{['default']}}"><view class="cont"><view data-event-opts="{{[['tap',[['backToSelectPayType',['$event']]]]]}}" class="close" bindtap="__e"></view><view class="amount"><text>￥</text>{{''+(payType==2?orderInfo.amt:orderInfo.amt_dzk)+''}}</view><view data-event-opts="{{[['tap',[['selectPayType',['$event']]]]]}}" class="type" bindtap="__e"><text>付款方式</text><text>{{''+(payType==2?'微信支付':'电子卡支付')}}</text><text></text></view><button class="pay" type="default" loading="{{creditPayLoading}}" data-event-opts="{{[['tap',[['creditPay',['$event']]]]]}}" bindtap="__e">立即付款</button></view></uni-popup><uni-popup class="coupon vue-ref" vue-id="dde80104-2" type="bottom" maskClick="false" data-ref="coupon" bind:__l="__l" vue-slots="{{['default']}}"><view class="coupon-container"><view data-event-opts="{{[['tap',[['closeCoupon',['$event']]]]]}}" class="close" bindtap="__e"></view><view class="title">优惠券</view><scroll-view class="coupon-scroll" scroll-y="true"><view class="item cash"><view class="left"><text class="amount">￥<text class="big">100</text></text><text>无门槛</text></view><view class="right"><text class="title">立减劵</text><text class="scope">范围：限汽油</text><text class="valid">有效至 2021.03.01</text><text class="use"></text></view></view><view class="item discount"><view class="left"><text class="amount">￥<text class="big">100</text></text><text>无门槛</text></view><view class="right"><text class="title">立减劵</text><text class="scope">范围：限汽油</text><text class="valid">有效至 2021.03.01</text><text class="use"></text></view></view><view class="item exchange"><view class="left"><text class="amount">￥<text class="big">100</text></text><text>无门槛</text></view><view class="right"><text class="title">立减劵</text><text class="scope">范围：限汽油</text><text class="valid">有效至 2021.03.01</text><text class="use"></text></view></view></scroll-view></view></uni-popup></view>