MyOrder.vue 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. <template>
  2. <!-- 我的订单 -->
  3. <HeaderNav headerText="我的订单"></HeaderNav>
  4. <div class="my-order">
  5. <div class="coin-item" v-for="(item, index) in 2" :key="index">
  6. <div class="item-name">
  7. <div class="item-info">
  8. <div class="info-top pf500 fs14 fc1F2937">
  9. <div>算力套餐名称</div>
  10. <div>0.0176/T/天</div>
  11. </div>
  12. <div class="info-bottom">
  13. <div class="name pf500 fs10 fc121212">
  14. <img src="@/assets/icon/coin/bnb.svg" alt="" />
  15. BTC
  16. </div>
  17. <div class="start-time pf500 fs10 fc999999">
  18. <img src="@/assets/icon/index/time.svg" class="time" alt="" />
  19. 开始挖矿 24小时内
  20. </div>
  21. </div>
  22. </div>
  23. </div>
  24. <div class="item-line"></div>
  25. <div class="item-use pf500 fs12 margin-top10">
  26. <div class="fcA8A8A8">套餐天数</div>
  27. <div class="fcDF384C">15 天</div>
  28. </div>
  29. <div class="item-use pf500 fs12 margin-top4">
  30. <div class="fcA8A8A8">预估每日收益</div>
  31. <div class="fc767676">0.015/T天</div>
  32. </div>
  33. <div class="item-use pf500 fs12 margin-top4">
  34. <div class="fcA8A8A8">预估每日成本</div>
  35. <div class="fc767676">0.00215/T天</div>
  36. </div>
  37. <div class="item-use pf500 fs12 margin-top4">
  38. <div class="fcA8A8A8">预期收益率</div>
  39. <div class="fc767676">152.16%</div>
  40. </div>
  41. <div class="conduct-btn pf600 fs14 fcFFFFFF">进行中</div>
  42. </div>
  43. </div>
  44. </template>
  45. <script setup>
  46. import HeaderNav from "../components/HeaderNav.vue";
  47. import { useRoute, useRouter } from "vue-router";
  48. const router = useRouter();
  49. </script>
  50. <style lang="less" scoped>
  51. .my-order {
  52. display: flex;
  53. flex-direction: column;
  54. justify-content: flex-start;
  55. align-items: center;
  56. margin-top: 48px;
  57. width: 100%;
  58. .coin-item {
  59. padding-left: 19px;
  60. padding-right: 11px;
  61. margin-top: 10px;
  62. width: 345px;
  63. height: 209px;
  64. border-radius: 8px;
  65. border: 1px solid #ebebeb;
  66. box-sizing: border-box;
  67. .item-name {
  68. display: flex;
  69. flex-direction: row;
  70. justify-content: space-between;
  71. margin-top: 11px;
  72. width: 100%;
  73. height: 34px;
  74. img {
  75. width: 15px;
  76. height: 15px;
  77. }
  78. .item-info {
  79. width: calc(345px);
  80. height: 34px;
  81. .info-top {
  82. display: flex;
  83. flex-direction: row;
  84. justify-content: space-between;
  85. align-items: center;
  86. width: 100%;
  87. height: 20px;
  88. }
  89. .info-bottom {
  90. display: flex;
  91. flex-direction: row;
  92. justify-content: space-between;
  93. align-items: center;
  94. margin-top: 2px;
  95. width: 100%;
  96. height: 15px;
  97. .name {
  98. display: flex;
  99. flex-direction: row;
  100. justify-content: flex-start;
  101. align-items: center;
  102. img {
  103. margin-right: 3px;
  104. }
  105. }
  106. .start-time {
  107. display: flex;
  108. flex-direction: row;
  109. justify-content: flex-start;
  110. align-items: center;
  111. }
  112. .time {
  113. margin-right: 2px;
  114. width: 12px;
  115. height: 12px;
  116. }
  117. }
  118. }
  119. }
  120. .item-line {
  121. margin-top: 10px;
  122. width: 100%;
  123. height: 1px;
  124. background: #e9e9e9;
  125. }
  126. .margin-top10 {
  127. margin-top: 10px;
  128. }
  129. .margin-top4 {
  130. margin-top: 4px;
  131. }
  132. .item-use {
  133. display: flex;
  134. flex-direction: row;
  135. justify-content: space-between;
  136. align-items: center;
  137. width: 100%;
  138. height: 18px;
  139. }
  140. .conduct-btn {
  141. margin-top: 8px;
  142. width: 311px;
  143. height: 40px;
  144. line-height: 40px;
  145. text-align: center;
  146. border-radius: 100px;
  147. background: #df384c;
  148. letter-spacing: 0.2px;
  149. }
  150. }
  151. }
  152. </style>