cashier.wxml 1.5 KB

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