home.wxss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  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. 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. background: pink;
  50. }
  51. .page-section .wx-swiper-dot {
  52. width: 34px !important;
  53. height: 6px !important;
  54. border-radius: 0 !important;
  55. }
  56. .news-section {
  57. display: flex;
  58. align-items: center;
  59. width: 690rpx;
  60. padding: 0 16rpx;
  61. height: 50rpx;
  62. margin: 0 auto;
  63. border-radius: 20rpx;
  64. background: linear-gradient(90deg, rgba(255, 202, 138, 1) 0%, rgba(135, 222, 216, 1) 100%);
  65. }
  66. .news-section image {
  67. width: 140rpx;
  68. height: 42rpx;
  69. background: pink;
  70. }
  71. .news-section swiper {
  72. width: calc(100% - 140rpx);
  73. height: 50rpx;
  74. overflow: hidden;
  75. }
  76. .news-section .swiper-item {
  77. display: block;
  78. height: 100%;
  79. line-height: 50rpx;
  80. font-size: 20rpx;
  81. color: #8C8C8C;
  82. white-space: nowrap;
  83. overflow: hidden;
  84. text-overflow: ellipsis;
  85. }
  86. .header-nav {
  87. display: flex;
  88. justify-content: space-between;
  89. align-items: center;
  90. width: 690rpx;
  91. margin: 25rpx auto 0;
  92. }
  93. .header-nav .nav {
  94. display: flex;
  95. flex-direction: column;
  96. align-items: center;
  97. }
  98. .header-nav .nav image {
  99. width: 70rpx;
  100. height: 70rpx;
  101. background: pink;
  102. }
  103. .header-nav .nav text {
  104. margin-top: 12rpx;
  105. font-size: 24rpx;
  106. color: rgba(102, 102, 102, 1);
  107. }
  108. .marketing-wrap {
  109. display: flex;
  110. flex-direction: column;
  111. align-items: center;
  112. width: 690rpx;
  113. margin: 0 auto;
  114. }
  115. .marketing-wrap view {
  116. display: flex;
  117. justify-content: space-between;
  118. align-items: center;
  119. width: 100%;
  120. padding: 20rpx 0;
  121. }
  122. .marketing-wrap .new-goods,
  123. .marketing-wrap .vr {
  124. width: 339rpx;
  125. height: 194rpx;
  126. background: pink;
  127. }
  128. .marketing-wrap .media {
  129. width: 100%;
  130. height: 175rpx;
  131. background: pink;
  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. height: 56rpx;
  160. margin-left: 23rpx;
  161. border-radius: 40rpx;
  162. background: rgba(145, 179, 121, 0.1);
  163. }
  164. .my-tab-class[data-index="0"] {
  165. margin-left: 30rpx;
  166. }
  167. .my-tab-class view {
  168. line-height: 56rpx;
  169. font-size: 28rpx;
  170. }
  171. .my-tab-active-class {
  172. background: rgba(145, 179, 121, 1);
  173. }
  174. .van-tabs--line .van-tabs__wrap {
  175. height: 56rpx !important;
  176. }
  177. .van-tabs__scroll--line {
  178. height: 56rpx !important;
  179. }
  180. .waterfall {
  181. display: flex;
  182. justify-content: space-between;
  183. width: 690rpx;
  184. padding: 30rpx 0;
  185. margin: 0 auto;
  186. }