apply.wxml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <view class="container b-f">
  2. <!-- 头部背景图 -->
  3. <view class="dealer-bg">
  4. <image mode="widthFix" src="{{ background }}"></image>
  5. </view>
  6. <view class="widget-body b-f dis-flex flex-dir-column flex-y-center">
  7. <form bindsubmit="onFormSubmit" report-submit="true">
  8. <!-- 提现佣金 -->
  9. <view class="widget widget__capital m-top20 b-f dis-flex flex-dir-column">
  10. <view class="capital__item dis-flex flex-x-between flex-y-center">
  11. <view class="item__left">{{ words.withdraw_apply.words.capital.value }}:</view>
  12. <view class="item__right c-violet">
  13. <text class="f-24">¥</text>
  14. <text class="f-34">{{ dealer.money }}</text>
  15. </view>
  16. </view>
  17. <view class="capital__item dis-flex flex-y-center">
  18. <view class="item__left">{{ words.withdraw_apply.words.money.value }}:</view>
  19. <view class="item__right flex-box">
  20. <input name="money" placeholder="{{ words.withdraw_apply.words.money_placeholder.value }}" value="{{name}}"></input>
  21. </view>
  22. </view>
  23. </view>
  24. <!-- 最低提现金额 -->
  25. <view class="capital__lowest m-top20 f-24 col-7 t-r">
  26. {{ words.withdraw_apply.words.min_money.value }}{{ settlement.min_money }}元
  27. </view>
  28. <!-- 提现方式 -->
  29. <view class="widget widget__form m-top20 b-f dis-flex flex-dir-column">
  30. <view class="form__title f-28">提现方式</view>
  31. <view class="form__box">
  32. <block wx:for="{{ settlement.pay_type }}" wx:key="this">
  33. <block wx:if="{{ item == 10 }}">
  34. <!-- 微信支付 -->
  35. <view class="form__field dis-flex flex-y-center">
  36. <view class="form__radio dis-flex flex-y-center" catchtap="toggleChecked" data-payment="10">
  37. <text class="radio__icon {{ payment == 10 ? 'c-violet' : 'col-bb' }} iconfont icon-radio"></text>
  38. <text class="f-28">微信支付</text>
  39. </view>
  40. </view>
  41. </block>
  42. <block wx:if="{{ item == 20 }}">
  43. <!-- 支付宝 -->
  44. <view class="form__field dis-flex flex-y-center">
  45. <view class="form__radio dis-flex flex-y-center" catchtap="toggleChecked" data-payment="20">
  46. <text class="radio__icon {{ payment == 20 ? 'c-violet' : 'col-bb' }} iconfont icon-radio"></text>
  47. <text class="f-28">支付宝</text>
  48. </view>
  49. </view>
  50. <block wx:if="{{ payment == 20 }}">
  51. <view class="form__field dis-flex flex-y-center">
  52. <view class="field-input flex-box">
  53. <input name="alipay_name" placeholder="请输入姓名"></input>
  54. </view>
  55. </view>
  56. <view class="form__field dis-flex flex-y-center">
  57. <view class="field-input flex-box">
  58. <input name="alipay_account" placeholder="请输入支付宝账号"></input>
  59. </view>
  60. </view>
  61. </block>
  62. </block>
  63. <block wx:if="{{ item == 30 }}">
  64. <!-- 银行卡 -->
  65. <view class="form__field dis-flex flex-y-center">
  66. <view class="form__radio dis-flex flex-y-center" catchtap="toggleChecked" data-payment="30">
  67. <text class="radio__icon {{ payment == 30 ? 'c-violet' : 'col-bb' }} iconfont icon-radio"></text>
  68. <text class="f-28">银行卡</text>
  69. </view>
  70. </view>
  71. <block wx:if="{{ payment == 30 }}">
  72. <view class="form__field dis-flex flex-y-center">
  73. <view class="field-input flex-box">
  74. <input name="bank_name" placeholder="请输入姓名" value=""></input>
  75. </view>
  76. </view>
  77. <view class="form__field dis-flex flex-y-center">
  78. <view class="field-input flex-box">
  79. <input name="bank_account" placeholder="请输入开户行名称/地址" value=""></input>
  80. </view>
  81. </view>
  82. <view class="form__field dis-flex flex-y-center">
  83. <view class="field-input flex-box">
  84. <input name="bank_card" placeholder="请输入银行卡号" value=""></input>
  85. </view>
  86. </view>
  87. </block>
  88. </block>
  89. </block>
  90. </view>
  91. </view>
  92. <!-- 提交申请 -->
  93. <view class="form-submit dis-flex flex-x-center">
  94. <button formType="submit" disabled="{{ disabled }}">{{ words.withdraw_apply.words.submit.value }}</button>
  95. </view>
  96. </form>
  97. </view>
  98. </view>