index.less 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  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. margin-top: 5px;
  61. color: #333;
  62. font-size: 22rpx;
  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. van-grid-item {
  88. .van-grid-item__content {
  89. padding: 16px 0px;
  90. }
  91. }
  92. .memberinfo {
  93. display: flex;
  94. flex-direction: column;
  95. &__top {
  96. display: flex;
  97. flex-direction: row;
  98. width: 100%;
  99. height: 44px;
  100. justify-content: space-between;
  101. align-items: center;
  102. border-bottom: 1px solid #f0f0f0;
  103. .title {
  104. margin-left: 10px;
  105. color: #000;
  106. font-size: 14px;
  107. text-align: center;
  108. border-left: 5px solid #407DB8;
  109. width: 80px;
  110. }
  111. .more {
  112. color: #4C4C4E;
  113. font-size: 12px;
  114. margin-right: 10px;
  115. }
  116. }
  117. &__list {
  118. display: flex;
  119. flex-direction: column;
  120. width: 100%;
  121. align-content: center;
  122. align-items: center;
  123. &__item {
  124. display: flex;
  125. flex-direction: row;
  126. align-content: center;
  127. align-items: center;
  128. justify-content: space-around;
  129. width: 96%;
  130. border-bottom: 1px solid #f0f0f0;
  131. padding: 5px 0px;
  132. &__right {
  133. display: flex;
  134. flex-direction: column;
  135. width: 100%;
  136. align-content: center;
  137. align-items: center;
  138. margin-left: 10px;
  139. height: 100%;
  140. &__top, &__btm {
  141. height: 35px;
  142. }
  143. &__top, &__mid {
  144. display: flex;
  145. flex-direction: row;
  146. justify-content: start;
  147. align-items: center;
  148. width: 100%;
  149. .goodsname, .username {
  150. color: #000000;
  151. font-size: 15px;
  152. margin-right: 10px;
  153. font-weight: bold;
  154. }
  155. .tag {
  156. background-color: #407DB8;
  157. padding: 2.5px 10px;
  158. border-radius: 10px;
  159. color: #fff;
  160. font-size: 11px;
  161. margin-right: 5px;
  162. }
  163. }
  164. &__mid {
  165. height: 100%;
  166. }
  167. &__btm {
  168. display: flex;
  169. flex-direction: row;
  170. justify-content: space-between;
  171. align-items: center;
  172. width: 100%;
  173. .mobile, .wechat {
  174. font-size: 13px;
  175. color: #000;
  176. }
  177. }
  178. }
  179. }
  180. }
  181. }