index.wxss 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387
  1. @charset "UTF-8";
  2. /* 页面左右间距 */
  3. /* 文字尺寸 */
  4. /*文字颜色*/
  5. /* 边框颜色 */
  6. /*颜色*/
  7. /* 图片加载中颜色 */
  8. /* 行为相关颜色 */
  9. /* 功能栏字体大小 */
  10. /*功能栏左侧小图标*/
  11. page {
  12. background: #ffff;
  13. min-height: 100%;
  14. height: auto;
  15. }
  16. .top-search {
  17. height: 80rpx;
  18. padding: 0 20rpx;
  19. background-color: #fff;
  20. }
  21. .top-search .top-logo {
  22. width: 50rpx;
  23. margin-right: 10rpx;
  24. }
  25. .top-search .top-logo image {
  26. width: 48rpx;
  27. }
  28. .top-search .search-box {
  29. justify-content: center;
  30. width: 698rpx;
  31. height: 60rpx;
  32. background: #EEEEEE;
  33. border-radius: 30rpx;
  34. }
  35. .top-search .search-box .search {
  36. width: 34rpx;
  37. height: 34rpx;
  38. }
  39. .top-search .search-box .search-font {
  40. margin-left: 14rpx;
  41. font-size: 28rpx;
  42. font-family: PingFang SC;
  43. font-weight: 500;
  44. color: #CBCBCB;
  45. }
  46. .top-swiper {
  47. width: 750rpx;
  48. height: 360rpx;
  49. }
  50. .top-swiper image {
  51. width: 750rpx;
  52. height: 360rpx;
  53. }
  54. .swiper-btm {
  55. height: 60rpx;
  56. width: 750rpx;
  57. background-color: #fff;
  58. margin-bottom: 20rpx;
  59. font-size: 21rpx;
  60. font-weight: 500;
  61. color: #333333;
  62. }
  63. .swiper-btm .btm-item {
  64. flex-grow: 1;
  65. justify-content: center;
  66. }
  67. .swiper-btm .btm-item image {
  68. width: 25rpx;
  69. height: 25rpx;
  70. margin-right: 14rpx;
  71. }
  72. .jg {
  73. height: 20rpx;
  74. background: #F8F8F8;
  75. }
  76. .cate-section {
  77. justify-content: space-around;
  78. background-color: #fff;
  79. padding: 0rpx 0 30rpx;
  80. }
  81. .cate-section .cate-item {
  82. flex-grow: 0;
  83. width: 20%;
  84. flex-direction: column;
  85. text-align: center;
  86. align-items: center;
  87. justify-content: center;
  88. }
  89. .cate-section .cate-item .img-wrapper {
  90. width: 112rpx;
  91. height: 112rpx;
  92. border-radius: 20rpx;
  93. position: relative;
  94. }
  95. .cate-section .cate-item .img-wrapper image {
  96. width: 112rpx;
  97. height: 112rpx;
  98. position: absolute;
  99. left: 50%;
  100. top: 50%;
  101. -webkit-transform: translate(-50%, -50%);
  102. transform: translate(-50%, -50%);
  103. }
  104. .cate-section .cate-item .item-title {
  105. margin-top: 15rpx;
  106. font-size: 26rpx;
  107. font-weight: 500;
  108. color: #666666;
  109. }
  110. .product-box {
  111. margin-top: 20rpx;
  112. background: #ffffff;
  113. padding: 26rpx 0 20rpx;
  114. }
  115. .product-box .product-tit {
  116. justify-content: center;
  117. }
  118. .product-box .product-tit .hx {
  119. width: 120rpx;
  120. height: 1rpx;
  121. background: #E9B43B;
  122. }
  123. .product-box .product-tit .tit {
  124. margin: 0 70rpx;
  125. font-size: 32rpx;
  126. font-weight: 900;
  127. color: #000;
  128. }
  129. .hotgoods {
  130. margin-top: 38rpx;
  131. width: 100%;
  132. display: flex;
  133. flex-wrap: wrap;
  134. padding: 0 20rpx 30rpx;
  135. justify-content: space-between;
  136. }
  137. .hotgoods .hotgoods-item {
  138. width: 345rpx;
  139. background-color: #ffffff;
  140. border-radius: 12rpx;
  141. box-shadow: 0 0 15rpx rgba(0, 0, 0, 0.2);
  142. margin-bottom: 15rpx;
  143. }
  144. .hotgoods .hotgoods-item .image-wrapper {
  145. width: 345rpx;
  146. height: 345rpx;
  147. border-radius: 3px;
  148. overflow: hidden;
  149. position: relative;
  150. }
  151. .hotgoods .hotgoods-item .image-wrapper .image-bg {
  152. position: absolute;
  153. top: 0;
  154. left: 0;
  155. right: 0;
  156. bottom: 0;
  157. width: 100%;
  158. height: 100%;
  159. opacity: 1;
  160. border-radius: 12rpx 12rpx 0 0;
  161. z-index: 2;
  162. }
  163. .hotgoods .hotgoods-item .image-wrapper .image {
  164. width: 100%;
  165. height: 100%;
  166. opacity: 1;
  167. border-radius: 12rpx 12rpx 0 0;
  168. }
  169. .hotgoods .hotgoods-item .title {
  170. margin-top: 24rpx;
  171. padding: 0 20rpx;
  172. font-size: 28rpx;
  173. font-family: PingFang SC;
  174. font-weight: 500;
  175. color: #333333;
  176. }
  177. .hotgoods .hotgoods-item .hot-price {
  178. display: flex;
  179. justify-content: flex-start;
  180. align-items: center;
  181. }
  182. .hotgoods .hotgoods-item .hot-price .hotPrice-box {
  183. padding: 2rpx 6rpx;
  184. background: linear-gradient(90deg, #c79a4c, #f9df7f);
  185. border-radius: 5rpx;
  186. text-align: center;
  187. line-height: 28rpx;
  188. font-size: 20rpx;
  189. font-family: Source Han Sans CN;
  190. font-weight: 400;
  191. color: #ffffff;
  192. }
  193. .hotgoods .hotgoods-item .hot-price .price {
  194. margin-left: 10rpx;
  195. font-size: 40rpx;
  196. color: #ff0000;
  197. font-weight: 500;
  198. }
  199. .hotgoods .hotgoods-item .hot-price .price .jf {
  200. font-size: 20rpx;
  201. }
  202. .hotgoods .hotgoods-item .hot-price .yuanPrice {
  203. margin-left: 10rpx;
  204. font-size: 20rpx;
  205. font-family: PingFang SC;
  206. font-weight: 500;
  207. text-decoration: line-through;
  208. color: #999999;
  209. }
  210. .hotgoods .hotgoods-item .hot-price .cart-icon image {
  211. width: 44rpx;
  212. height: 44rpx;
  213. }
  214. .popup-box {
  215. width: 522rpx;
  216. height: 605rpx;
  217. background-color: #ffffff;
  218. border-radius: 20rpx;
  219. position: relative;
  220. }
  221. .popup-box .product-tit {
  222. justify-content: center;
  223. }
  224. .popup-box .product-tit .hx {
  225. width: 120rpx;
  226. height: 1rpx;
  227. background: #989898;
  228. }
  229. .popup-box .product-tit .tit {
  230. margin: 0 70rpx;
  231. font-size: 30rpx;
  232. font-weight: 500;
  233. color: #363636;
  234. }
  235. .popup-box .img {
  236. position: relative;
  237. top: -56rpx;
  238. left: 0;
  239. width: 522rpx;
  240. height: 132rpx;
  241. display: flex;
  242. justify-content: center;
  243. }
  244. .popup-box .img image {
  245. border-radius: 20rpx 20rpx 0 0;
  246. width: 450rpx;
  247. height: 132rpx;
  248. }
  249. .popup-box .mian {
  250. margin-top: -44rpx;
  251. display: flex;
  252. flex-direction: column;
  253. align-items: center;
  254. background-color: #ffffff;
  255. border-radius: 0 0 20rpx 20rpx;
  256. text-align: center;
  257. }
  258. .popup-box .mian .delivery {
  259. font-size: 40rpx;
  260. color: #333333;
  261. display: flex;
  262. align-items: center;
  263. flex-direction: column;
  264. }
  265. .popup-box .mian .delivery image {
  266. margin-top: 48rpx;
  267. width: 172rpx;
  268. height: 160rpx;
  269. }
  270. .popup-box .mian .nocancel {
  271. font-size: 32rpx;
  272. color: #333333;
  273. margin-top: 14rpx;
  274. }
  275. .popup-box .mian .comfirm-box {
  276. margin-top: 52rpx;
  277. display: flex;
  278. }
  279. .popup-box .mian .comfirm-box .cancel {
  280. display: flex;
  281. align-items: center;
  282. justify-content: center;
  283. width: 197rpx;
  284. height: 74rpx;
  285. border: 1px solid #dcc786;
  286. border-radius: 38rpx;
  287. font-size: 32rpx;
  288. color: #605128;
  289. }
  290. .popup-box .mian .comfirm-box .comfirm {
  291. margin-left: 32rpx;
  292. display: flex;
  293. align-items: center;
  294. justify-content: center;
  295. width: 197rpx;
  296. height: 74rpx;
  297. background: linear-gradient(-90deg, #d1ba77 0%, #f7e8ad 100%);
  298. border-radius: 38px;
  299. font-size: 32rpx;
  300. color: #605128;
  301. }
  302. .in-ban {
  303. margin-top: 10rpx;
  304. width: 750rpx;
  305. height: 220rpx;
  306. }
  307. .good-list {
  308. width: 750rpx;
  309. background: #fff;
  310. padding: 30rpx 0;
  311. }
  312. .good-list .good {
  313. width: 690rpx;
  314. height: 276rpx;
  315. background: #FFFFFF;
  316. box-shadow: 0px 0px 20rpx 0px rgba(50, 50, 52, 0.06);
  317. border-radius: 10rpx;
  318. margin: auto;
  319. padding: 20rpx 15rpx;
  320. margin-bottom: 20rpx;
  321. }
  322. .good-list .good:last-of-type {
  323. margin-bottom: 0rpx;
  324. }
  325. .good-list .good .good-img {
  326. flex-shrink: 0;
  327. width: 236rpx;
  328. height: 236rpx;
  329. border-radius: 10rpx;
  330. margin-right: 22rpx;
  331. }
  332. .good-list .good .good-img image {
  333. width: 236rpx;
  334. height: 236rpx;
  335. border-radius: 10rpx;
  336. }
  337. .good-list .good .good-info {
  338. flex-grow: 1;
  339. height: 100%;
  340. flex-direction: column;
  341. justify-content: space-between;
  342. align-items: flex-start;
  343. }
  344. .good-list .good .good-info .good-name {
  345. font-size: 32rpx;
  346. font-weight: bold;
  347. padding-top: 10rpx;
  348. color: #333333;
  349. }
  350. .good-list .good .good-info .good-price {
  351. width: 100%;
  352. }
  353. .good-list .good .good-info .good-price image {
  354. width: 14rpx;
  355. margin: 0 6rpx 0 10rpx;
  356. }
  357. .good-list .good .good-info .good-price .old-price .old-left {
  358. font-size: 26rpx;
  359. font-weight: 500;
  360. text-decoration: line-through;
  361. color: #999999;
  362. }
  363. .good-list .good .good-info .good-price .old-price .old-right {
  364. font-size: 24rpx;
  365. font-weight: bold;
  366. color: #B59467;
  367. }
  368. .good-list .good .good-info .good-price .new-price {
  369. width: 100%;
  370. font-size: 36rpx;
  371. font-weight: bold;
  372. color: #FF4C4C;
  373. justify-content: space-between;
  374. }
  375. .good-list .good .good-info .good-price .new-price .good-tip {
  376. width: 137rpx;
  377. height: 52rpx;
  378. background: #01A6A8;
  379. border-radius: 26rpx;
  380. position: relative;
  381. font-size: 26rpx;
  382. font-weight: 500;
  383. color: #FFFFFF;
  384. line-height: 52rpx;
  385. text-align: center;
  386. }