home.wxss 3.3 KB

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