pay.wxml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <view class="app">
  2. <view class="price-box">
  3. <text>支付金额</text>
  4. <text class="price">{{money}}</text>
  5. </view>
  6. <view class="pay-type-list">
  7. <view bindtap="__e" class="type-item b-b" data-event-opts="{{[ [ 'tap',[ [ 'changePayType',[1] ] ] ] ]}}">
  8. <text class="icon iconfont iconweixin"></text>
  9. <view class="con">
  10. <text class="tit">微信支付</text>
  11. <text>推荐使用微信支付</text>
  12. </view>
  13. <label class="radio">
  14. <radio checked="{{payType==1}}" color="#5dbc7c" value=""></radio>
  15. </label>
  16. </view>
  17. <view bindtap="__e" class="type-item" data-event-opts="{{[ [ 'tap',[ [ 'changePayType',[3] ] ] ] ]}}" hidden="{{!(goodsType===0)}}">
  18. <text class="icon iconfont iconyue"></text>
  19. <view class="con">
  20. <text class="tit">余额支付</text>
  21. <text>{{'可用余额 ¥'+now_money}}</text>
  22. </view>
  23. <label class="radio">
  24. <radio checked="{{payType==3}}" color="#5dbc7c" value=""></radio>
  25. </label>
  26. </view>
  27. <view bindtap="__e" class="type-item" data-event-opts="{{[ [ 'tap',[ [ 'changePayType',[4] ] ] ] ]}}" hidden="{{!(goodsType===0)}}">
  28. <text class="icon iconfont" style="color:#00BCD4;"></text>
  29. <view class="con">
  30. <text class="tit">线下支付</text>
  31. <text></text>
  32. </view>
  33. <label class="radio">
  34. <radio checked="{{payType==4}}" color="#5dbc7c" value=""></radio>
  35. </label>
  36. </view>
  37. </view>
  38. <text bindtap="__e" class="{{['mix-btn',payLoding?'clickbg':'']}}" data-event-opts="{{[ [ 'tap',[ [ 'e0',['$event'] ] ] ] ]}}">确认支付</text>
  39. </view>