index.vue 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. <template>
  2. <view class="icon-box">
  3. <Nav title="资产" :left-show="false" bgckgroundBox="#146AF0" titleColor="#fff"></Nav>
  4. <view class="mui-content">
  5. <view class="ln-assets-blue">
  6. <view class="ln-assets-top">总账户资产折合(USDT)</view>
  7. <view class="ln-assets-hd">
  8. <view class="ln-assets-num">10800.11</view>
  9. <view class="ln-assets-price">&asymp;21122.1 CNY</view>
  10. </view>
  11. </view>
  12. <view class="order-list">
  13. <view class="order-item" v-for="coin in 2">
  14. <view @click="" class="order-list-hd">
  15. <view class="order-list-nm text-blue">USDT</view>
  16. <view class="order-list-state"><i class="iconfont mui-icon-arrowright">&#xe62b;</i></view>
  17. </view>
  18. <view class="order-list-con ">
  19. <view class="order-list-iteam">
  20. <view class="order-list-tit">可用(USDT)</view>
  21. <view class="order-list-num">454554.12</view>
  22. </view>
  23. <view class="order-list-iteam">
  24. <view class="order-list-tit">冻结(USDT)</view>
  25. <view class="order-list-num">4454545</view>
  26. </view>
  27. <view class="order-list-iteam order-list-iteamr">
  28. <view class="order-list-tit">折合(CNY)</view>
  29. <view class="order-list-num">2154.12</view>
  30. </view>
  31. </view>
  32. </view>
  33. </view>
  34. </view>
  35. </view>
  36. </template>
  37. <script>
  38. export default {
  39. name: "index",
  40. components: {},
  41. props: {},
  42. data() {
  43. return {}
  44. },
  45. watch: {},
  46. mounted() {
  47. },
  48. methods: {}
  49. }
  50. </script>
  51. <style scoped lang="scss">
  52. @import url("/components/static/css/en-common.css") ;
  53. .icon-box{
  54. background: #131E30;
  55. min-height: calc(100vh - 50px);
  56. .mui-icon-arrowright{
  57. color: #7388a7;
  58. }
  59. .mui-content{
  60. color: #7388a7;
  61. .ln-assets-blue{
  62. position: relative;
  63. width: 100%;
  64. padding:0 10px 10px 10px;
  65. color: rgba(255,255,255,0.6);
  66. background: #146AF0;
  67. .ln-assets-top{
  68. width: 100%;
  69. height: 16px;
  70. line-height: 16px;
  71. font-size: 12px;
  72. overflow: hidden;
  73. text-overflow: ellipsis;
  74. white-space: nowrap;
  75. color: rgba(255,255,255,0.6);
  76. }
  77. .ln-assets-hd{
  78. width: 100%;
  79. margin: 15px auto;
  80. .ln-assets-num {
  81. width: 100%;
  82. line-height: 28px;
  83. color: #FFFFFF;
  84. font-size: 24px;
  85. }
  86. .ln-assets-price {
  87. width: 100%;
  88. line-height: 20px;
  89. font-size: 12px;
  90. color: rgba(255,255,255,0.6);
  91. }
  92. }
  93. }
  94. .order-list{
  95. width: calc(100% - 20px);
  96. list-style-type: none;
  97. margin: 0;
  98. -webkit-padding-start: 0;
  99. padding: 0 10px;
  100. .order-item{
  101. width: 100%;
  102. padding: 6px 0;
  103. border-bottom: 1px solid #213141;
  104. position: relative;
  105. margin: 0;
  106. -webkit-padding-start: 0;
  107. .order-list-hd {
  108. width: 100%;
  109. height: 28px;
  110. line-height: 28px;
  111. padding: 6px 0;
  112. .order-list-nm.text-blue {
  113. font-size: 16px;
  114. color: #146AF0;
  115. }
  116. .order-list-nm {
  117. max-width: 70%;
  118. height: 28px;
  119. font-size: 16px;
  120. font-weight: 800;
  121. color: #FFFFFF;
  122. float: left;
  123. overflow: hidden;
  124. text-overflow: ellipsis;
  125. white-space: nowrap;
  126. }
  127. .order-list-state, .order-list-statewhite {
  128. width: 28%;
  129. height: 28px;
  130. line-height: 28px;
  131. text-align: right;
  132. float: right;
  133. }
  134. }
  135. .order-list-con {
  136. position: relative;
  137. width: 100%;
  138. padding: 6px 0;
  139. overflow: auto;
  140. .order-list-iteam {
  141. width: 35%;
  142. margin-right: 2%;
  143. float: left;
  144. .order-list-tit {
  145. width: 100%;
  146. height: 20px;
  147. line-height: 20px;
  148. color: #495B73;
  149. font-size: 12px;
  150. overflow: hidden;
  151. text-overflow: ellipsis;
  152. white-space: nowrap;
  153. }
  154. .order-list-num {
  155. width: 100%;
  156. height: 24px;
  157. line-height: 24px;
  158. font-size: 13px;
  159. color: #FFFFFF;
  160. overflow: hidden;
  161. text-overflow: ellipsis;
  162. white-space: nowrap;
  163. }
  164. }
  165. .order-list-iteamr {
  166. width: 26%;
  167. margin-right: 0;
  168. text-align: right;
  169. }
  170. }
  171. }
  172. }
  173. }
  174. }
  175. </style>