index.wxss 17 KB

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