index.wxss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. page {
  2. padding-bottom: 32rpx;
  3. }
  4. .container {
  5. width: 100%;
  6. padding: 0 24rpx;
  7. background: #f5f5f5;
  8. }
  9. .container .swiper {
  10. width: 100%;
  11. height: 312rpx;
  12. }
  13. .container .swiper image {
  14. width: 100%;
  15. height: 312rpx;
  16. }
  17. .container .welfare {
  18. padding: 16rpx 32rpx;
  19. }
  20. .container .welfare .item image {
  21. width: 32rpx;
  22. height: 32rpx;
  23. margin-right: 8rpx;
  24. }
  25. .container .welfare .item text {
  26. font-size: 22rpx;
  27. color: #50555F;
  28. }
  29. .container .category {
  30. border-radius: 8rpx;
  31. padding-bottom: 40rpx;
  32. }
  33. .container .category .item {
  34. width: 25%;
  35. height: 136rpx;
  36. margin-top: 40rpx;
  37. text-align: center;
  38. font-size: 24rpx;
  39. color: #50555F;
  40. }
  41. .container .category .item image {
  42. width: 80rpx;
  43. height: 80rpx;
  44. margin-bottom: 16rpx;
  45. border-radius: 50%;
  46. }
  47. .container .goods {
  48. margin-top: 16rpx;
  49. }
  50. .container .goods .category-scroll {
  51. padding: 24rpx 0;
  52. }
  53. .container .goods .category-scroll .item {
  54. line-height: 38rpx;
  55. font-size: 32rpx;
  56. font-weight: 400;
  57. color: #060606;
  58. }
  59. .container .goods .category-scroll .active {
  60. color: #D32D2F;
  61. }
  62. .container .goods .category-scroll .item:not(:first-child)::before {
  63. content: "|";
  64. margin-left: 24rpx;
  65. margin-right: 64rpx;
  66. color: #e7e8ea;
  67. }
  68. .container .goods .list .item {
  69. width: calc((100% - 14rpx) / 2);
  70. margin-bottom: 14rpx;
  71. border-radius: 8rpx;
  72. }
  73. .container .goods .list .item:nth-child(2n-1) {
  74. margin-right: 14rpx;
  75. }
  76. .container .goods .list .item image {
  77. width: 100%;
  78. height: 344rpx;
  79. border-radius: 8rpx 8rpx 0 0;
  80. }
  81. .container .goods .list .item .title {
  82. height: 56rpx;
  83. margin: 16rpx;
  84. line-height: 28rpx;
  85. font-size: 24rpx;
  86. font-family: HarmonyOS Sans SC-Regular, HarmonyOS Sans SC;
  87. font-weight: 400;
  88. color: #000;
  89. }
  90. .container .goods .list .item .label {
  91. display: inline-block;
  92. margin-left: 16rpx;
  93. padding: 0 8rpx;
  94. border: 2rpx solid rgba(255, 2, 0, 0.2);
  95. border-radius: 4rpx;
  96. line-height: 32rpx;
  97. font-size: 20rpx;
  98. font-family: HarmonyOS Sans SC-Regular, HarmonyOS Sans SC;
  99. font-weight: 400;
  100. color: #D32D2F;
  101. }
  102. .container .goods .list .item .block {
  103. padding: 0;
  104. border: 0;
  105. }
  106. .container .goods .list .item .price {
  107. padding: 16rpx;
  108. line-height: 46rpx;
  109. font-size: 40rpx;
  110. font-family: DIN Alternate-Bold, DIN Alternate;
  111. font-weight: bold;
  112. color: #060606;
  113. }
  114. .container .goods .list .item .price text {
  115. padding-right: 4rpx;
  116. line-height: 28rpx;
  117. font-size: 24rpx;
  118. }
  119. .container .no-more {
  120. margin-top: 32rpx;
  121. text-align: center;
  122. font-size: 24rpx;
  123. font-weight: 400;
  124. color: #767E8B;
  125. }
  126. .container .van-empty {
  127. background: #fff;
  128. border-radius: 8rpx;
  129. }
  130. .scroll {
  131. width: 100%;
  132. white-space: nowrap;
  133. }
  134. .scroll .item {
  135. display: inline-block;
  136. }
  137. .user-popup {
  138. top: 45%;
  139. width: 80%;
  140. height: fit-content;
  141. border-radius: 30rpx;
  142. line-height: 40rpx;
  143. }
  144. .user-popup .title {
  145. padding: 30rpx 0;
  146. border: none;
  147. text-align: center;
  148. font-size: 32rpx;
  149. font-weight: 500;
  150. font-family: HarmonyOS Sans SC-Medium, HarmonyOS Sans SC;
  151. color: #060606;
  152. }
  153. .user-popup .van-field__placeholder {
  154. color: #999;
  155. }
  156. .user-popup .auth-desc {
  157. padding-left: 30rpx;
  158. padding-bottom: 20rpx;
  159. border-bottom: 2rpx solid rgba(110, 123, 143, 0.16);
  160. line-height: 36rpx;
  161. font-size: 24rpx;
  162. color: #767E8B;
  163. }
  164. .user-popup .btn-group {
  165. margin-top: 30rpx;
  166. display: flex;
  167. }
  168. .user-popup .btn {
  169. position: static;
  170. background: transparent;
  171. border-radius: 0;
  172. border-top: 1px solid #f5f5f5;
  173. line-height: 100rpx;
  174. font-size: 16px;
  175. font-weight: 700;
  176. color: #576B95;
  177. }
  178. .user-popup .btn:first-child {
  179. border-right: 1px solid #f5f5f5;
  180. color: #000;
  181. }