payment.wxml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <!--pages/payment/payment.wxml-->
  2. <view class="container payment">
  3. <view class="card">
  4. <view class="box">
  5. <!-- <view class="item">
  6. <picker bindchange="bindPickerChange" value="{{index}}" range="{{array}}">
  7. <view class="picker">
  8. <text class="label">账单1</text>
  9. <image class="icon-up" src="/static/img/icon_up.png"></image>
  10. </view>
  11. </picker>
  12. </view> -->
  13. <view class="item">
  14. <text class="label">欠费金额</text>
  15. <text>{{debtInfo.totalDebt}}元</text>
  16. </view>
  17. <view class="item">
  18. <text class="label">预存金额</text>
  19. <text>{{debtInfo.remaining}}元</text>
  20. </view>
  21. <!-- <view class="item">
  22. <text class="label">预存水量</text>
  23. <text>{{debtInfo.volume}}吨</text>
  24. </view> -->
  25. <view class="item">
  26. <text class="label">缴费单位</text>
  27. <text>{{debtInfo.uintName}}</text>
  28. </view>
  29. <view class="item">
  30. <text class="label">缴费户名</text>
  31. <text>{{debtInfo.accountName}}</text>
  32. </view>
  33. <view class="item">
  34. <text class="label">缴费户号</text>
  35. <text>{{debtInfo.accountNumber}}</text>
  36. </view>
  37. <view class="item">
  38. <text class="label">客户地址</text>
  39. <text>{{debtInfo.address}}</text>
  40. </view>
  41. </view>
  42. <image class="bg" src="/static/img/bg-payment-card.png"></image>
  43. </view>
  44. <view class="volume">
  45. <view class="box">
  46. <view class="title line">购水量</view>
  47. <view class="input">
  48. <image class="shuidi" src="/static/img/icon_shuidi.png"></image>
  49. <input type="number" maxlength="3" value="{{volume}}" bindinput="setAmount" placeholder="{{amountTip}}"
  50. placeholder-style="font-size:30rpx;color:rgba(66, 70, 86, 0.4)" />
  51. <text class="unit">吨</text>
  52. </view>
  53. <view class="tags">
  54. <button wx:for="{{volumeTags}}" class="tag {{item == volume ? 'active' : ''}}" wx:key="index"
  55. type="default" size="mini" plain="{{true}}" data-value="{{item}}" bindtap="setAmount">{{item}}</button>
  56. </view>
  57. </view>
  58. <view class="box payable">
  59. <view class="title">
  60. <span class="h">应缴金额</span>
  61. <span class="amount">{{amount}}</span>
  62. <span class="unit">元</span>
  63. <span class="arrears-tip" wx:if="{{debtInfo.totalDebt > 0}}">(含欠费金额)</span>
  64. </view>
  65. </view>
  66. </view>
  67. <button class="btn-big" bindtap="submit">立即缴费</button>
  68. <view class="tips">
  69. <text>温馨提示:1. 存在欠费情况,购水需要将欠费缴清。2. 购水仅支持整数吨</text>
  70. </view>
  71. <view class="nav">
  72. <text data-url="history" bindtap="toOtherPage">历史账单</text>
  73. <text class="line">|</text>
  74. <text data-url="record" bindtap="toOtherPage">缴费记录</text>
  75. </view>
  76. </view>