index.less 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. /* pages/home/index.less */
  2. .top-view {
  3. position: sticky;
  4. top: 0px;
  5. z-index: 999;
  6. }
  7. .banner-bg {
  8. display: flex;
  9. flex-direction: column;
  10. align-content: center;
  11. align-items: center;
  12. &__top {
  13. display: flex;
  14. flex-direction: row;
  15. align-items: center;
  16. justify-content: space-between;
  17. align-content: center;
  18. width: 95%;
  19. }
  20. .banner {
  21. height: 210px;
  22. width: 92%;
  23. .swiper-item {
  24. image {
  25. width: 100%;
  26. border-radius: 10px;
  27. }
  28. width: 100%;
  29. }
  30. }
  31. }
  32. .statistics {
  33. display: flex;
  34. flex-direction: column;
  35. justify-content: space-between;
  36. margin: 10px 15px;
  37. padding-top: 15px;
  38. background-color: #fff;
  39. border-radius: 10px;
  40. &__top {
  41. display: flex;
  42. flex-direction: row;
  43. justify-content: space-between;
  44. align-content: center;
  45. align-items: center;
  46. border-radius: 0px 0px 10px 10px;
  47. .statistics-item {
  48. display: flex;
  49. flex-direction: column;
  50. justify-content: center;
  51. width: 100%;
  52. text:nth-child(1) {
  53. color: #333;
  54. font-size: 30rpx;
  55. font-weight: bold;
  56. text-align: center;
  57. padding-right: 10px;
  58. }
  59. text:nth-child(2) {
  60. color: #333;
  61. font-size: 24rpx;
  62. text-align: center;
  63. padding-right: 10px;
  64. }
  65. }
  66. }
  67. &__rate {
  68. background-color: #9DBAD6;
  69. display: flex;
  70. flex-direction: row;
  71. align-content: center;
  72. align-items: center;
  73. margin-top: 10px;
  74. border-radius: 0px 0px 10px 10px;
  75. .exchangerate {
  76. color: #fff;
  77. font-size: 13px;
  78. height: 25px;
  79. width: 100%;
  80. text-align: center;
  81. padding-top: 5px;
  82. border-radius: 10px 0px 10px 0px ;
  83. }
  84. }
  85. }
  86. .memberinfo {
  87. display: flex;
  88. flex-direction: column;
  89. &__top {
  90. display: flex;
  91. flex-direction: row;
  92. width: 100%;
  93. height: 44px;
  94. justify-content: space-between;
  95. align-items: center;
  96. border-bottom: 1px solid #f0f0f0;
  97. .title {
  98. margin-left: 10px;
  99. color: #000;
  100. font-size: 14px;
  101. text-align: center;
  102. border-left: 5px solid #407DB8;
  103. width: 80px;
  104. }
  105. .more {
  106. color: #4C4C4E;
  107. font-size: 12px;
  108. margin-right: 10px;
  109. }
  110. }
  111. &__list {
  112. display: flex;
  113. flex-direction: column;
  114. width: 100%;
  115. align-content: center;
  116. align-items: center;
  117. &__item {
  118. display: flex;
  119. flex-direction: row;
  120. align-content: center;
  121. align-items: center;
  122. justify-content: space-around;
  123. width: 95%;
  124. border-bottom: 1px solid #f0f0f0;
  125. padding: 10px 0px;
  126. &__right {
  127. display: flex;
  128. flex-direction: column;
  129. width: 100%;
  130. align-content: center;
  131. align-items: center;
  132. margin-left: 10px;
  133. height: 100%;
  134. &__top, &__btm {
  135. height: 35px;
  136. }
  137. &__top, &__mid {
  138. display: flex;
  139. flex-direction: row;
  140. justify-content: start;
  141. align-items: center;
  142. width: 100%;
  143. .goodsname, .username {
  144. color: #000000;
  145. font-size: 15px;
  146. margin-right: 10px;
  147. font-weight: bold;
  148. }
  149. .tag {
  150. background-color: #407DB8;
  151. padding: 2.5px 10px;
  152. border-radius: 10px;
  153. color: #fff;
  154. font-size: 11px;
  155. margin-right: 5px;
  156. }
  157. }
  158. &__mid {
  159. height: 100%;
  160. }
  161. &__btm {
  162. display: flex;
  163. flex-direction: row;
  164. justify-content: space-between;
  165. align-items: center;
  166. width: 100%;
  167. .mobile, .wechat {
  168. font-size: 13px;
  169. color: #000;
  170. }
  171. }
  172. }
  173. }
  174. }
  175. }