test.vue 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. <template>
  2. <view class="margin-30">
  3. <view class="bank">
  4. <view class="left center">
  5. <image src="@/static/bank/BOC.png" mode=""></image>
  6. <view class="content">
  7. <text>中国银行</text>
  8. <text>尾号8888储蓄卡</text>
  9. </view>
  10. </view>
  11. <view class="center">
  12. <text class="cuIcon-right" style="font-size: 36rpx;color: #888888;"></text>
  13. </view>
  14. </view>
  15. <view class="card">
  16. <text class="title">提现金额</text>
  17. <view class="input">
  18. <text class="text-price center text-bold" style="font-size: 60rpx;"></text>
  19. <view class="margin-left-20" style="width: 60%;">
  20. <u-input placeholder="请输入提现金额" ></u-input>
  21. </view>
  22. <view class="center margin-bottom-10 margin-left-20">
  23. <view class="cu-btn withdraw-btn sm round center" >
  24. <text>全部提现</text>
  25. </view>
  26. </view>
  27. </view>
  28. <view class="canWithdraw">
  29. 可提现金额
  30. <text class="text-price margin-left-20" style="font-size: 34rpx;">18.00</text>
  31. </view>
  32. <view class="rate">
  33. <view class="item">
  34. <text>服务费</text>
  35. <text class="text-price">0.10</text>
  36. </view>
  37. <view class="item">
  38. <view class="">
  39. <text>费率</text>
  40. <text @click="rateShow=true" class="cuIcon-question margin-left-10 text-lg"></text>
  41. </view>
  42. <text class="">0.05%</text>
  43. </view>
  44. </view>
  45. </view>
  46. <block>
  47. <view class="footer-fixed center" style="bottom: 15%;z-index: 9;">
  48. <view @click="pass" class="cu-btn df btn-bg-color radius " style="width: 86%;height: 86rpx;">
  49. <text>确认提现</text>
  50. </view>
  51. </view>
  52. </block>
  53. <u-popup v-model="rateShow" :mask-close-able="false" mode="center" height="40%" width="76%" borderRadius="20" negative-top="100">
  54. <view class="popup-content" style="height: 98%;">
  55. <view class="">
  56. <text class="popup-title">费率说明</text>
  57. <view class="popup-desc">
  58. <text>累计营收0-1000元,费率为0.5%;</text>
  59. <text>1001-10000元,费率为0.38%;</text>
  60. <text>10000-100000元,费率0.3%;</text>
  61. <text>100000元起申请更低费率。</text>
  62. </view>
  63. </view>
  64. <view class="center">
  65. <view class="cu-btn btn-bg-color round" style="height: 80rpx;font-size: 30rpx;width: 80%;" @click="rateShow=false">
  66. 确认
  67. </view>
  68. </view>
  69. </view>
  70. </u-popup>
  71. </view>
  72. </template>
  73. <script>
  74. export default {
  75. name: '',
  76. data() {
  77. return {
  78. rateShow:true
  79. };
  80. },
  81. onLoad() {
  82. },
  83. methods:{
  84. }
  85. };
  86. </script>
  87. <style lang="scss" scoped>
  88. .bank{
  89. border-radius: 20rpx;
  90. background-color: #FFFFFF;
  91. padding: 40rpx;
  92. display: flex;
  93. justify-content: space-between;
  94. .left{
  95. display: flex;
  96. image{
  97. width: 80rpx;
  98. height: 80rpx;
  99. margin-right: 20rpx;
  100. }
  101. .content{
  102. display: flex;
  103. flex-direction: column;
  104. text:first-child{
  105. color: #252525;
  106. font-weight: 800;
  107. font-size: 34rpx;
  108. }
  109. text:last-child{
  110. margin-top: 10rpx;
  111. color: #888888;
  112. font-size: 26rpx;
  113. }
  114. }
  115. }
  116. }
  117. .card{
  118. border-radius: 20rpx;
  119. margin-top: 30rpx;
  120. padding: 40rpx;
  121. background-color: #FFFFFF;
  122. display: flex;
  123. flex-direction: column;
  124. .title{
  125. font-size: 36rpx;
  126. font-weight: 800;
  127. margin-bottom: 30rpx;
  128. }
  129. .input{
  130. display: flex;
  131. border-bottom: 1rpx solid #DFDFDF;
  132. .withdraw-btn{
  133. background-color: #FFFFFF;
  134. color: #EE9230;
  135. border: 1rpx solid #EE9230;
  136. height: 54rpx;width: 180rpx;font-size: 28rpx;line-height: 54rpx;
  137. }
  138. }
  139. .canWithdraw{
  140. margin-top: 24rpx;
  141. color: #252525;
  142. }
  143. .rate{
  144. margin-top: 40rpx;
  145. .item{
  146. margin-bottom: 20rpx;
  147. display: flex;
  148. justify-content: space-between;
  149. text:first-child{
  150. color: #252525;
  151. }
  152. text:last-child{
  153. color: #999999;
  154. }
  155. }
  156. }
  157. }
  158. .submit-btn{
  159. background-color: #EE9230;
  160. color: #FFFFFF;
  161. border-radius: 10rpx;
  162. }
  163. .popup-content{
  164. height: 100%;
  165. padding: 50rpx 60rpx;
  166. display: flex;
  167. flex-direction: column;
  168. justify-content: space-between;
  169. .popup-title{
  170. font-size: 38rpx;
  171. font-weight: 800;
  172. }
  173. .popup-desc{
  174. margin-top: 50rpx;
  175. color: #666666;
  176. display: flex;
  177. flex-direction: column;
  178. text{
  179. line-height: 40rpx;
  180. margin-bottom: 10rpx;
  181. }
  182. }
  183. }
  184. </style>