WithdrawHistory.vue 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  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/CalendarDots.svg" alt="" />
  12. </div>
  13. </div>
  14. </div>
  15. <div class="withdraw-history">
  16. <div class="flow-item" v-for="(item, index) in 2" :key="index">
  17. <div class="item-name">
  18. <div class="name-left pf500 fs16 fc1F2937">
  19. <img src="@/assets/icon/coin/bnb.svg" alt="" />BTC/USDT
  20. </div>
  21. <div class="name-right pf500 fs12 fc45B26B">成功</div>
  22. </div>
  23. <div class="item-first">
  24. <div class="pf500 fs14 fc666666">主网络</div>
  25. <div class="pf500 fs12 fc666666">ERC 20</div>
  26. </div>
  27. <div class="item-first">
  28. <div class="pf500 fs14 fc666666">提币金额</div>
  29. <div class="pf500 fs12 fc666666">1000.05 USDT</div>
  30. </div>
  31. <div class="item-first">
  32. <div class="pf500 fs14 fc666666">提币地址</div>
  33. <div class="pf500 fs12 fc666666">s2gf5s8fs05fsd85gsd200s...gs50vsvs</div>
  34. </div>
  35. <div class="item-first">
  36. <div class="pf500 fs14 fc666666">提币时间</div>
  37. <div class="pf500 fs12 fc666666">2025-11-07 12:25:12</div>
  38. </div>
  39. </div>
  40. </div>
  41. </template>
  42. <script setup>
  43. import { useRoute, useRouter } from "vue-router";
  44. const router = useRouter();
  45. const toPath = () => {
  46. router.back();
  47. };
  48. </script>
  49. <style lang="less" scoped>
  50. .loan-header {
  51. position: fixed;
  52. left: 0;
  53. top: 0;
  54. z-index: 1;
  55. width: 100%;
  56. height: 48px;
  57. background: #ffffff;
  58. overflow: hidden;
  59. .header-content {
  60. display: flex;
  61. flex-direction: row;
  62. justify-content: center;
  63. align-items: center;
  64. position: relative;
  65. width: 100%;
  66. height: 48px;
  67. .left-arrow-image {
  68. position: absolute;
  69. left: 14px;
  70. top: 16px;
  71. width: 9px;
  72. height: 16px;
  73. }
  74. .save {
  75. display: flex;
  76. flex-direction: row;
  77. justify-content: flex-start;
  78. align-items: center;
  79. position: absolute;
  80. top: 12.3px;
  81. right: 16px;
  82. height: 24px;
  83. img {
  84. margin-right: 4px;
  85. }
  86. }
  87. }
  88. }
  89. .withdraw-history {
  90. display: flex;
  91. flex-direction: column;
  92. justify-content: flex-start;
  93. align-items: center;
  94. margin-top: 48px;
  95. .flow-item {
  96. display: flex;
  97. flex-direction: column;
  98. justify-content: flex-start;
  99. align-items: center;
  100. margin-top: 10px;
  101. width: 345px;
  102. height: 170px;
  103. border-radius: 8px;
  104. border: 1px solid #ebebeb;
  105. .item-name {
  106. display: flex;
  107. flex-direction: row;
  108. justify-content: space-between;
  109. margin-top: 15px;
  110. width: 320px;
  111. height: 24px;
  112. .name-left {
  113. display: flex;
  114. flex-direction: row;
  115. justify-content: space-between;
  116. align-items: center;
  117. height: 24px;
  118. img {
  119. margin-right: 4px;
  120. width: 24px;
  121. height: 24px;
  122. }
  123. }
  124. .name-right {
  125. width: 58px;
  126. height: 24px;
  127. line-height: 24px;
  128. border-radius: 5px;
  129. background: #45b26b1a;
  130. text-align: center;
  131. }
  132. }
  133. .item-first {
  134. display: flex;
  135. flex-direction: row;
  136. justify-content: space-between;
  137. align-items: center;
  138. margin-top: 10px;
  139. width: 320px;
  140. height: 20px;
  141. }
  142. }
  143. }
  144. </style>