home.wxss 3.7 KB

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