index.less 3.7 KB

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