home.wxss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  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. background: pink;
  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: 690rpx;
  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;
  119. }
  120. .marketing-wrap .new-goods,
  121. .marketing-wrap .vr {
  122. width: 339rpx;
  123. height: 194rpx;
  124. }
  125. .marketing-wrap .media {
  126. width: 100%;
  127. height: 175rpx;
  128. }
  129. .excellent-goods-title {
  130. position: relative;
  131. left: 0;
  132. top: 0;
  133. display: flex;
  134. align-items: center;
  135. width: 690rpx;
  136. padding-left: 40rpx;
  137. margin: 46rpx auto;
  138. line-height: 40rpx;
  139. font-size: 36rpx;
  140. font-weight: 500;
  141. color: #1F1F39;
  142. }
  143. .excellent-goods-title:before {
  144. content: '';
  145. position: absolute;
  146. left: 16rpx;
  147. top: 1rpx;
  148. width: 14rpx;
  149. height: 37rpx;
  150. border-radius: 40rpx;
  151. background: #91B379;
  152. }
  153. .my-tab-class {
  154. width: 140rpx;
  155. height: 56rpx;
  156. margin-left: 23rpx;
  157. border-radius: 40rpx;
  158. background: rgba(145, 179, 121, 0.1);
  159. }
  160. .my-tab-class[data-index="0"] {
  161. margin-left: 30rpx;
  162. }
  163. .my-tab-class view {
  164. line-height: 56rpx;
  165. font-size: 28rpx;
  166. }
  167. .my-tab-active-class {
  168. background: rgba(145, 179, 121, 1);
  169. }
  170. .van-tabs--line .van-tabs__wrap {
  171. height: 56rpx !important;
  172. }
  173. .van-tabs__scroll--line {
  174. height: 56rpx !important;
  175. }
  176. .waterfall {
  177. display: flex;
  178. justify-content: space-between;
  179. width: 690rpx;
  180. padding: 30rpx 0;
  181. margin: 0 auto;
  182. }