withdraw.vue 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. <template>
  2. <view class="withdraw">
  3. <view class="header-bg"></view>
  4. <view class="block">
  5. <view class="account">
  6. <image class="image" src="../../static/alipay.png" mode=""></image>
  7. <view class="text">
  8. <navigator url="/pages/user/bind-alipay" hover-class="none">
  9. <view style="margin-bottom: 20upx;">支付宝</view>
  10. <view>还没有添加支付宝账号,请点击添加</view>
  11. </navigator>
  12. </view>
  13. <uni-icons type="arrowright" size="24" color="#CCCCCC" style="margin-left: auto;"></uni-icons>
  14. </view>
  15. <view class="withdraw-input-wrapper">
  16. <input class="input" type="text" value="" placeholder="请输入提现金额,当前可提取余额为0.00元" />
  17. </view>
  18. <view class="withdraw-button-wrapper">
  19. <button class="btn" type="default">确认提取</button>
  20. </view>
  21. </view>
  22. <view class="block remind-wrapper">
  23. <view class="title">
  24. 重要提醒
  25. </view>
  26. <view class="li">
  27. 1.当天可提现的最高金额为100元。
  28. </view>
  29. <view class="li">
  30. 2.单笔提现金额最低30元起。
  31. </view>
  32. </view>
  33. </view>
  34. </template>
  35. <script>
  36. export default {
  37. data() {
  38. return {
  39. }
  40. },
  41. methods: {
  42. }
  43. }
  44. </script>
  45. <style lang="scss" scoped>
  46. .withdraw {
  47. position: relative;
  48. overflow: hidden;
  49. }
  50. .header-bg {
  51. background: $primary-color;
  52. height: 100upx;
  53. position: absolute;
  54. top: 0;
  55. width: 100%;
  56. }
  57. .block {
  58. background: white;
  59. border-radius: 20upx;
  60. margin: 20upx;
  61. padding: 20upx;
  62. position: relative;
  63. z-index: 1;
  64. }
  65. .account {
  66. display: flex;
  67. background: #eeeeee;
  68. padding: 20upx;
  69. align-items: center;
  70. border-radius: 10upx;
  71. margin: 10upx 0;
  72. .image {
  73. width: 100upx;
  74. height: 100upx;
  75. }
  76. .text {
  77. font-size: 24upx;
  78. color: #999;
  79. margin-left: 50upx;
  80. }
  81. }
  82. .withdraw-input-wrapper {
  83. margin-top: 40upx;
  84. }
  85. .input {
  86. background: #eeeeee;
  87. padding: 20upx;
  88. font-size: 24upx;
  89. border-radius: 10upx;
  90. }
  91. .withdraw-button-wrapper {
  92. margin-top: 40upx;
  93. .btn {
  94. font-size: 32upx;
  95. background: $primary-color;
  96. color: white;
  97. }
  98. }
  99. .remind-wrapper {
  100. .title {
  101. font-size: 30upx;
  102. border-bottom: #999999 solid 2upx;
  103. width: 60%;
  104. margin: auto;
  105. text-align: center;
  106. padding: 20upx;
  107. margin-bottom: 40upx;
  108. color: #999999;
  109. }
  110. .li {
  111. font-size: 24upx;
  112. color: #999999;
  113. margin-bottom: 20upx;
  114. margin-left: 50upx;
  115. }
  116. }
  117. </style>