coupon-buy.wxml 3.5 KB

1
  1. <ax-body vue-id="1eaa3fe0-1" class="data-v-6415fde6" bind:__l="__l" vue-slots="{{['default']}}"><view class="page-background data-v-6415fde6"><image src="/static/img/page-bg01.png" mode="widthFix" class="data-v-6415fde6"></image></view><view class="body data-v-6415fde6"><view class="app-flex c-between data-v-6415fde6"><view class="sta-card data-v-6415fde6"><view class="value data-v-6415fde6">{{userinfo.integralNum}}</view><view class="name data-v-6415fde6">我的积分</view><image class="bg data-v-6415fde6" src="/static/img/my-sta-bg01.png" mode="heightFix"></image></view><view class="sta-card data-v-6415fde6"><view class="value data-v-6415fde6">{{userinfo.params.balance}}</view><view class="name data-v-6415fde6">可抵扣余量</view><image class="bg data-v-6415fde6" src="/static/img/my-sta-bg03.png" mode="heightFix"></image><view data-event-opts="{{[['tap',[['topage_order',['$event']]]]]}}" class="overflow-payment data-v-6415fde6" bindtap="__e"><block wx:if="{{order_info.maspStatus===1}}"><text class="data-v-6415fde6">{{"超"+$root.g0+"元"}}</text></block><text class="ax ax-iconline i-arrow-right icon data-v-6415fde6"></text></view></view></view><view class="card data-v-6415fde6"><view class="title data-v-6415fde6"><view class="data-v-6415fde6">请选择抵扣券</view><block wx:if="{{order_info.maspStatus===1}}"><view class="title-text data-v-6415fde6">{{"至少充值"+$root.g1+"元(超充"+$root.g2+"元,余量需大于3元才能启动)"}}</view></block></view><view class="coupons data-v-6415fde6"><block wx:for="{{coupons.data}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['choose',['$0',index],[[['coupons.data','',index]]]]]]]}}" class="{{['coupon-item','data-v-6415fde6',(coupons.index==index)?'active':'']}}" style="{{'opacity:'+(''+($root.g3>item.levelMoney?'0.4':''))+';'}}" bindtap="__e"><view class="ticket data-v-6415fde6"><view class="value data-v-6415fde6"><text class="val data-v-6415fde6">{{item.levelMoney}}</text><view class="unit data-v-6415fde6">元</view></view><view class="line-wrap data-v-6415fde6"><view class="circle data-v-6415fde6"></view><view class="line data-v-6415fde6"></view><view class="circle data-v-6415fde6"></view></view><view class="margin data-v-6415fde6"></view></view><view class="trapezium data-v-6415fde6"></view><view class="text data-v-6415fde6">充电券</view></view></block></view></view><view class="card tips data-v-6415fde6"><view class="title data-v-6415fde6">温馨提示</view><view class="li data-v-6415fde6">1. 抵扣券仅用于充电结算中抵扣资费,未使用完的余量,可手动发起退还</view><view class="li data-v-6415fde6">2. 抵扣券为专属专用不可转赠和出售</view><view class="li data-v-6415fde6">3. 抵扣券金额未抵扣完结,可累计到下次继续抵扣</view><view class="li data-v-6415fde6">4. 使用时可抵扣按照当前电价进行预估计算</view><view class="li data-v-6415fde6">5. 实际结算价以具体充电时段为准</view></view><view class="footer data-v-6415fde6"><block wx:if="{{coupons.index>=0}}"><view class="payment-tips data-v-6415fde6">{{"购买"+select_num+"元,补缴"+$root.g4+"元,剩余"+(select_num-$root.g5)+"元"}}</view></block><button class="pay data-v-6415fde6" disabled="{{coupons.index<0}}" data-event-opts="{{[['tap',[['pay']]]]}}" bindtap="__e">立即支付购买</button><ax-ios-indicator vue-id="{{('1eaa3fe0-2')+','+('1eaa3fe0-1')}}" class="data-v-6415fde6" bind:__l="__l"></ax-ios-indicator></view></view></ax-body>