index.wxss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620
  1. /**index.wxss**/
  2. .wrap{
  3. height: 100vh;
  4. }
  5. .store_wrap{
  6. width: 750rpx;
  7. height: 150rpx;
  8. padding: 0 30rpx;
  9. border-bottom: 1rpx solid rgba(0,0,0,.15);
  10. display: flex;
  11. align-items: center;
  12. justify-content: space-between;
  13. }
  14. .store_wrap .store_l{
  15. display: flex;
  16. align-items: center;
  17. }
  18. .store_wrap .store_l .logo_wrap{
  19. width: 98rpx;
  20. height: 98rpx;
  21. background: #F6F6F6;
  22. border-radius: 50%;
  23. display: flex;
  24. align-items: center;
  25. justify-content: center;
  26. }
  27. .store_wrap .store_l .logo{
  28. /* width: 98rpx; */
  29. height: 70rpx;
  30. }
  31. .store_wrap .store_t_info{
  32. padding-left: 30rpx;
  33. display: flex;
  34. align-items: center;
  35. }
  36. .store_wrap .store_t_info_t{
  37. display: flex;
  38. align-items: center;
  39. /* justify-content: space-around; */
  40. width: 320rpx;
  41. }
  42. .store_wrap .store_t_info .name{
  43. /* width: 100%; */
  44. font-size: 30rpx;
  45. color: #080808;
  46. padding-right: 40rpx;
  47. flex: 1;
  48. }
  49. .store_wrap .icon_phone{
  50. width: 32rpx;
  51. height: 32rpx;
  52. }
  53. .store_wrap .store_t_info .desc{
  54. font-size: 26rpx;
  55. color: rgba(51,51,51,.54);
  56. }
  57. .store_wrap .store_r{
  58. width: 180rpx;
  59. height: 60rpx;
  60. background: #F6F6F6;
  61. border-radius: 30rpx;
  62. display: flex;
  63. align-items: center;
  64. justify-content: center;
  65. position: relative;
  66. }
  67. .store_wrap .store_r .wenzi{
  68. width: 90rpx;
  69. height: 50rpx;
  70. flex: 1;
  71. display: flex;
  72. align-items: center;
  73. justify-content: center;
  74. font-size: 26rpx;
  75. color: rgba(51,51,51,.54);
  76. background: #F6F6F6;
  77. border-radius: 30rpx;
  78. }
  79. .store_wrap .store_r .wenzi.active{
  80. background: #295C56;
  81. color: #FFFFFF;
  82. }
  83. .heji_wrap{
  84. width: 750rpx;
  85. height: 100rpx;
  86. background-repeat: no-repeat;
  87. background-size: 100% 100%;
  88. position: fixed;
  89. bottom: 0;
  90. left: 0rpx;
  91. display: flex;
  92. align-items: center;
  93. justify-content: space-between;
  94. z-index: 3;
  95. background: #F8F8F8;
  96. box-shadow: 0rpx -5rpx 10rpx 0rpx rgba(161, 161, 161, 0.09);
  97. }
  98. .heji_wrap .heji_l{
  99. /* width: 470rpx; */
  100. display: flex;
  101. align-items: center;
  102. padding-left: 30rpx;
  103. }
  104. .heji_wrap .total_price{
  105. padding-left: 40rpx;
  106. font-size: 38rpx;
  107. color: #000000;
  108. }
  109. .heji_wrap .total_price .unit{
  110. font-size: 26rpx;
  111. }
  112. .heji_wrap .heji_r{
  113. /* flex: 1; */
  114. margin-left: 58rpx;
  115. }
  116. .heji_wrap .heji_btn{
  117. width: 198rpx;
  118. height: 100rpx;
  119. color: #FFFFFF;
  120. background: #295C56;
  121. display: flex;
  122. align-items: center;
  123. justify-content: center;
  124. }
  125. /* 商品 */
  126. .goods_wrap{
  127. width: 100%;
  128. display: flex;
  129. }
  130. .goods_wrap_l{
  131. width: 176rpx;
  132. background: #F6F6F6;
  133. }
  134. .goods_wrap_l .cate_item{
  135. padding-left: 30rpx;
  136. height: 98rpx;
  137. /* line-height: 98rpx; */
  138. font-size: 28rpx;
  139. color: rgba(8,8,8,.54);
  140. display: flex;
  141. align-items: center;
  142. }
  143. .goods_wrap_l .cate_item.active{
  144. background: #295C56;
  145. color: #FFFFFF;
  146. border-radius: 0 10rpx 10rpx 0;
  147. }
  148. .goods_wrap_r{
  149. width: 574rpx;
  150. flex: 1;
  151. padding: 30rpx 30rpx 30rpx 15rpx;
  152. padding-top: 0;
  153. }
  154. .goods_wrap_r .goods_ad{
  155. width: 544rpx;
  156. height: 265rpx;
  157. border-radius: 5rpx;
  158. }
  159. .goods_list_w .cate_name{
  160. font-size: 28rpx;
  161. color: rgba(8,8,8,.54);
  162. padding-top: 26rpx;
  163. }
  164. /* 步进器 */
  165. .stepper .step_input {
  166. /* height: 24rpx; */
  167. height: 42rpx;
  168. line-height: 24rpx;
  169. padding-top: 0;
  170. font-size: 26rpx;
  171. color: rgba(0, 0, 0, 1);
  172. background: none;
  173. }
  174. .stepper .plus,.stepper .minus{
  175. border-radius: 50%;
  176. overflow: hidden;
  177. vertical-align: bottom;
  178. width: 42rpx;
  179. height: 42rpx;
  180. }
  181. /* .stepper .plus{
  182. color: #333333;
  183. border: 1px solid #FFD102;
  184. background: #FFD102;
  185. }
  186. .stepper .minus{
  187. border: 1px solid #FFD102;
  188. color: rgba(0, 0, 0, 1);
  189. background: #fff;
  190. } */
  191. /* 规格 */
  192. .guige_wrap{
  193. width: 670rpx;
  194. border-radius: 10rpx;
  195. margin: 0 auto;
  196. position: fixed;
  197. top: 50%;
  198. left: 50%;
  199. transform: translate(-50%,-50%);
  200. z-index: 5;
  201. }
  202. .guige{
  203. width: 670rpx;
  204. padding-bottom: 38rpx;
  205. background: #FFFFFF;
  206. }
  207. .guige .goods_thumb_wrap{
  208. width: 670rpx;
  209. height: auto;
  210. position: relative;
  211. }
  212. .guige .goods_thumb_wrap .line{
  213. width: 670rpx;
  214. height: 30rpx;
  215. position: absolute;
  216. bottom: 0;
  217. left: 0;
  218. background-repeat: repeat-x;
  219. background-size: 18rpx 30rpx;
  220. }
  221. .guige .goods_thumb{
  222. width: 670rpx;
  223. /* width: 500rpx; */
  224. height: auto;
  225. display: block;
  226. margin: 0 auto;
  227. }
  228. .guige .goods_name{
  229. padding: 20rpx 30rpx 0;
  230. font-size: 30rpx;
  231. color: #080808;
  232. display: flex;
  233. align-items: center;
  234. justify-content: space-between;
  235. }
  236. .guige .goods_labels{
  237. padding: 0 30rpx;
  238. font-size: 24rpx;
  239. color: rgba(8,8,8,.54);
  240. display: flex;
  241. flex-wrap: wrap;
  242. }
  243. .guige .goods_labels .label{
  244. padding: 6rpx;
  245. background: #F6F6F6;
  246. margin: 10rpx 14rpx 0 0;
  247. }
  248. .guige .goods_desc{
  249. padding: 10rpx 30rpx 0;
  250. }
  251. .guige .goods_desc .goods_desc_name{
  252. font-size: 26rpx;
  253. color: rgba(51,51,51,.54);
  254. }
  255. .guige .goods_desc .goods_desc_nr{
  256. /* padding-top: 20rpx; */
  257. font-size: 24rpx;
  258. color: rgba(8,8,8,.54);
  259. }
  260. .guige .goods_guige{
  261. padding: 20rpx 30rpx 0;
  262. }
  263. .guige .goods_guige .goods_guige_name{
  264. font-size: 26rpx;
  265. color: rgba(51,51,51,.54);
  266. }
  267. .guige .goods_guige .goods_guige_nr{
  268. display: flex;
  269. flex-wrap: wrap;
  270. }
  271. .guige .guige_item{
  272. height: 59rpx;
  273. font-size: 24rpx;
  274. color: #333333;
  275. background: #FFFFFF;
  276. border: 1rpx solid rgba(0, 0, 0, .12);
  277. border-radius: 5rpx;
  278. display: flex;
  279. align-items: center;
  280. margin: 20rpx 20rpx 0 0;
  281. }
  282. .guige .guige_item:last-child{
  283. margin-right: 0;
  284. }
  285. .guige .guige_item .item_wenzi{
  286. display: flex;
  287. }
  288. .guige .guige_item .item_wenzi text{
  289. padding: 0 16rpx 0 12rpx;
  290. display: flex;
  291. align-items: center;
  292. }
  293. .guige .guige_item .item_wenzi text:not(:last-child)::after{
  294. content: "";
  295. display: block;
  296. width: 2rpx;
  297. height: 16rpx;
  298. background: rgba(0, 0, 0, .12);
  299. margin-left: 16rpx;
  300. }
  301. .guige .guige_item .price{
  302. padding: 0 18rpx;
  303. font-size: 28rpx;
  304. border-left: 1rpx solid rgba(0, 0, 0, .12);
  305. }
  306. .guige .guige_item .price .unit{
  307. font-size: 20rpx;
  308. }
  309. .guige .guige_item.selected{
  310. background: #FFFBF0;
  311. border-color: #ED8C17;
  312. color: #ED8C17;
  313. }
  314. /* .guige .guige_item.selected .item_wenzi text:not(:last-child)::after{
  315. background: #D54C43;
  316. } */
  317. .guige .guige_item.selected .price{
  318. color: #EA4335;
  319. border-left-color: #ED8C17;
  320. }
  321. .guige .guige_selected{
  322. margin-top: 20rpx;
  323. height: 60rpx;
  324. background: #FAFAFA;
  325. border: 1rpx solid rgba(0, 0, 0, .05);
  326. border-left: 0 none;
  327. border-right: 0 none;
  328. padding: 0rpx 30rpx;
  329. display: flex;
  330. align-items: center;
  331. font-size: 26rpx;
  332. color: #000000;
  333. }
  334. .guige .guige_selected .label{
  335. color: rgba(0,0,0,.54);
  336. }
  337. .guige .guige_b{
  338. margin-top: 30rpx;
  339. padding: 0 30rpx;
  340. display: flex;
  341. align-items: center;
  342. justify-content: space-between;
  343. }
  344. .guige .guige_b .guige_b_l{
  345. font-size: 26rpx;
  346. color: #000000;
  347. }
  348. .guige .guige_b .price{
  349. font-size: 38rpx;
  350. color: #EA4335;
  351. padding-left: 10rpx;
  352. }
  353. .guige .guige_b .price .unit{
  354. font-size: 22rpx;
  355. }
  356. .guige .guige_b .item{
  357. font-size: 24rpx;
  358. color: rgba(0, 0, 0, .54);
  359. }
  360. .guige .guige_b .guige_b_r{
  361. width: 350rpx;
  362. height: 90rpx;
  363. background: #D54C43;
  364. border-radius: 45rpx;
  365. font-size: 34rpx;
  366. color: #FFFFFF;
  367. display: flex;
  368. align-items: center;
  369. justify-content: center;
  370. }
  371. .guige_wrap .btn_close{
  372. width: 100%;
  373. }
  374. .guige_wrap .btn_close .van-icon{
  375. /* width: 56rpx;
  376. height: 56rpx; */
  377. display: block;
  378. margin: 36rpx auto;
  379. }
  380. /* 购物车 */
  381. .shopcar_wrap{
  382. width: 750rpx;
  383. padding: 0 0 130rpx;
  384. border-radius: 20rpx 20rpx 0rpx 0rpx;
  385. background: #FFFFFF;
  386. position: fixed;
  387. bottom: 0;
  388. left: 0;
  389. z-index: 2;
  390. }
  391. /* .shopcar_wrap::after{
  392. content: "";
  393. display: block;
  394. width: 0;
  395. height: 0;
  396. border: 16rpx solid transparent;
  397. border-bottom-color: #FFFFFF;
  398. position: absolute;
  399. top: -30rpx;
  400. left: 60rpx;
  401. } */
  402. .shopcar .shopcar_t{
  403. padding: 0 30rpx;
  404. display: flex;
  405. align-items: center;
  406. justify-content: space-between;
  407. padding-top: 25rpx;
  408. font-size: 26rpx;
  409. color: #080808;
  410. }
  411. .shopcar .shopcar_t .shopcar_t_r{
  412. display: flex;
  413. align-items: center;
  414. font-size: 24rpx;
  415. color: rgba(8,8,8,.54);
  416. }
  417. .shopcar .shopcar_t .icon_empty{
  418. width: 21rpx;
  419. height: 23rpx;
  420. margin-right: 6rpx;
  421. }
  422. .shopcar .goods_scroll{
  423. height: 560rpx;
  424. }
  425. .shopcar .goods_list{
  426. padding: 0 30rpx;
  427. }
  428. .shopcar .goods_list .goods_item .goods_tu{
  429. width: 138rpx;
  430. height: 138rpx;
  431. }
  432. .shopcar .goods_list .goods_item .goods_info{
  433. min-height: 160rpx;
  434. display: flex;
  435. flex-direction: column;
  436. justify-content: space-between;
  437. }
  438. /* 购物车按钮 */
  439. .cart_w{
  440. /* position: fixed;
  441. left: 40rpx;
  442. z-index: 4; */
  443. position: relative;
  444. }
  445. .cart_w .cart_tu{
  446. width: 120rpx;
  447. height: 122rpx;
  448. margin-top: -30rpx;
  449. }
  450. .cart_w .goods_num{
  451. min-width: 34rpx;
  452. height: 34rpx;
  453. border-radius: 50%;
  454. background: #FFD102;
  455. display: flex;
  456. align-items: center;
  457. justify-content: center;
  458. position: absolute;
  459. top: -28rpx;
  460. right: 16rpx;
  461. font-size: 24rpx;
  462. font-weight: bold;
  463. color: #000000;
  464. }
  465. /* 外卖 */
  466. .store_wrap .store_l.takeout{
  467. display: block;
  468. width: 450rpx;
  469. }
  470. .store_wrap .takeout .user_address{
  471. display: flex;
  472. align-items: center;
  473. font-size: 30rpx;
  474. }
  475. .store_wrap .takeout .store_t_info{
  476. padding-left: 0;
  477. display: flex;
  478. align-items: center;
  479. font-size: 28rpx;
  480. color: rgba(51,51,51,.87);
  481. }
  482. .store_wrap .takeout .store_t_info .wenzi{
  483. color: rgba(51,51,51,.54);
  484. padding-right: 10rpx;
  485. }
  486. .store_wrap .takeout .store_t_info .name{
  487. padding-right: 4rpx;
  488. }
  489. .store_t_info .icon_change{
  490. width: 25rpx;
  491. height: 19rpx;
  492. margin-left: 10rpx;
  493. }
  494. /* 配送方式 */
  495. .fare_w{
  496. position: absolute;
  497. left: 50%;
  498. top: 50%;
  499. transform: translate(-50%,-50%);
  500. color: #FFFFFF;
  501. font-size: 36rpx;
  502. text-align: center;
  503. }
  504. .fare_w .type{
  505. display: flex;
  506. position: relative;
  507. margin: 40rpx 0;
  508. }
  509. .fare_w .type .type_item{
  510. width: 257rpx;
  511. height: 210rpx;
  512. color: #333333;
  513. padding: 30rpx 0 0 30rpx;
  514. text-align: left;
  515. }
  516. .fare_w .type .type_item.waimai{
  517. position: absolute;
  518. top: 0;
  519. left: 0;
  520. }
  521. .fare_w .type .type_item.ziqu{
  522. position: absolute;
  523. top: 0;
  524. right: 0;
  525. }
  526. .fare_w .type_bg{
  527. width: 602rpx;
  528. height: 212rpx;
  529. }
  530. /* 二级分类 */
  531. .erji_cate{
  532. display: flex;
  533. align-items: center;
  534. font-size: 28rpx;
  535. color: rgba(8,8,8,.54);
  536. /* position: fixed;
  537. top: 0; */
  538. background: #ffffff;
  539. z-index: 16;
  540. width: 100%;
  541. height: 80rpx;
  542. }
  543. .erji_cate .cate_item{
  544. padding: 4rpx;
  545. background: #F6F6F6;
  546. margin-left: 20rpx;
  547. }
  548. .erji_cate .cate_item.active{
  549. background: #295C56;
  550. color: #FFFFFF;
  551. }
  552. /* 会员价 */
  553. .goods_list .goods_item .goods_specs .price .vip{
  554. /* position: relative;
  555. width: 57rpx; */
  556. /* height: 20rpx; */
  557. /* padding: 2rpx; */
  558. /* line-height: 20rpx; */
  559. /* background: #FFD102;
  560. color: #333333;
  561. font-size: 18rpx;
  562. text-align: center;
  563. display: inline-block;
  564. margin-left: 4rpx; */
  565. padding: 4rpx 10rpx;
  566. font-size: 20rpx;
  567. /* font-weight: bold; */
  568. background: #FFFFFF;
  569. border: 1px solid #F1A223;
  570. border-radius: 14px;
  571. display: flex;
  572. align-items: center;
  573. justify-content: center;
  574. color: #F1A223;
  575. }
  576. .guige .guige_b .guige_b_l .vip{
  577. padding-left: 8rpx;
  578. }
  579. /* .guige .guige_item .price .vip{
  580. font-size: 18rpx;
  581. padding-left: 4rpx;
  582. }
  583. .guige .guige_b .price .vip{
  584. font-size: 18rpx;
  585. padding-left: 4rpx;
  586. }*/
  587. .heji_wrap .total_price .vip{
  588. padding-left: 8rpx;
  589. }
  590. /* 规格加总数 */
  591. .topNum_w{
  592. position: relative;
  593. }
  594. .topNum_w .topNum{
  595. position: absolute;
  596. top: -20rpx;
  597. right: -8rpx;
  598. min-width: 34rpx;
  599. height: 34rpx;
  600. background: #F1A223;
  601. font-size: 24rpx;
  602. color: #FFFFFF;
  603. border-radius: 50%;
  604. display: flex;
  605. align-items: center;
  606. justify-content: center;
  607. }
  608. /* 未营业 */
  609. .heji_wrap .heji_btn.un_open{
  610. background: rgba(0,0,0,.2);
  611. }
  612. /* 不参与活动的提示 */
  613. .use_coupon{
  614. width: 100%;
  615. padding: 12rpx 14rpx;
  616. background: #F6F6F6;
  617. border-radius: 5rpx;
  618. font-size: 24rpx;
  619. color: rgba(8,8,8,.54);
  620. }