home.wxss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  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. }
  101. .header-nav .nav text {
  102. margin-top: 12rpx;
  103. font-size: 24rpx;
  104. color: rgba(102, 102, 102, 1);
  105. }
  106. .marketing-wrap {
  107. display: flex;
  108. flex-direction: column;
  109. align-items: center;
  110. width: 718rpx;
  111. margin: 0 auto;
  112. }
  113. .marketing-wrap view {
  114. display: flex;
  115. justify-content: space-between;
  116. align-items: center;
  117. width: 100%;
  118. padding: 20rpx 0 0;
  119. }
  120. .marketing-wrap .new-goods {
  121. width: 342rpx;
  122. height: 224rpx;
  123. }
  124. .marketing-wrap .vr {
  125. width: 346rpx;
  126. height: 216rpx;
  127. }
  128. .media {
  129. display: block;
  130. width: 718rpx;
  131. height: 202rpx;
  132. margin: 0 auto;
  133. }
  134. .excellent-goods-title {
  135. position: relative;
  136. left: 0;
  137. top: 0;
  138. display: flex;
  139. align-items: center;
  140. width: 690rpx;
  141. padding-left: 40rpx;
  142. margin: 46rpx auto;
  143. line-height: 40rpx;
  144. font-size: 36rpx;
  145. font-weight: 500;
  146. color: #1F1F39;
  147. }
  148. .excellent-goods-title:before {
  149. content: '';
  150. position: absolute;
  151. left: 16rpx;
  152. top: 1rpx;
  153. width: 14rpx;
  154. height: 37rpx;
  155. border-radius: 40rpx;
  156. background: #91B379;
  157. }
  158. .my-tab-class {
  159. width: 140rpx;
  160. max-width: 140rpx;
  161. height: 56rpx;
  162. margin-left: 23rpx;
  163. border-radius: 40rpx;
  164. background: rgba(145, 179, 121, 0.1);
  165. }
  166. .my-tab-class[data-index="0"] {
  167. margin-left: 30rpx;
  168. }
  169. .my-tab-class view {
  170. line-height: 56rpx;
  171. font-size: 28rpx;
  172. }
  173. .my-tab-active-class {
  174. background: rgba(145, 179, 121, 1);
  175. }
  176. .van-tabs--line .van-tabs__wrap {
  177. height: 56rpx !important;
  178. }
  179. .van-tabs__scroll--line {
  180. height: 56rpx !important;
  181. }
  182. .waterfall {
  183. width: 690rpx;
  184. padding: 30rpx 0;
  185. margin: 0 auto;
  186. font-size: 0;
  187. }
  188. .waterfall-left,
  189. .waterfall-right {
  190. display: inline-block;
  191. width: 330rpx;
  192. }
  193. .waterfall-right {
  194. margin-left: 30rpx;
  195. }
  196. .pullup-wrapper {
  197. display: flex;
  198. justify-content: center;
  199. align-items: center;
  200. width: 100%;
  201. height: 50px;
  202. }
  203. .van-loading__text {
  204. color: #969799;
  205. font-size: 14px;
  206. line-height: 20px;
  207. }