cashier.wxml 1.4 KB

123456789101112131415161718192021222324252627282930313233
  1. <!--pages/my/cashier/cashier.wxml-->
  2. <van-icon name="arrow-left" size="25px" custom-class="back" bind:click="back"/>
  3. <view class="topBox flex ju-c m-bottom-25">
  4. <view class="num">¥{{price>0?price:pageinfo.price}}</view>
  5. <!-- <view class="tips m-top-30">充{{price}}元赠{{give_price}}元,相当于此单收费0.6元</view> -->
  6. </view>
  7. <view class="centerBox">
  8. <view class="tit">支付方式</view>
  9. <view class="message flex ju-b">
  10. <view class="le flex">
  11. <image class="icon m-right-15" src="/image/icon/bag.png"></image>
  12. <text>余额{{pageinfo.total_money}}元{{pageinfo.total_money-pageinfo.price>0?'':'(不足支付)'}}</text>
  13. </view>
  14. <image class="active" src="/image/home/check.png"></image>
  15. </view>
  16. <block wx:if="{{is_online==1}}">
  17. <view class="tit">推荐充值</view>
  18. <view class="content flex">
  19. <view class="items flex ju-c" wx:for="{{pageinfo.recharge}}" wx:key="index" bindtap="click" data-gparice="{{item.give_price}}" data-price="{{item.price}}">
  20. <view class="name">充{{item.price}}元</view>
  21. <view class="val">赠送{{item.give_price}}元</view>
  22. <image src="/image/my/hot.png" class="icon"></image>
  23. </view>
  24. </view>
  25. </block>
  26. </view>
  27. <view class="footerNav ju-c flex">
  28. <view class="btn btn-sky" bindtap="pay">支付{{price>0?price:pageinfo.price}}元</view>
  29. </view>