index.wxml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <nav type="back" background-color="{{activeColor ? activeColor : '#ffffff'}}" frontColor="{{titleColor ? titleColor : '#000000'}}" title="申请提现"></nav>
  2. <view class="earnings">¥{{earnings ? earnings:'0'}}</view>
  3. <view class="apply">
  4. <view class="title">提现金额</view>
  5. <view class="string">
  6. <input bindblur="blur" type="text" data-name="price" type="number" value="{{price}}"class="input" placeholder="请输入提现金额"></input>
  7. </view>
  8. </view>
  9. <view class="apply">
  10. <view wx:if="{{times && minCount }}" class="way">提现说明:每月可提现{{times}}次, 每次最少提现 {{minCount}}</view>
  11. <view class="way">提现方式</view>
  12. <view class='box'>
  13. <view class='box-container' wx:for="{{list}}" wx:key="list">
  14. <view class="{{index==idx?'_left':'left'}}" bindtap='goIndex' data-index="{{index}}" data-item="{{item}}">
  15. <view>
  16. <van-icon name="cash-back-record" />
  17. {{item.num}}
  18. </view>
  19. <view class="choose">
  20. <van-icon name="success" color="#ffffff" size="50rpx" />
  21. </view>
  22. </view>
  23. </view>
  24. <block wx:if="{{name=='提现到银行卡'}}">
  25. <view class="bank_list">
  26. <block wx:for="{{bankList}}" wx:key="index">
  27. <view class="bank {{bank_index == index ? 'active_bank' : ''}}" data-index="{{index}}" data-item="{{item}}" bind:tap="onChangBank">
  28. <view class="label">持卡人姓名: {{item.name}}</view>
  29. <view class="label">开户银行: {{item.bankName}}</view>
  30. <view class="label">银行卡号: {{item.cardId}}</view>
  31. </view>
  32. </block>
  33. </view>
  34. <view class="add_bank" bind:tap="bindBank">
  35. 添加银行卡
  36. </view>
  37. <!-- <view class="bank">
  38. <view class="name">所属银行:</view>
  39. <input bindblur="blur" type="text" data-name="bankName" value="{{bankName}}" placeholder="请输入所属银行"></input>
  40. </view>
  41. <view class="bank">
  42. <view class="name">姓名:</view>
  43. <input bindblur="blur" type="text" data-name="names" value="{{names}}" placeholder="请输入姓名"></input>
  44. </view>
  45. <view class="bank">
  46. <view class="name">卡号:</view>
  47. <input bindblur="blur" type="text" data-name="accountId" value="{{accountId}}" placeholder="请输入卡号"></input>
  48. </view> -->
  49. </block>
  50. </view>
  51. </view>
  52. <view class="withdrawal" bindtap="getUserAgentWithdraw">提现</view>