index.wxss 16 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006
  1. /**index.wxss**/
  2. page {
  3. background: #F6F6F6;
  4. height: auto;
  5. position: relative;
  6. }
  7. scroll-view::-webkit-scrollbar{
  8. display: none;
  9. width: 0;
  10. height: 0;
  11. color: transparent;
  12. }
  13. /* 前后衔接样式 */
  14. /* .bg-box{
  15. position: absolute;
  16. z-index: -1;
  17. top: 0;
  18. left: 0;
  19. width: 100%;
  20. height: 524rpx;
  21. }
  22. .bg{
  23. position: relative;
  24. width: 100%;
  25. height: 524rpx;
  26. vertical-align: bottom;
  27. }
  28. .bg-box .white-block{
  29. position: absolute;
  30. left: 0;
  31. bottom: 0;
  32. width: 100%;
  33. height: 70rpx;
  34. background: linear-gradient( 180deg, rgba(255,255,255,0) 0%, rgba(248,248,248,0.52) 39%, #F6F6F6 100%);
  35. } */
  36. .bg-box{
  37. position: absolute;
  38. z-index: 1;
  39. top: 0;
  40. left: 0;
  41. width: 100%;
  42. height: 492rpx;
  43. }
  44. .bg{
  45. position: relative;
  46. width: 100%;
  47. height: 492rpx;
  48. vertical-align: bottom;
  49. }
  50. .bg-box .white-block{
  51. position: absolute;
  52. left: 0;
  53. bottom: 0;
  54. width: 100%;
  55. height: 70rpx;
  56. background: linear-gradient( 180deg, rgba(255,255,255,0) 0%, rgba(248,248,248,0.52) 39%, #F6F6F6 100%);
  57. }
  58. .swiper-box{
  59. /* 图片衔接就是要宽2像素才行 */
  60. /* width: 704rpx!important; */
  61. width: 702rpx!important;
  62. height: 276rpx;
  63. border-radius: 16rpx;
  64. position: absolute;
  65. left: 24rpx;
  66. bottom: -38rpx;
  67. }
  68. .swiper-box swiper-item{
  69. width: 702rpx!important;
  70. }
  71. .swiper-box swiper-item .block{
  72. height: 276rpx;
  73. width: 702rpx;
  74. vertical-align: bottom;
  75. }
  76. /* 轮播图及搜索框 */
  77. swiper {
  78. width: 100%;
  79. /* height: 400rpx; */
  80. overflow: hidden;
  81. }
  82. swiper.pic-swiper {
  83. margin-top: 101rpx;
  84. padding: 10rpx 0;
  85. background: #fff;
  86. height: 400rpx;
  87. }
  88. swiper-item {
  89. font-size: 26rpx;
  90. font-weight: bold;
  91. }
  92. swiper.pic-swiper .img-box {
  93. font-size: 0;
  94. }
  95. .wx-swiper-dots {
  96. margin-bottom: 15rpx;
  97. }
  98. .banner-item {
  99. box-sizing: border-box;
  100. }
  101. .banner-item .img-box {
  102. width: 100%;
  103. height: 100%;
  104. box-sizing: border-box;
  105. padding: 20rpx 10rpx;
  106. }
  107. .banner-item .img-box image {
  108. border-radius: 8rpx;
  109. box-shadow: 0 4px 10px 0 rgba(83, 83, 83, 0.288);
  110. }
  111. swiper.pic-swiper .banner {
  112. position: absolute;
  113. width: 690rpx;
  114. margin: 0 10rpx;
  115. height: 388rpx;
  116. border-radius: 8rpx;
  117. display: inline-block;
  118. box-shadow: 0 4px 10px 0 rgba(83, 83, 83, 0.288);
  119. }
  120. .top-navbar-box {
  121. display: flex;
  122. align-items: center;
  123. margin-left: 20rpx;
  124. color: #fff;
  125. }
  126. .top-navbar-box .shop-title {
  127. font-weight: bold;
  128. font-size: 36rpx;
  129. }
  130. .top-navbar-box .shop-info{
  131. color: #fff;
  132. }
  133. .shop-info {
  134. margin-left: 12rpx;
  135. display: flex;
  136. font-weight: bold;
  137. font-size: 24rpx;
  138. }
  139. .search-box {
  140. display: flex;
  141. padding-bottom: 20rpx;
  142. margin-top: 20rpx;
  143. position: relative;
  144. z-index: 99;
  145. }
  146. .top-search-input {
  147. margin-left: 20rpx;
  148. display: flex;
  149. align-items: center;
  150. width: 500rpx;
  151. border: 2rpx solid #006CE8;
  152. border-radius: 40rpx;
  153. height: 60rpx;
  154. background: #fff;
  155. box-sizing: border-box;
  156. }
  157. .top-search-swiper {
  158. height: 60rpx;
  159. line-height: 60rpx;
  160. margin-top: 0;
  161. font-size: 24rpx;
  162. color: #AAAAAA;
  163. margin-left: 28rpx;
  164. }
  165. .top-search-line {
  166. color: #DEDEDE;
  167. margin-right: 16rpx;
  168. }
  169. .top-search-text {
  170. width: 100rpx;
  171. font-weight: bold;
  172. font-size: 24rpx;
  173. color: #006CE8;
  174. }
  175. .search-input {
  176. display: flex;
  177. align-items: center;
  178. width: 702rpx;
  179. /* border: 2rpx solid #006CE8; */
  180. border-radius: 40rpx;
  181. height: 60rpx;
  182. background: #fff;
  183. }
  184. .search-swiper {
  185. height: 60rpx;
  186. line-height: 60rpx;
  187. margin-top: 0;
  188. font-weight: normal;
  189. font-size: 24rpx;
  190. color: #AAAAAA;
  191. margin-left: 28rpx;
  192. }
  193. .search-line {
  194. color: #DEDEDE;
  195. margin-right: 16rpx;
  196. }
  197. .search-text {
  198. width: 100rpx;
  199. line-height: 50rpx;
  200. text-align: center;
  201. border-radius: 25rpx;
  202. font-weight: bold;
  203. font-size: 28rpx;
  204. color: #FFF;
  205. background: #006CE8;
  206. margin-right: 10rpx;
  207. }
  208. .top-share {
  209. position: relative;
  210. text-align: center;
  211. margin-left: 16rpx;
  212. }
  213. .share-btn {
  214. position: absolute;
  215. top: 0;
  216. left: 0;
  217. height: 90rpx;
  218. text-align: center;
  219. background-color: transparent;
  220. /*按钮透明*/
  221. border: none;
  222. }
  223. .share-btn::after {
  224. border: none;
  225. }
  226. .share-text {
  227. font-weight: normal;
  228. font-size: 22rpx;
  229. color: #fff;
  230. white-space: nowrap;
  231. }
  232. .recommended-box {
  233. /* height: 80rpx; */
  234. margin-bottom: 20rpx;
  235. position: absolute;
  236. left: 24rpx;
  237. top: 254rpx;
  238. width: 726rpx;
  239. }
  240. .recommended-swiper {
  241. /* height: 80rpx; */
  242. white-space: nowrap;
  243. }
  244. .recommended-text {
  245. margin-left: 20rpx;
  246. display: inline-block;
  247. padding: 6rpx 12rpx;
  248. background: rgba(255, 255, 255, .5);
  249. text-align: center;
  250. border-radius: 22rpx 22rpx 22rpx 22rpx;
  251. font-size: 24rpx;
  252. color: #222222;
  253. }
  254. .container{
  255. padding-left:24rpx;
  256. padding-right: 24rpx;
  257. }
  258. .container .bg-sear {
  259. position: fixed;
  260. z-index: 999;
  261. width: 100%;
  262. line-height: 56rpx;
  263. background: #fff;
  264. padding: 20rpx 0;
  265. text-align: center;
  266. top: 0;
  267. }
  268. .bg-sear .section {
  269. display: flex;
  270. justify-content: center;
  271. align-items: center;
  272. height: 60rpx;
  273. background: #fff;
  274. z-index: 1;
  275. border-radius: 50rpx;
  276. width: 92%;
  277. margin: auto;
  278. left: 4%;
  279. background: #eeeeee;
  280. }
  281. .bg-sear .section .placeholder {
  282. display: block;
  283. font-size: 28rpx;
  284. color: #999;
  285. }
  286. .bg-sear .section .search-img {
  287. width: 32rpx;
  288. height: 32rpx;
  289. margin-right: 10rpx;
  290. }
  291. /* 分类栏目 */
  292. .swiper-grid-box {
  293. /* padding: 16rpx 0; */
  294. margin-bottom: 20rpx;
  295. border-radius: 16rpx;
  296. background: #fff;
  297. margin-top: 296rpx;
  298. /* margin-top: 300rpx; */
  299. }
  300. .swiper-grid-box .grid-box .van-grid{
  301. border-radius: 16rpx;
  302. }
  303. .grid-box{
  304. display: grid;
  305. /* 列规则:5列等宽(1fr 代表"剩余空间等份分配") */
  306. grid-template-columns: repeat(5, 1fr);
  307. /* 行列间距:10rpx(小程序常用 rpx 适配多端) */
  308. gap: 16rpx;
  309. /* 容器内边距:避免网格贴边 */
  310. padding: 20rpx 0;
  311. }
  312. .grid-box,.swiper-grid{
  313. /* padding-top: 20rpx; */
  314. }
  315. .swiper-grid {
  316. margin-top: -10rpx;
  317. border-radius: 16rpx;
  318. background-color: #fff;
  319. height: 175rpx;
  320. }
  321. .my-grid-item{
  322. position: relative;
  323. text-align: center;
  324. margin-bottom: 20rpx;
  325. display: flex;
  326. flex-direction: column;
  327. align-items: center;
  328. }
  329. .my-grid-item .van-grid-item__content {
  330. padding: 0rpx;
  331. /* margin-top: 20rpx; */
  332. padding-top: 30rpx;
  333. }
  334. .my-grid-item .label{
  335. font-size: 16rpx;
  336. color: #FFFFFF;
  337. padding: 4rpx 8rpx;
  338. border-radius: 14rpx;
  339. background: #FF5030;
  340. position: absolute;
  341. left: 50%;
  342. top:0rpx;
  343. white-space: nowrap;
  344. }
  345. .swiper-grid-image{
  346. width:100rpx;
  347. height:100rpx;
  348. border-radius: 32rpx;
  349. }
  350. .pic-box{
  351. position: relative;
  352. }
  353. .grid-box .my-grid-item .sell-out-box{
  354. position: absolute;
  355. left: 0;
  356. top: 0;
  357. width:100rpx;
  358. height:100rpx;
  359. border-radius: 32rpx;
  360. background: rgba(0,0,0,0.6);
  361. display: flex;
  362. justify-content: center;
  363. align-items: center;
  364. }
  365. .grid-box .my-grid-item .sell-out-text{
  366. text-align: center;
  367. font-weight: bold;
  368. font-size: 24rpx;
  369. color: #FFFFFF;
  370. }
  371. .swiper-grid .swiper-grid-image{
  372. width:72rpx;
  373. height:72rpx;
  374. border-radius: 50%;
  375. }
  376. .swiper-grid .my-grid-item .sell-out-box{
  377. position: absolute;
  378. left: 0;
  379. top: 0;
  380. width:72rpx;
  381. height:72rpx;
  382. border-radius: 50%;
  383. background: rgba(0,0,0,0.6);
  384. display: flex;
  385. justify-content: center;
  386. align-items: center;
  387. }
  388. .swiper-grid .my-grid-item .sell-out-text{
  389. text-align: center;
  390. font-size: 18rpx;
  391. color: #FFFFFF;
  392. }
  393. .swiper-grid-text {
  394. font-weight: normal;
  395. font-size: 24rpx;
  396. color: #222222;
  397. overflow: hidden;
  398. white-space: nowrap;
  399. text-overflow: ellipsis;
  400. width: 120rpx;
  401. text-align: center;
  402. /* line-height:2.4; */
  403. letter-spacing: normal;
  404. margin-top: 12rpx;
  405. text-align: center;
  406. }
  407. .notice-box{
  408. display: flex;
  409. align-items: center;
  410. margin-bottom: 20rpx;
  411. padding: 20rpx 24rpx;
  412. background: #FFFFFF;
  413. border-radius: 16rpx 16rpx 16rpx 16rpx;
  414. }
  415. .notice-box .icon{
  416. width: 30rpx;
  417. height: 30rpx;
  418. }
  419. .notice-box .text{
  420. font-weight: bold;
  421. font-size: 24rpx;
  422. color: #222222;
  423. margin-left: 20rpx;
  424. }
  425. .adv{
  426. width: 100%;
  427. height: 236rpx;
  428. margin-bottom: 20rpx;
  429. }
  430. .bonus-box {
  431. display: flex;
  432. }
  433. .content-bonus {
  434. display: flex;
  435. align-items: center;
  436. justify-content: center;
  437. width: 192rpx;
  438. height: 64rpx;
  439. background: #FFFFFF;
  440. border-radius: 16rpx 16rpx 16rpx 16rpx;
  441. }
  442. .content-bonus+.content-bonus{
  443. margin-left: 20rpx;
  444. }
  445. .bonus-text {
  446. margin-left: 10rpx;
  447. font-size: 24rpx;
  448. }
  449. /*秒杀*/
  450. .seckill-box {
  451. margin: 20rpx;
  452. padding: 20rpx;
  453. background: linear-gradient(91deg, #FFEEEE 0%, #FFFFFF 18%, #FFFFFF 100%);
  454. display: flex;
  455. position: relative;
  456. overflow: hidden;
  457. }
  458. .seckill-time {
  459. width: 160rpx;
  460. text-align: center;
  461. }
  462. .seckill-title {
  463. font-weight: 800;
  464. font-size: 28rpx;
  465. }
  466. .more-icon {
  467. position: absolute;
  468. display: flex;
  469. align-items: center;
  470. height: 100%;
  471. top: 0;
  472. right: 0;
  473. width: 40rpx;
  474. background-color: #fff;
  475. }
  476. .times {
  477. margin-top: 8rpx;
  478. margin-bottom: 8rpx;
  479. font-size: 20rpx;
  480. color: #AAAAAA;
  481. }
  482. .seckill-content {
  483. display: flex;
  484. }
  485. .seckill-product-box {
  486. margin-left: 30rpx;
  487. }
  488. .seckill-Price {
  489. position: relative;
  490. font-weight: bold;
  491. font-size: 24rpx;
  492. color: #FF4A39;
  493. }
  494. .price-bg {
  495. position: absolute;
  496. }
  497. .price-num {
  498. position: absolute;
  499. left: 10rpx;
  500. }
  501. .custom-class {
  502. background-color: #FFFFFF;
  503. }
  504. .recommended-card {
  505. position: relative;
  506. margin: 20rpx 0;
  507. padding: 20rpx;
  508. background-color: #FFFFFF;
  509. display: flex;
  510. width: 670rpx;
  511. overflow: hidden;
  512. }
  513. .new-text {
  514. text-align: center;
  515. }
  516. .new-text-two {
  517. width: 120rpx;
  518. }
  519. .recommended-Price {
  520. text-align: center;
  521. height: 32rpx;
  522. background: #FFEEEC;
  523. border-radius: 16rpx;
  524. font-weight: bold;
  525. font-size: 24rpx;
  526. color: #FF4A39;
  527. }
  528. /* 分页分类 */
  529. .tab-box{
  530. white-space: nowrap;
  531. margin-bottom: 20rpx;
  532. overflow-x: auto;
  533. }
  534. .tab-box .tab{
  535. display: inline-block;
  536. font-size: 32rpx;
  537. color: #222222;
  538. margin-right: 44rpx;
  539. padding-bottom: 10rpx;
  540. }
  541. .tab-box .tab .icon{
  542. width: 105rpx;
  543. height: 29rpx;
  544. }
  545. .tab-box .tab.active{
  546. font-weight: 800;
  547. font-size: 36rpx;
  548. position: relative;
  549. }
  550. .tab-box .tab.active::after{
  551. content: '';
  552. display: block;
  553. width: 80rpx;
  554. height: 18rpx;
  555. background: linear-gradient( 90deg, #006CE8 0%, rgba(0,108,232,0.45) 43%, rgba(0,108,232,0.2) 79%, rgba(0,108,232,0) 100%);
  556. border-radius: 10rpx 10rpx 10rpx 10rpx;
  557. position: absolute;
  558. left: calc(50% - 40rpx);
  559. bottom: 0;
  560. }
  561. /* 每日上新 */
  562. .content {
  563. text-align: justify;
  564. display: flex;
  565. justify-content: space-between;
  566. }
  567. .reset-localization{
  568. text-align: center;
  569. font-size: 26rpx;
  570. color: #AAAAAA;
  571. }
  572. .swiper-card-box {
  573. margin-bottom: 20rpx;
  574. height: 470rpx;
  575. /* margin-left: 3%; */
  576. /* width: 96%; */
  577. width: 344rpx;
  578. }
  579. .wx-swiper-dots-horizontal .wx-swiper-dot {
  580. width: 24rpx;
  581. height: 8rpx;
  582. border-radius: 4rpx;
  583. }
  584. .swiper-card {
  585. /* margin-top: 10rpx; */
  586. height: 462rpx;
  587. background: #FFFFFF;
  588. border-radius: 16rpx;
  589. }
  590. .swiper-card-img {
  591. height: 462rpx;
  592. width: 344rpx;
  593. border-radius: 16rpx;
  594. vertical-align: bottom;
  595. }
  596. .item {
  597. background-color: #fff;
  598. /* margin-top: 20rpx; */
  599. margin-bottom: 14rpx;
  600. display: inline-block;
  601. width: 344rpx;
  602. border-radius: 16rpx;
  603. overflow: hidden;
  604. padding-bottom: 16rpx;
  605. position: relative;
  606. }
  607. .item .sell-out-box{
  608. position: absolute;
  609. top: 0;
  610. left: 0;
  611. border-radius: 16rpx;
  612. width: 344rpx;
  613. height: 100%;
  614. background: rgba(255,255,255,0.6);
  615. display: flex;
  616. align-items: center;
  617. justify-content: center;
  618. }
  619. .item .sell-out-text{
  620. width: 156rpx;
  621. height: 156rpx;
  622. line-height: 156rpx;
  623. border-radius: 50%;
  624. text-align: center;
  625. background: rgba(0,0,0,0.6);
  626. font-size: 28rpx;
  627. color: #FFFFFF;
  628. }
  629. .item-ava {
  630. width: 40rpx;
  631. height: 40rpx;
  632. border-radius: 16rpx;
  633. }
  634. .heart {
  635. display: flex;
  636. align-items: center;
  637. justify-content: space-between;
  638. margin-right: 8rpx;
  639. margin-top: 20rpx;
  640. }
  641. .name-price {
  642. display: flex;
  643. align-items: center;
  644. font-weight: 800;
  645. font-size: 36rpx;
  646. color: #FF4D3A;
  647. }
  648. .item-img {
  649. width: 100%;
  650. vertical-align: bottom;
  651. }
  652. .item-title {
  653. font-weight: bold;
  654. font-size: 28rpx;
  655. text-overflow: ellipsis;
  656. display: -webkit-box;
  657. -webkit-box-orient: vertical;
  658. -webkit-line-clamp: 2;
  659. overflow: hidden;
  660. font-family: 'PingFang SC-Medium';
  661. color: #1e1e1e;
  662. padding: 0 20rpx;
  663. /* height: 40rpx; */
  664. line-height: 40rpx;
  665. /* background-color: turquoise; */
  666. }
  667. .item .name {
  668. padding: 0 15rpx;
  669. margin-top: 20rpx;
  670. padding-bottom: 10rpx;
  671. align-items: center;
  672. font-size: 22rpx;
  673. font-family: 'PingFang SC-Medium';
  674. }
  675. .name image {
  676. flex: 0 0 auto;
  677. }
  678. .item-title-box {
  679. display: flex;
  680. position: relative;
  681. z-index: 2;
  682. }
  683. .name-title {
  684. font-weight: normal;
  685. font-size: 22rpx;
  686. color: #AAAAAA;
  687. }
  688. .tag-box{
  689. display: flex;
  690. }
  691. .tag-box .tag{
  692. width: 68rpx;
  693. height: 32rpx;
  694. line-height: 32rpx;
  695. text-align: center;
  696. background: #FFF1E2;
  697. border-radius: 8rpx 8rpx 8rpx 8rpx;
  698. border: 1rpx solid #006CE8;
  699. font-size: 22rpx;
  700. color: #006CE8;
  701. }
  702. .tag-box .text{
  703. font-size: 22rpx;
  704. color: #BC9264;
  705. margin-left: 10rpx;
  706. }
  707. .name text:last-child {
  708. color: #c4c4c4;
  709. text-decoration: underline;
  710. line-height: 10rpx;
  711. }
  712. .rank-box{
  713. display: flex;
  714. align-items: center;
  715. background: #FCECDA;
  716. border-radius: 8rpx 8rpx 8rpx 8rpx;
  717. margin-top: 10rpx;
  718. }
  719. .rank-box .icon{
  720. width: 40rpx;
  721. height: 44rpx;
  722. }
  723. .rank-box .text{
  724. font-size: 22rpx;
  725. color: #BC9264;
  726. margin-left: 10rpx;
  727. }
  728. .rank-box .top{
  729. width: 72rpx;
  730. height: 36rpx;
  731. }
  732. .left,
  733. .right {
  734. display: inline-block;
  735. vertical-align: top;
  736. width: 344rpx;
  737. }
  738. .stepper-box {
  739. display: flex;
  740. align-items: center;
  741. }
  742. .stepper-minus {
  743. width: 40rpx;
  744. height: 40rpx;
  745. background-color: #F0F0F0;
  746. font-size: 40rpx;
  747. text-align: center;
  748. line-height: 40rpx;
  749. }
  750. .stepper-num {
  751. width: 80rpx;
  752. height: 40rpx;
  753. background-color: #F0F0F0;
  754. text-align: center;
  755. line-height: 40rpx;
  756. margin-left: 4rpx;
  757. }
  758. .stepper-add {
  759. margin-left: 4rpx;
  760. width: 40rpx;
  761. height: 40rpx;
  762. background-color: #F0F0F0;
  763. font-size: 40rpx;
  764. text-align: center;
  765. line-height: 40rpx;
  766. }
  767. .tips {
  768. height: 60rpx;
  769. line-height: 60rpx;
  770. text-align: center;
  771. font-size: 24rpx;
  772. color: #AAAAAA;
  773. }
  774. .loading-box{
  775. text-align: center;
  776. line-height: 80rpx;
  777. height: 80rpx;
  778. }
  779. .popup-box {
  780. padding: 20rpx;
  781. }
  782. .popup-detail {
  783. display: flex;
  784. align-items: center;
  785. }
  786. .shop-price {
  787. font-family: PingFang SC, PingFang SC;
  788. font-weight: 800;
  789. font-size: 48rpx;
  790. color: #FF4D3A;
  791. }
  792. .shop-detail {
  793. margin-top: 24rpx;
  794. display: flex;
  795. align-items: center;
  796. }
  797. .shop-isselect {
  798. font-weight: normal;
  799. font-size: 24rpx;
  800. color: #AAAAAA;
  801. }
  802. .shop-info {
  803. font-family: PingFang SC, PingFang SC;
  804. font-weight: 800;
  805. font-size: 24rpx;
  806. color: #222222;
  807. }
  808. .shop-address-info {
  809. width: 500rpx;
  810. overflow: hidden;
  811. white-space: nowrap;
  812. text-overflow: ellipsis;
  813. display: flex;
  814. align-items: center;
  815. font-size: 32rpx;
  816. }
  817. .position-icon{
  818. width: 36rpx;
  819. height: 36rpx;
  820. vertical-align: bottom;
  821. }
  822. .popup-line {
  823. border: 2rpx solid #F0F0F0;
  824. }
  825. .shop-color {
  826. margin-top: 28rpx;
  827. }
  828. .color-text {
  829. font-family: PingFang SC, PingFang SC;
  830. font-weight: 800;
  831. font-size: 28rpx;
  832. }
  833. .color-btn-box {
  834. display: flex;
  835. align-items: centers;
  836. margin-top: 10rpx;
  837. }
  838. .color-btn {
  839. width: 136rpx;
  840. height: 64rpx;
  841. background: #006CE8;
  842. border-radius: 32rpx;
  843. font-weight: normal;
  844. font-size: 28rpx;
  845. color: #FFFFFF;
  846. display: flex;
  847. align-items: center;
  848. justify-content: center;
  849. margin-right: 20rpx;
  850. }
  851. .popup-num-box {
  852. margin-top: 40rpx;
  853. display: flex;
  854. align-items: center;
  855. justify-content: space-between;
  856. }
  857. .bottom-button-box {
  858. background: #FFFFFF;
  859. box-shadow: 0rpx -6rpx 12rpx 2rpx rgba(0, 0, 0, 0.09);
  860. border-radius: 32rpx 32rpx 0rpx 0rpx;
  861. display: flex;
  862. justify-content: center;
  863. }
  864. .bottom-button {
  865. width: 702rpx;
  866. height: 80rpx;
  867. background: #006CE8;
  868. border-radius: 40rpx;
  869. margin-top: 30rpx;
  870. font-family: PingFang SC, PingFang SC;
  871. font-weight: bold;
  872. font-size: 28rpx;
  873. color: #FFFFFF;
  874. text-align: center;
  875. line-height: 80rpx;
  876. }
  877. /* 纵向滚动容器:隐藏垂直滚动条 */
  878. .tab-box::-webkit-scrollbar {
  879. width: 0; /* 滚动条宽度设为0(关键) */
  880. height: 0; /* 横向滚动时设置高度为0 */
  881. display: none; /* 直接隐藏 */
  882. }
  883. /* 可选:针对滚动轨道和滑块的进一步隐藏 */
  884. .tab-box::-webkit-scrollbar-track {
  885. display: none;
  886. }
  887. .tab-box::-webkit-scrollbar-thumb {
  888. display: none;
  889. }