index.wxss 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565
  1. .banner {
  2. width: 750rpx;
  3. height: 417rpx;
  4. }
  5. .banner image {
  6. width: 100%;
  7. height: 417rpx;
  8. }
  9. .m-menu {
  10. background: #fff;
  11. display: flex;
  12. align-items: center;
  13. flex-wrap: wrap;
  14. padding-bottom: 0rpx;
  15. padding-top: 25rpx;
  16. }
  17. .m-menu .item {
  18. width: 150rpx;
  19. height: 126rpx;
  20. }
  21. .m-menu image {
  22. display: block;
  23. width: 58rpx;
  24. height: 58rpx;
  25. margin: 0 auto;
  26. margin-bottom: 12rpx;
  27. }
  28. .m-menu text {
  29. display: block;
  30. font-size: 24rpx;
  31. text-align: center;
  32. margin: 0 auto;
  33. line-height: 1;
  34. color: #333;
  35. }
  36. .a-section {
  37. width: 750rpx;
  38. height: auto;
  39. overflow: hidden;
  40. background: #fff;
  41. color: #333;
  42. margin-top: 20rpx;
  43. }
  44. .a-section .h {
  45. display: flex;
  46. flex-flow: row nowrap;
  47. align-items: center;
  48. justify-content: center;
  49. height: 130rpx;
  50. }
  51. .a-section .h .txt {
  52. padding-right: 30rpx;
  53. background-size: 16.656rpx 27rpx;
  54. display: inline-block;
  55. height: 36rpx;
  56. font-size: 33rpx;
  57. line-height: 36rpx;
  58. }
  59. .a-brand .b {
  60. width: 750rpx;
  61. height: auto;
  62. overflow: hidden;
  63. position: relative;
  64. }
  65. .a-brand .wrap {
  66. position: relative;
  67. }
  68. .a-brand .img {
  69. position: absolute;
  70. left: 0;
  71. top: 0;
  72. }
  73. .a-brand .mt {
  74. position: absolute;
  75. z-index: 2;
  76. padding: 27rpx 31rpx;
  77. left: 0;
  78. top: 0;
  79. }
  80. .a-brand .mt .brand {
  81. display: block;
  82. font-size: 33rpx;
  83. height: 43rpx;
  84. color: #fff;
  85. }
  86. .a-brand .mt .price, .a-brand .mt .unit {
  87. font-size: 25rpx;
  88. color: #fff;
  89. }
  90. .a-brand .item-1 {
  91. float: left;
  92. width: 375rpx;
  93. height: 252rpx;
  94. overflow: hidden;
  95. border-top: 1rpx solid #fff;
  96. margin-left: 1rpx;
  97. }
  98. .a-brand .item-1:nth-child(2n+1) {
  99. margin-left: 0;
  100. width: 374rpx;
  101. }
  102. .a-brand .item-1 .img {
  103. width: 375rpx;
  104. height: 253rpx;
  105. }
  106. .a-coupon {
  107. width: 750rpx;
  108. height: auto;
  109. overflow: hidden;
  110. }
  111. .a-groupon {
  112. width: 750rpx;
  113. height: auto;
  114. overflow: hidden;
  115. }
  116. .a-groupon .b .item {
  117. border-top: 1px solid #d9d9d9;
  118. margin: 0 20rpx;
  119. height: 244rpx;
  120. width: 710rpx;
  121. }
  122. .a-groupon .b .img {
  123. margin-top: 12rpx;
  124. margin-right: 12rpx;
  125. float: left;
  126. width: 220rpx;
  127. height: 220rpx;
  128. }
  129. .a-groupon .b .right {
  130. float: left;
  131. height: 244rpx;
  132. width: 476rpx;
  133. display: flex;
  134. flex-flow: row nowrap;
  135. }
  136. .a-groupon .b .text {
  137. display: flex;
  138. flex-wrap: nowrap;
  139. flex-direction: column;
  140. justify-content: center;
  141. overflow: hidden;
  142. height: 244rpx;
  143. width: 476rpx;
  144. }
  145. .a-groupon .b .name {
  146. float: left;
  147. display: block;
  148. color: #333;
  149. line-height: 50rpx;
  150. font-size: 30rpx;
  151. overflow: hidden;
  152. text-overflow: ellipsis;
  153. }
  154. .a-groupon .b .desc {
  155. width: 476rpx;
  156. display: block;
  157. color: #999;
  158. line-height: 50rpx;
  159. font-size: 25rpx;
  160. }
  161. .a-groupon .b .price {
  162. width: 476rpx;
  163. display: flex;
  164. color: #ab956d;
  165. line-height: 50rpx;
  166. font-size: 33rpx;
  167. }
  168. .a-groupon .b .counterPrice {
  169. text-decoration: line-through;
  170. font-size: 28rpx;
  171. color: #999;
  172. }
  173. .a-groupon .b .retailPrice {
  174. margin-left: 30rpx;
  175. font-size: 28rpx;
  176. color: #a78845;
  177. }
  178. .a-new .b {
  179. width: 750rpx;
  180. height: auto;
  181. overflow: hidden;
  182. padding: 0 31rpx 45rpx 31rpx;
  183. }
  184. .a-new .b .item {
  185. float: left;
  186. width: 302rpx;
  187. margin-top: 10rpx;
  188. margin-left: 21rpx;
  189. margin-right: 21rpx;
  190. }
  191. .a-new .b .item-b {
  192. margin-left: 42rpx;
  193. }
  194. .a-new .b .img {
  195. width: 302rpx;
  196. height: 302rpx;
  197. }
  198. .a-new .b .name {
  199. text-align: center;
  200. display: block;
  201. width: 302rpx;
  202. height: 35rpx;
  203. margin-bottom: 14rpx;
  204. overflow: hidden;
  205. font-size: 30rpx;
  206. color: #333;
  207. }
  208. .a-new .b .price {
  209. display: block;
  210. text-align: center;
  211. line-height: 30rpx;
  212. font-size: 30rpx;
  213. color: #ab956d;
  214. }
  215. .a-popular {
  216. width: 750rpx;
  217. height: auto;
  218. overflow: hidden;
  219. }
  220. .a-popular .b .item {
  221. border-top: 1px solid #d9d9d9;
  222. margin: 0 20rpx;
  223. height: 264rpx;
  224. width: 710rpx;
  225. }
  226. .a-popular .b .img {
  227. margin-top: 12rpx;
  228. margin-right: 12rpx;
  229. float: left;
  230. width: 240rpx;
  231. height: 240rpx;
  232. }
  233. .a-popular .b .right {
  234. float: left;
  235. height: 264rpx;
  236. width: 456rpx;
  237. display: flex;
  238. flex-flow: row nowrap;
  239. }
  240. .a-popular .b .text {
  241. display: flex;
  242. flex-wrap: nowrap;
  243. flex-direction: column;
  244. justify-content: center;
  245. overflow: hidden;
  246. height: 264rpx;
  247. width: 456rpx;
  248. }
  249. .a-popular .b .name {
  250. width: 456rpx;
  251. display: block;
  252. color: #333;
  253. line-height: 50rpx;
  254. font-size: 30rpx;
  255. }
  256. .a-popular .b .desc {
  257. width: 456rpx;
  258. display: block;
  259. color: #999;
  260. line-height: 50rpx;
  261. font-size: 25rpx;
  262. }
  263. .a-popular .b .price {
  264. width: 456rpx;
  265. display: block;
  266. color: #ab956d;
  267. line-height: 50rpx;
  268. font-size: 33rpx;
  269. }
  270. .a-topic .b {
  271. height: 533rpx;
  272. width: 750rpx;
  273. padding: 0 0 48rpx 0;
  274. }
  275. .a-topic .b .list {
  276. height: 533rpx;
  277. width: 750rpx;
  278. white-space: nowrap;
  279. }
  280. .a-topic .b .item {
  281. display: inline-block;
  282. height: 533rpx;
  283. width: 680.5rpx;
  284. margin-left: 30rpx;
  285. overflow: hidden;
  286. }
  287. .a-topic .b .item:last-child {
  288. margin-right: 30rpx;
  289. }
  290. .a-topic .b .img {
  291. height: 387.5rpx;
  292. width: 680.5rpx;
  293. margin-bottom: 30rpx;
  294. }
  295. .a-topic .b .np {
  296. height: 35rpx;
  297. margin-bottom: 13.5rpx;
  298. color: #333;
  299. font-size: 30rpx;
  300. }
  301. .a-topic .b .np .price {
  302. margin-left: 20.8rpx;
  303. color: #ab956d;
  304. }
  305. .a-topic .b .desc {
  306. display: block;
  307. height: 30rpx;
  308. color: #999;
  309. font-size: 24rpx;
  310. white-space: nowrap;
  311. overflow: hidden;
  312. text-overflow: ellipsis;
  313. }
  314. .good-grid {
  315. width: 750rpx;
  316. height: auto;
  317. overflow: hidden;
  318. }
  319. .good-grid .h {
  320. display: flex;
  321. flex-flow: row nowrap;
  322. align-items: center;
  323. justify-content: center;
  324. height: 130rpx;
  325. font-size: 33rpx;
  326. color: #333;
  327. }
  328. .good-grid .b {
  329. width: 750rpx;
  330. padding: 0 6.25rpx;
  331. height: auto;
  332. overflow: hidden;
  333. }
  334. .good-grid .b .item {
  335. float: left;
  336. background: #fff;
  337. width: 365rpx;
  338. margin-bottom: 6.25rpx;
  339. height: 452rpx;
  340. overflow: hidden;
  341. text-align: center;
  342. }
  343. .good-grid .b .item .a {
  344. height: 452rpx;
  345. width: 100%;
  346. }
  347. .good-grid .b .item-b {
  348. margin-left: 6.25rpx;
  349. }
  350. .good-grid .item .img {
  351. margin-top: 20rpx;
  352. width: 302rpx;
  353. height: 302rpx;
  354. }
  355. .good-grid .item .name {
  356. display: block;
  357. width: 365.625rpx;
  358. padding: 0 20rpx;
  359. overflow: hidden;
  360. height: 35rpx;
  361. margin: 11.5rpx 0 22rpx 0;
  362. text-align: center;
  363. font-size: 30rpx;
  364. color: #333;
  365. }
  366. .good-grid .item .price {
  367. display: block;
  368. width: 365.625rpx;
  369. height: 30rpx;
  370. text-align: center;
  371. font-size: 30rpx;
  372. color: #ab956d;
  373. }
  374. .good-grid .t {
  375. height: 100rpx;
  376. background: #fff;
  377. display: flex;
  378. align-items: center;
  379. justify-content: center;
  380. }
  381. .search {
  382. height: 88rpx;
  383. width: 100%;
  384. padding: 0 30rpx;
  385. background: #fff;
  386. display: flex;
  387. align-items: center;
  388. }
  389. .search .van-icon-search {
  390. line-height: 59rpx;
  391. }
  392. .search .input {
  393. width: 690rpx;
  394. height: 56rpx;
  395. background: #ededed;
  396. border-radius: 8rpx;
  397. display: flex;
  398. align-items: center;
  399. justify-content: center;
  400. }
  401. .search .txt {
  402. height: 42rpx;
  403. line-height: 42rpx;
  404. color: #666;
  405. padding-left: 10rpx;
  406. font-size: 30rpx;
  407. }
  408. /* 优惠券 */
  409. .coupon_item {
  410. position: relative;
  411. /* background: linear-gradient(to right, #cfa568, #e3bf79); */
  412. background: linear-gradient(136deg,#fdda96 0,#e3ad61 100%);
  413. margin: 0 .5rem;
  414. margin-bottom: .75rem;
  415. display: flex;
  416. border-radius: .3rem;
  417. }
  418. .coupon_item view {
  419. color: #fff;
  420. }
  421. .coupon_price {
  422. display: flex;
  423. position: relative;
  424. width: 6rem;
  425. font-size: .7rem;
  426. text-align: center;
  427. -webkit-justify-content: center;
  428. -ms-flex-pack: center;
  429. justify-content: center;
  430. -webkit-align-items: center;
  431. -ms-flex-align: center;
  432. align-items: center;
  433. border-radius: .2rem;
  434. -webkit-box-shadow: 0 0.1rem 0.4rem 0 rgb(0 0 0 / 5%);
  435. box-shadow: 0 0.1rem 0.4rem 0 rgb(0 0 0 / 5%);
  436. background: linear-gradient(136deg,#ff8787 0,#fb3636 100%);
  437. }
  438. .coupon_price .price{
  439. line-height: 1;
  440. font-size: 1.8rem;
  441. }
  442. .coupon_price .p{
  443. margin-top: .25rem;
  444. font-size: .6rem;
  445. line-height: 1;
  446. }
  447. .coupon_msg{
  448. flex: 1;
  449. overflow: hidden;
  450. padding: .3rem 0 0 .35rem;
  451. }
  452. .coupon_condition{
  453. min-height: 1.8rem;
  454. line-height: .95rem;
  455. font-size: .6rem;
  456. padding-right: .6rem;
  457. text-overflow: ellipsis;
  458. overflow: hidden;
  459. display: -webkit-box;
  460. display: -webkit-inline-box;
  461. -webkit-line-clamp: 2;
  462. -webkit-box-orient: vertical;
  463. }
  464. .coupon_condition .text{
  465. font-size: 0.8rem;
  466. vertical-align: middle;
  467. display: inline;
  468. user-select: none;
  469. white-space: pre-wrap;
  470. }
  471. .coupon_tag{
  472. display: inline-block;
  473. height: .7rem;
  474. color: #fff;
  475. line-height: .7rem;
  476. text-align: center;
  477. padding: 0 .25rem;
  478. border-radius: .35rem;
  479. margin-right: .25rem;
  480. border-color: #fe5b5b;
  481. background-color: #fe5b5b;
  482. }
  483. .coupon_tag_text{
  484. font-size: .5rem;
  485. }
  486. .coupon_instruction{
  487. min-width: 7.5rem;
  488. height: .95rem;
  489. line-height: .95rem;
  490. padding-right: .6rem;
  491. text-overflow: ellipsis;
  492. overflow: hidden;
  493. }
  494. .coupon_date{
  495. font-size: .65rem;
  496. /* line-height: .5rem; */
  497. padding: .5rem 0;
  498. padding-right: .5rem;
  499. width: 100%;
  500. }