index.less 3.7 KB

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