index.wxss 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. @charset "UTF-8";
  2. /* 页面左右间距 */
  3. /* 文字尺寸 */
  4. /*文字颜色*/
  5. /* 边框颜色 */
  6. /*颜色*/
  7. /* 图片加载中颜色 */
  8. /* 行为相关颜色 */
  9. /* 功能栏字体大小 */
  10. /*功能栏左侧小图标*/
  11. page,
  12. .center {
  13. min-height: 100%;
  14. height: auto;
  15. background: #fff;
  16. }
  17. .top-search {
  18. height: 80rpx;
  19. background-color: #f32b09;
  20. justify-content: center;
  21. }
  22. .top-search .search-box {
  23. justify-content: center;
  24. width: 700rpx;
  25. height: 60rpx;
  26. background: #fff;
  27. border-radius: 30rpx;
  28. }
  29. .top-search .search-box .search {
  30. width: 34rpx;
  31. height: 34rpx;
  32. }
  33. .top-search .search-box .search-font {
  34. margin-left: 14rpx;
  35. font-size: 28rpx;
  36. font-family: PingFang SC;
  37. font-weight: 500;
  38. color: #CBCBCB;
  39. }
  40. .swiper-wrap {
  41. width: 750rpx;
  42. background-color: #f32b09;
  43. }
  44. .swiper-wrap .top-swiper {
  45. width: 700rpx;
  46. height: 350rpx;
  47. margin: auto;
  48. border-radius: 20rpx;
  49. }
  50. .swiper-wrap .top-swiper image {
  51. width: 700rpx;
  52. height: 350rpx;
  53. border-radius: 20rpx;
  54. }
  55. .swiper-btm {
  56. height: 60rpx;
  57. width: 750rpx;
  58. background-color: #fff;
  59. margin-bottom: 20rpx;
  60. font-size: 21rpx;
  61. font-weight: 500;
  62. color: #333333;
  63. }
  64. .swiper-btm .btm-item {
  65. flex-grow: 1;
  66. justify-content: center;
  67. }
  68. .swiper-btm .btm-item image {
  69. width: 25rpx;
  70. height: 25rpx;
  71. margin-right: 14rpx;
  72. }
  73. .jg {
  74. height: 20rpx;
  75. background-color: #f32b09;
  76. }
  77. .status_bar {
  78. height: 25px;
  79. width: 100%;
  80. background: #f32b09;
  81. }
  82. .cate-section {
  83. justify-content: space-around;
  84. background-color: #fff;
  85. padding: 0rpx 0 30rpx;
  86. background: #f32b09;
  87. }
  88. .cate-section .cate-item {
  89. flex-grow: 0;
  90. width: 20%;
  91. flex-direction: column;
  92. text-align: center;
  93. align-items: center;
  94. justify-content: center;
  95. }
  96. .cate-section .cate-item .img-wrapper {
  97. width: 90rpx;
  98. height: 90rpx;
  99. border-radius: 20rpx;
  100. position: relative;
  101. }
  102. .cate-section .cate-item .img-wrapper image {
  103. width: 90rpx;
  104. height: 90rpx;
  105. position: absolute;
  106. left: 50%;
  107. top: 50%;
  108. -webkit-transform: translate(-50%, -50%);
  109. transform: translate(-50%, -50%);
  110. }
  111. .cate-section .cate-item .item-title {
  112. margin-top: 15rpx;
  113. font-size: 26rpx;
  114. font-weight: 500;
  115. color: #FFFFFF;
  116. }
  117. .zq-wrap {
  118. height: 345rpx;
  119. width: 750rpx;
  120. background: linear-gradient(180deg, #f32b09, #fff);
  121. padding: 0 27rpx;
  122. }
  123. .zq-wrap .zq-item {
  124. width: 342rpx;
  125. height: 300rpx;
  126. background: linear-gradient(180deg, #fc2f40, #fb829e);
  127. border-radius: 20rpx;
  128. box-shadow: 0 0 10rpx rgba(0, 0, 0, 0.2);
  129. position: relative;
  130. }
  131. .zq-wrap .zq-item .zq-tit {
  132. padding: 15rpx 0 0 20rpx;
  133. font-size: 32rpx;
  134. font-weight: bold;
  135. font-style: italic;
  136. color: #FFFFFF;
  137. }
  138. .zq-wrap .zq-item .item-info {
  139. position: absolute;
  140. bottom: 8rpx;
  141. left: 0;
  142. right: 0;
  143. margin: auto;
  144. width: 324rpx;
  145. height: 232rpx;
  146. background: #FFFFFF;
  147. border-radius: 20rpx;
  148. flex-direction: column;
  149. justify-content: center;
  150. align-items: center;
  151. }
  152. .zq-wrap .zq-item .item-info image {
  153. width: 294rpx;
  154. height: 160rpx;
  155. }
  156. .zq-wrap .zq-item .item-info .info-tit {
  157. margin-top: 12rpx;
  158. width: 189rpx;
  159. height: 36rpx;
  160. }
  161. .zq-wrap .zq-item .item-info .info-tit image {
  162. width: 189rpx;
  163. }
  164. .zq-wrap .bd {
  165. background: linear-gradient(180deg, #ff601a, #feba9d);
  166. }
  167. .product-box {
  168. margin-top: 20rpx;
  169. background: #ffffff;
  170. padding: 26rpx 20rpx 20rpx;
  171. }
  172. .product-box .product-tit {
  173. justify-content: center;
  174. }
  175. .product-box .product-tit .hx {
  176. width: 120rpx;
  177. height: 1rpx;
  178. background: #989898;
  179. }
  180. .product-box .product-tit .tit {
  181. margin: 0 70rpx;
  182. font-size: 30rpx;
  183. font-weight: 500;
  184. color: #363636;
  185. }
  186. .hotgoods {
  187. margin-top: 38rpx;
  188. width: 100%;
  189. display: flex;
  190. flex-wrap: wrap;
  191. padding: 0 0 30rpx;
  192. justify-content: space-between;
  193. }
  194. .hotgoods .hotgoods-item {
  195. width: 345rpx;
  196. background-color: #ffffff;
  197. border-radius: 12rpx;
  198. }
  199. .hotgoods .hotgoods-item .image-wrapper {
  200. width: 345rpx;
  201. height: 345rpx;
  202. border-radius: 3px;
  203. overflow: hidden;
  204. position: relative;
  205. }
  206. .hotgoods .hotgoods-item .image-wrapper .image-bg {
  207. position: absolute;
  208. top: 0;
  209. left: 0;
  210. right: 0;
  211. bottom: 0;
  212. width: 100%;
  213. height: 100%;
  214. opacity: 1;
  215. border-radius: 12rpx 12rpx 0 0;
  216. z-index: 2;
  217. }
  218. .hotgoods .hotgoods-item .image-wrapper .image {
  219. width: 100%;
  220. height: 100%;
  221. opacity: 1;
  222. border-radius: 12rpx 12rpx 0 0;
  223. }
  224. .hotgoods .hotgoods-item .title {
  225. margin-top: 24rpx;
  226. font-size: 28rpx;
  227. font-family: PingFang SC;
  228. font-weight: 500;
  229. color: #333333;
  230. }
  231. .hotgoods .hotgoods-item .hot-price {
  232. display: flex;
  233. justify-content: flex-start;
  234. align-items: center;
  235. padding: 14rpx 0 30rpx;
  236. }
  237. .hotgoods .hotgoods-item .hot-price .hotPrice-box {
  238. padding: 2rpx 6rpx;
  239. background: linear-gradient(90deg, #c79a4c, #f9df7f);
  240. border-radius: 5rpx;
  241. text-align: center;
  242. line-height: 28rpx;
  243. font-size: 20rpx;
  244. font-family: Source Han Sans CN;
  245. font-weight: 400;
  246. color: #ffffff;
  247. }
  248. .hotgoods .hotgoods-item .hot-price .price {
  249. margin-left: 10rpx;
  250. font-size: 40rpx;
  251. color: #ff0000;
  252. font-weight: 500;
  253. }
  254. .hotgoods .hotgoods-item .hot-price .yuanPrice {
  255. margin-left: 10rpx;
  256. font-size: 20rpx;
  257. font-family: PingFang SC;
  258. font-weight: 500;
  259. text-decoration: line-through;
  260. color: #999999;
  261. }
  262. .hotgoods .hotgoods-item .hot-price .cart-icon image {
  263. width: 44rpx;
  264. height: 44rpx;
  265. }