home.wxss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. .home-wrapper {
  2. padding-top: 20rpx;
  3. background: #FFF;
  4. }
  5. .leaving-a-message {
  6. position: relative;
  7. left: 0;
  8. top: 0;
  9. }
  10. .leaving-a-message image {
  11. display: block;
  12. width: 36rpx;
  13. height: 48rpx;
  14. }
  15. .leaving-a-message view {
  16. position: absolute;
  17. top: -12rpx;
  18. right: -12rpx;
  19. z-index: 1;
  20. min-width: 36rpx;
  21. min-height: 36rpx;
  22. border-radius: 18rpx;
  23. background: #FA5151;
  24. font-size: 24rpx;
  25. font-weight: 500;
  26. color: #FFF;
  27. line-height: 36rpx;
  28. text-align: center;
  29. }
  30. .page-section {
  31. width: 100%;
  32. margin: 22rpx auto 10rpx;
  33. }
  34. .page-section swiper {
  35. height: 270rpx;
  36. }
  37. .page-section .swiper-item {
  38. width: 690rpx;
  39. height: 100%;
  40. margin: 0 auto;
  41. border-radius: 20rpx;
  42. overflow: hidden;
  43. }
  44. .page-section .swiper-item image {
  45. display: block;
  46. width: 100%;
  47. height: 100%;
  48. }
  49. .page-section .wx-swiper-dot {
  50. width: 34px !important;
  51. height: 6px !important;
  52. border-radius: 0 !important;
  53. }
  54. .news-section {
  55. display: flex;
  56. align-items: center;
  57. width: 690rpx;
  58. padding: 0 16rpx;
  59. height: 50rpx;
  60. margin: 0 auto;
  61. border-radius: 20rpx;
  62. background: linear-gradient(90deg, rgba(255, 202, 138, 1) 0%, rgba(135, 222, 216, 1) 100%);
  63. }
  64. .news-section image {
  65. width: 140rpx;
  66. height: 42rpx;
  67. margin-bottom: 5rpx;
  68. }
  69. .news-section swiper {
  70. width: calc(100% - 140rpx);
  71. height: 50rpx;
  72. overflow: hidden;
  73. }
  74. .news-section .swiper-item {
  75. display: block;
  76. height: 100%;
  77. line-height: 50rpx;
  78. font-size: 20rpx;
  79. color: #8C8C8C;
  80. white-space: nowrap;
  81. overflow: hidden;
  82. text-overflow: ellipsis;
  83. }
  84. .header-nav {
  85. display: flex;
  86. justify-content: space-between;
  87. align-items: center;
  88. width: 690rpx;
  89. margin: 25rpx auto 0;
  90. }
  91. .header-nav .nav {
  92. display: flex;
  93. flex-direction: column;
  94. align-items: center;
  95. }
  96. .header-nav .nav image {
  97. width: 70rpx;
  98. height: 70rpx;
  99. }
  100. .header-nav .nav text {
  101. margin-top: 12rpx;
  102. font-size: 24rpx;
  103. color: rgba(102, 102, 102, 1);
  104. }
  105. .marketing-wrap {
  106. display: flex;
  107. flex-direction: column;
  108. align-items: center;
  109. width: 718rpx;
  110. margin: 0 auto;
  111. }
  112. .marketing-wrap view {
  113. display: flex;
  114. justify-content: space-between;
  115. align-items: center;
  116. width: 100%;
  117. padding: 20rpx 0 0;
  118. }
  119. .marketing-wrap .new-goods {
  120. width: 342rpx;
  121. height: 224rpx;
  122. }
  123. .marketing-wrap .vr {
  124. width: 346rpx;
  125. height: 216rpx;
  126. }
  127. .media {
  128. display: block;
  129. width: 718rpx;
  130. height: 202rpx;
  131. margin: 0 auto;
  132. }
  133. .excellent-goods-title {
  134. position: relative;
  135. left: 0;
  136. top: 0;
  137. display: flex;
  138. align-items: center;
  139. width: 690rpx;
  140. padding-left: 40rpx;
  141. margin: 46rpx auto;
  142. line-height: 40rpx;
  143. font-size: 36rpx;
  144. font-weight: 500;
  145. color: #1F1F39;
  146. }
  147. .excellent-goods-title:before {
  148. content: '';
  149. position: absolute;
  150. left: 16rpx;
  151. top: 1rpx;
  152. width: 14rpx;
  153. height: 37rpx;
  154. border-radius: 40rpx;
  155. background: #91B379;
  156. }
  157. .my-tab-class {
  158. width: 140rpx;
  159. max-width: 140rpx;
  160. height: 56rpx;
  161. margin-left: 23rpx;
  162. border-radius: 40rpx;
  163. background: rgba(145, 179, 121, 0.1);
  164. }
  165. .my-tab-class[data-index="0"] {
  166. margin-left: 30rpx;
  167. }
  168. .my-tab-class view {
  169. line-height: 56rpx;
  170. font-size: 28rpx;
  171. }
  172. .my-tab-active-class {
  173. background: rgba(145, 179, 121, 1);
  174. }
  175. .van-tabs--line .van-tabs__wrap {
  176. height: 56rpx !important;
  177. }
  178. .van-tabs__scroll--line {
  179. height: 56rpx !important;
  180. }
  181. .waterfall {
  182. display: flex;
  183. justify-content: space-between;
  184. width: 690rpx;
  185. padding: 30rpx 0;
  186. margin: 0 auto;
  187. }
  188. .pullup-wrapper {
  189. display: flex;
  190. justify-content: center;
  191. align-items: center;
  192. width: 100%;
  193. height: 50px;
  194. }
  195. .van-loading__text {
  196. color: #969799;
  197. font-size: 14px;
  198. line-height: 20px;
  199. }