balance.axml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <view class="balance">
  2. <view class="balance-top">
  3. 注意:余额不可退还
  4. </view>
  5. <view class="chongzhi">
  6. <view class="card">
  7. <view class="yue" onTap="frameShow">
  8. <text>车费余额</text>
  9. <!-- <text class="iconfont icon-iconfontjiantou2"></text> -->
  10. </view>
  11. <view class="balance-num">
  12. <text class="money">{{balance|parseFloat}}</text>
  13. <text class="yuan">元</text>
  14. </view>
  15. </view>
  16. <view class="money-list">
  17. <view class="{{currentNow==index ? 'active' : 'money-item'}}" a:for="{{moneyList}}" a:key="{{index}}" onTap="changeMoney" data-idx="{{index}}">
  18. <text>{{index==Index?'充':''}}{{item.recharge_money}}元</text>
  19. <text a:if="{{item.give_money!=0}}">送{{item.give_money}}元</text>
  20. </view>
  21. <view class="{{currentNow==-1 ? 'active' : 'money-item'}}" onTap="changeMoney" data-idx="-1">
  22. <text>自定义</text>
  23. </view>
  24. </view>
  25. <view class="zidingyi" a:if="{{currentNow==-1}}">
  26. <input type="number" onFocus="enter" onInput="ckInp" value="{{inputValue}}" type="number" placeholder="自定义金额(1—1000内整数)" placeholder-class="no-input"/></view>
  27. </view>
  28. <view class="bottom-card">
  29. <view class="bottom-list">
  30. <view class="bottom-item1" onTap="pay">充值</view>
  31. </view>
  32. <view class="button-tips" onTap="skipXieyi">
  33. <text>充值即代表同意<text class="xieyi">《禹见你用户协议》</text>
  34. </view>
  35. </view>
  36. <!-- 自定义充值金额弹框 -->
  37. <!-- 车费余额弹框 -->
  38. <view class="frame" a:if="{{isShow==true}}" onTap="hideFrame">
  39. <view class="frame-content">
  40. <view class="frame-title">
  41. 车费余额0元,包含:
  42. </view>
  43. <view class="money-detail">
  44. <view class="detail-item">
  45. <view class="detail-nums">0</view>
  46. <view class="detail-text">个人充值金额</view>
  47. </view>
  48. <view class="detail-item">
  49. <view class="detail-nums">0</view>
  50. <view class="detail-text">平台赠送金额</view>
  51. </view>
  52. </view>
  53. </view>
  54. </view>
  55. </view>