index.wxml 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <view class="topView">
  2. <!-- 导航栏 -->
  3. <van-nav-bar custom-style="background-color: #407DB8">
  4. <van-icon slot="left" name="arrow-left" size="25px" color="#fff" bind:click="backToParent"/>
  5. <text slot="title" style="color: #fff;">充值提现</text>
  6. </van-nav-bar>
  7. <!-- tabs -->
  8. <view class="tab-view">
  9. <van-tabs active="{{ active }}" swipeable bind:change="onTabChange" color="#2270D9" line-width="20px" title-inactive-color="#333" title-active-color="#407DB8">
  10. <van-tab wx:for="{{ tabs }}" wx:for-item="itm" wx:key="id" id="{{ itm.id }}" title="{{ itm.name }}"/>
  11. </van-tabs>
  12. </view>
  13. </view>
  14. <!-- 内容视图 -->
  15. <view class="container">
  16. <!-- 入金视图 -->
  17. <view class="into-gold-view" wx:if="{{ false }}">
  18. <!-- 充值金额 -->
  19. <view class="item amount">
  20. <text class="title">充值金额</text>
  21. <van-field id="into-amount-field" model:value="{{ inamount }}" clearable type="digit" adjust-position placeholder="请输入充值金额" />
  22. </view>
  23. <!-- 凭证 -->
  24. <view class="item credentials">
  25. <text class="title">凭证</text>
  26. <view class="credentials-top-view">
  27. <text class="value">请上传银行充值流水截图</text>
  28. <!-- 凭证图片 -->
  29. <view class="upload"><van-uploader max-count="1" deletable="{{ true }}" file-list="{{ fileList }}" bind:after-read="afterRead" bind:delete="deleteImage" /></view>
  30. </view>
  31. </view>
  32. </view>
  33. <view class="into-gold-view" wx:if="{{ active == 0 }}" style="width: 96%; height: 180px; justify-content: center; font-size: 20px; color: #333;"> 请前往浦发银行网银端进行入金操作。 </view>
  34. <!-- 出金视图 -->
  35. <view class="out-gold-view" wx:if="{{ active == 1 }}">
  36. <!-- 提现金额 -->
  37. <view class="item out-amount" id="item-out-amount">
  38. <text class="title">提现金额</text>
  39. <view class="out-amount-view">
  40. <van-field id="out-amount-field" model:value="{{ outamount }}" clearable type="digit" adjust-position placeholder="请输入提现金额" />
  41. <view class="enable-out-amount-view">
  42. <text class="enable-out-amount">可提现金额:{{enableOutAmount}}</text>
  43. <van-button id="allamount" color="#F7A657" round type="mini" bind:click="onButtonPressed">全部</van-button>
  44. </view>
  45. </view>
  46. </view>
  47. <!-- 开户银行 -->
  48. <view class="item bankName">
  49. <text class="title">开户银行</text>
  50. <text class="value">{{ sign.bankname }}</text>
  51. </view>
  52. <!-- 银行卡号 -->
  53. <view class="item banNo">
  54. <text class="title">银行卡号</text>
  55. <text class="value">{{ sign.bankaccountno }}</text>
  56. </view>
  57. <!-- 姓名 -->
  58. <view class="item accountName">
  59. <text class="title">姓名</text>
  60. <text class="value">{{ sign.bankaccountname }}</text>
  61. </view>
  62. <!-- 支行名称 -->
  63. <!-- <view class="item branchBankName">
  64. <text class="title">支行名称</text>
  65. <text class="value">{{ sign.branchbankname }}</text>
  66. </view> -->
  67. </view>
  68. <!-- 提现时间 -->
  69. <view class="inout-time-view" wx:if="{{ active == 1 }}"><text class="inout-time">提现时间:{{ time }}</text></view>
  70. <!-- 按钮 -->
  71. <view class="button-view" wx:if="{{ active == 1 }}">
  72. <van-button custom-class="submit" id="submit" round color="linear-gradient(to right, #4bb0ff, #6149f6)" block bind:click="onButtonPressed">确定</van-button>
  73. </view>
  74. </view>
  75. <!-- toast -->
  76. <van-toast id="van-toast" />