WithdrawIndex.vue 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. <template>
  2. <!-- 提现 -->
  3. <div class="loan-header">
  4. <div class="header-content pf600 fs16 fc1F2937">
  5. <img
  6. class="left-arrow-image"
  7. src="../../../assets/icon/index/left-arrow.svg"
  8. @click="toPath()" />
  9. 提现
  10. <div class="save pf600 fs14 fcA8A8A8">
  11. <img src="../../../assets/icon/index/history.svg" alt="" />历史
  12. </div>
  13. </div>
  14. </div>
  15. <div class="withdraw-index">
  16. <div class="card-type">
  17. <div class="card-text pf500 fs14 fc333333">请选择货币类型</div>
  18. <div class="type-select pf400 fs14 fc333333">
  19. USDT
  20. <img src="../../../assets/icon/market/bottom-arrow.svg" alt="" />
  21. </div>
  22. </div>
  23. <div class="card-type">
  24. <div class="card-text pf500 fs14 fc333333">请选择主网络</div>
  25. <div class="type-select pf400 fs14 fc333333">
  26. ERC 20
  27. <img src="../../../assets/icon/market/bottom-arrow.svg" alt="" />
  28. </div>
  29. </div>
  30. <div class="card-number">
  31. <div class="card-text pf500 fs14 fc333333">请输入提现地址</div>
  32. <div class="number-input">
  33. <input type="text" class="input pf400 fs14 fc333333" placeholder="请输入" />
  34. </div>
  35. </div>
  36. <div class="card-number">
  37. <div class="card-text pf500 fs14 fc333333">提现金额</div>
  38. <div class="number-input">
  39. <input
  40. type="text"
  41. class="input pf400 fs14 fc333333"
  42. placeholder="请输入提现金额" />
  43. <div class="all pf500 fs14 fc333333">USDT <span class="fcDF384C">全部</span></div>
  44. </div>
  45. </div>
  46. <div class="use-money pf500 fs12 fc333333">可用 215.0508 USDT</div>
  47. <div class="submit pf600 fs14 fcFFFFFF">立即提现</div>
  48. <div class="gas-fee pf500 fs14 fc333333">提现手续费: 3%</div>
  49. </div>
  50. </template>
  51. <script setup>
  52. import { useRoute, useRouter } from "vue-router";
  53. const router = useRouter();
  54. const toPath = () => {
  55. router.back();
  56. };
  57. </script>
  58. <style lang="less" scoped>
  59. .loan-header {
  60. position: fixed;
  61. left: 0;
  62. top: 0;
  63. z-index: 1;
  64. width: 100%;
  65. height: 48px;
  66. background: #ffffff;
  67. overflow: hidden;
  68. .header-content {
  69. display: flex;
  70. flex-direction: row;
  71. justify-content: center;
  72. align-items: center;
  73. position: relative;
  74. width: 100%;
  75. height: 48px;
  76. .left-arrow-image {
  77. position: absolute;
  78. left: 14px;
  79. top: 16px;
  80. width: 9px;
  81. height: 16px;
  82. }
  83. .save {
  84. display: flex;
  85. flex-direction: row;
  86. justify-content: flex-start;
  87. align-items: center;
  88. position: absolute;
  89. top: 12.3px;
  90. right: 16px;
  91. height: 24px;
  92. img {
  93. margin-right: 4px;
  94. }
  95. }
  96. }
  97. }
  98. .withdraw-index {
  99. display: flex;
  100. flex-direction: column;
  101. justify-content: flex-start;
  102. align-items: center;
  103. margin-top: 48px;
  104. width: 100%;
  105. .card-type {
  106. margin-top: 10px;
  107. width: 345px;
  108. .type-select {
  109. display: flex;
  110. flex-direction: row;
  111. justify-content: space-between;
  112. align-items: center;
  113. margin-top: 5px;
  114. padding: 0 11px;
  115. width: 345px;
  116. height: 45px;
  117. border-radius: 6px;
  118. background: #f5f5f5;
  119. box-sizing: border-box;
  120. img {
  121. width: 12px;
  122. height: 8px;
  123. }
  124. }
  125. }
  126. .card-number {
  127. margin-top: 10px;
  128. width: 345px;
  129. .number-input {
  130. position: relative;
  131. margin-top: 5px;
  132. width: 345px;
  133. height: 45px;
  134. .input {
  135. padding-left: 11px;
  136. width: 100%;
  137. height: 100%;
  138. box-sizing: border-box;
  139. border-radius: 6px;
  140. border: none;
  141. outline: none;
  142. background: #f5f5f5;
  143. }
  144. .all {
  145. position: absolute;
  146. top: 13px;
  147. right: 11px;
  148. }
  149. }
  150. }
  151. .use-money {
  152. margin-top: 7px;
  153. width: 345px;
  154. height: 18px;
  155. line-height: 18px;
  156. }
  157. .submit {
  158. margin-top: 214px;
  159. width: 311px;
  160. height: 40px;
  161. line-height: 40px;
  162. text-align: center;
  163. border-radius: 100px;
  164. background: #df384c;
  165. letter-spacing: 0.2px;
  166. }
  167. .gas-fee {
  168. margin-top: 15px;
  169. height: 18px;
  170. line-height: 18px;
  171. }
  172. }
  173. </style>