index.wxss 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939
  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. }
  326. .my-grid-item .van-grid-item__content {
  327. padding: 0rpx;
  328. /* margin-top: 20rpx; */
  329. padding-top: 30rpx;
  330. }
  331. .my-grid-item .label{
  332. font-size: 16rpx;
  333. color: #FFFFFF;
  334. padding: 4rpx 8rpx;
  335. border-radius: 14rpx;
  336. background: #FF5030;
  337. position: absolute;
  338. left: 50%;
  339. top:0rpx;
  340. white-space: nowrap;
  341. }
  342. .swiper-grid-image{
  343. width:100rpx;
  344. height:100rpx;
  345. border-radius: 32rpx;
  346. }
  347. .swiper-grid .swiper-grid-image{
  348. width:72rpx;
  349. height:72rpx;
  350. border-radius: 50%;
  351. }
  352. .swiper-grid-text {
  353. font-weight: normal;
  354. font-size: 24rpx;
  355. color: #222222;
  356. overflow: hidden;
  357. white-space: nowrap;
  358. text-overflow: ellipsis;
  359. width: 120rpx;
  360. text-align: center;
  361. /* line-height:2.4; */
  362. letter-spacing: normal;
  363. margin-top: 24rpx;
  364. }
  365. .notice-box{
  366. display: flex;
  367. align-items: center;
  368. margin-bottom: 20rpx;
  369. padding: 20rpx 24rpx;
  370. background: #FFFFFF;
  371. border-radius: 16rpx 16rpx 16rpx 16rpx;
  372. }
  373. .notice-box .icon{
  374. width: 30rpx;
  375. height: 30rpx;
  376. }
  377. .notice-box .text{
  378. font-weight: bold;
  379. font-size: 24rpx;
  380. color: #222222;
  381. margin-left: 20rpx;
  382. }
  383. .adv{
  384. width: 100%;
  385. height: 236rpx;
  386. margin-bottom: 20rpx;
  387. }
  388. .bonus-box {
  389. display: flex;
  390. }
  391. .content-bonus {
  392. display: flex;
  393. align-items: center;
  394. justify-content: center;
  395. width: 192rpx;
  396. height: 64rpx;
  397. background: #FFFFFF;
  398. border-radius: 16rpx 16rpx 16rpx 16rpx;
  399. }
  400. .content-bonus+.content-bonus{
  401. margin-left: 20rpx;
  402. }
  403. .bonus-text {
  404. margin-left: 10rpx;
  405. font-size: 24rpx;
  406. }
  407. /*秒杀*/
  408. .seckill-box {
  409. margin: 20rpx;
  410. padding: 20rpx;
  411. background: linear-gradient(91deg, #FFEEEE 0%, #FFFFFF 18%, #FFFFFF 100%);
  412. display: flex;
  413. position: relative;
  414. overflow: hidden;
  415. }
  416. .seckill-time {
  417. width: 160rpx;
  418. text-align: center;
  419. }
  420. .seckill-title {
  421. font-weight: 800;
  422. font-size: 28rpx;
  423. }
  424. .more-icon {
  425. position: absolute;
  426. display: flex;
  427. align-items: center;
  428. height: 100%;
  429. top: 0;
  430. right: 0;
  431. width: 40rpx;
  432. background-color: #fff;
  433. }
  434. .times {
  435. margin-top: 8rpx;
  436. margin-bottom: 8rpx;
  437. font-size: 20rpx;
  438. color: #AAAAAA;
  439. }
  440. .seckill-content {
  441. display: flex;
  442. }
  443. .seckill-product-box {
  444. margin-left: 30rpx;
  445. }
  446. .seckill-Price {
  447. position: relative;
  448. font-weight: bold;
  449. font-size: 24rpx;
  450. color: #FF4A39;
  451. }
  452. .price-bg {
  453. position: absolute;
  454. }
  455. .price-num {
  456. position: absolute;
  457. left: 10rpx;
  458. }
  459. .custom-class {
  460. background-color: #FFFFFF;
  461. }
  462. .recommended-card {
  463. position: relative;
  464. margin: 20rpx 0;
  465. padding: 20rpx;
  466. background-color: #FFFFFF;
  467. display: flex;
  468. width: 670rpx;
  469. overflow: hidden;
  470. }
  471. .new-text {
  472. text-align: center;
  473. }
  474. .new-text-two {
  475. width: 120rpx;
  476. }
  477. .recommended-Price {
  478. text-align: center;
  479. height: 32rpx;
  480. background: #FFEEEC;
  481. border-radius: 16rpx;
  482. font-weight: bold;
  483. font-size: 24rpx;
  484. color: #FF4A39;
  485. }
  486. /* 分页分类 */
  487. .tab-box{
  488. white-space: nowrap;
  489. margin-bottom: 20rpx;
  490. overflow-x: auto;
  491. }
  492. .tab-box .tab{
  493. display: inline-block;
  494. font-size: 32rpx;
  495. color: #222222;
  496. margin-right: 44rpx;
  497. padding-bottom: 10rpx;
  498. }
  499. .tab-box .tab .icon{
  500. width: 105rpx;
  501. height: 29rpx;
  502. }
  503. .tab-box .tab.active{
  504. font-weight: 800;
  505. font-size: 36rpx;
  506. position: relative;
  507. }
  508. .tab-box .tab.active::after{
  509. content: '';
  510. display: block;
  511. width: 80rpx;
  512. height: 18rpx;
  513. 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%);
  514. border-radius: 10rpx 10rpx 10rpx 10rpx;
  515. position: absolute;
  516. left: calc(50% - 40rpx);
  517. bottom: 0;
  518. }
  519. /* 每日上新 */
  520. .content {
  521. text-align: justify;
  522. display: flex;
  523. justify-content: space-between;
  524. }
  525. .reset-localization{
  526. text-align: center;
  527. font-size: 26rpx;
  528. color: #AAAAAA;
  529. }
  530. .swiper-card-box {
  531. margin-bottom: 20rpx;
  532. height: 470rpx;
  533. /* margin-left: 3%; */
  534. /* width: 96%; */
  535. width: 344rpx;
  536. }
  537. .wx-swiper-dots-horizontal .wx-swiper-dot {
  538. width: 24rpx;
  539. height: 8rpx;
  540. border-radius: 4rpx;
  541. }
  542. .swiper-card {
  543. /* margin-top: 10rpx; */
  544. height: 462rpx;
  545. background: #FFFFFF;
  546. border-radius: 16rpx;
  547. }
  548. .swiper-card-img {
  549. height: 462rpx;
  550. width: 344rpx;
  551. border-radius: 16rpx;
  552. vertical-align: bottom;
  553. }
  554. .item {
  555. background-color: #fff;
  556. /* margin-top: 20rpx; */
  557. margin-bottom: 14rpx;
  558. display: inline-block;
  559. width: 344rpx;
  560. border-radius: 16rpx;
  561. overflow: hidden;
  562. padding-bottom: 16rpx;
  563. }
  564. .item-ava {
  565. width: 40rpx;
  566. height: 40rpx;
  567. border-radius: 16rpx;
  568. }
  569. .heart {
  570. display: flex;
  571. align-items: center;
  572. justify-content: space-between;
  573. margin-right: 8rpx;
  574. margin-top: 20rpx;
  575. }
  576. .name-price {
  577. display: flex;
  578. align-items: center;
  579. font-weight: 800;
  580. font-size: 36rpx;
  581. color: #FF4D3A;
  582. }
  583. .item-img {
  584. width: 100%;
  585. vertical-align: bottom;
  586. }
  587. .item-title {
  588. font-weight: bold;
  589. font-size: 28rpx;
  590. text-overflow: ellipsis;
  591. display: -webkit-box;
  592. -webkit-box-orient: vertical;
  593. -webkit-line-clamp: 2;
  594. overflow: hidden;
  595. font-family: 'PingFang SC-Medium';
  596. color: #1e1e1e;
  597. padding: 0 20rpx;
  598. /* height: 40rpx; */
  599. line-height: 40rpx;
  600. /* background-color: turquoise; */
  601. }
  602. .item .name {
  603. padding: 0 15rpx;
  604. margin-top: 20rpx;
  605. padding-bottom: 10rpx;
  606. align-items: center;
  607. font-size: 22rpx;
  608. font-family: 'PingFang SC-Medium';
  609. }
  610. .name image {
  611. flex: 0 0 auto;
  612. }
  613. .item-title-box {
  614. display: flex;
  615. position: relative;
  616. z-index: 2;
  617. }
  618. .name-title {
  619. font-weight: normal;
  620. font-size: 22rpx;
  621. color: #AAAAAA;
  622. }
  623. .tag-box{
  624. display: flex;
  625. }
  626. .tag-box .tag{
  627. width: 68rpx;
  628. height: 32rpx;
  629. line-height: 32rpx;
  630. text-align: center;
  631. background: #FFF1E2;
  632. border-radius: 8rpx 8rpx 8rpx 8rpx;
  633. border: 1rpx solid #006CE8;
  634. font-size: 22rpx;
  635. color: #006CE8;
  636. }
  637. .tag-box .text{
  638. font-size: 22rpx;
  639. color: #BC9264;
  640. margin-left: 10rpx;
  641. }
  642. .name text:last-child {
  643. color: #c4c4c4;
  644. text-decoration: underline;
  645. line-height: 10rpx;
  646. }
  647. .rank-box{
  648. display: flex;
  649. align-items: center;
  650. background: #FCECDA;
  651. border-radius: 8rpx 8rpx 8rpx 8rpx;
  652. margin-top: 10rpx;
  653. }
  654. .rank-box .icon{
  655. width: 40rpx;
  656. height: 44rpx;
  657. }
  658. .rank-box .text{
  659. font-size: 22rpx;
  660. color: #BC9264;
  661. margin-left: 10rpx;
  662. }
  663. .rank-box .top{
  664. width: 72rpx;
  665. height: 36rpx;
  666. }
  667. .left,
  668. .right {
  669. display: inline-block;
  670. vertical-align: top;
  671. width: 344rpx;
  672. }
  673. .stepper-box {
  674. display: flex;
  675. align-items: center;
  676. }
  677. .stepper-minus {
  678. width: 40rpx;
  679. height: 40rpx;
  680. background-color: #F0F0F0;
  681. font-size: 40rpx;
  682. text-align: center;
  683. line-height: 40rpx;
  684. }
  685. .stepper-num {
  686. width: 80rpx;
  687. height: 40rpx;
  688. background-color: #F0F0F0;
  689. text-align: center;
  690. line-height: 40rpx;
  691. margin-left: 4rpx;
  692. }
  693. .stepper-add {
  694. margin-left: 4rpx;
  695. width: 40rpx;
  696. height: 40rpx;
  697. background-color: #F0F0F0;
  698. font-size: 40rpx;
  699. text-align: center;
  700. line-height: 40rpx;
  701. }
  702. .tips {
  703. height: 60rpx;
  704. line-height: 60rpx;
  705. text-align: center;
  706. font-size: 24rpx;
  707. color: #AAAAAA;
  708. }
  709. .loading-box{
  710. text-align: center;
  711. line-height: 80rpx;
  712. height: 80rpx;
  713. }
  714. .popup-box {
  715. padding: 20rpx;
  716. }
  717. .popup-detail {
  718. display: flex;
  719. align-items: center;
  720. }
  721. .shop-price {
  722. font-family: PingFang SC, PingFang SC;
  723. font-weight: 800;
  724. font-size: 48rpx;
  725. color: #FF4D3A;
  726. }
  727. .shop-detail {
  728. margin-top: 24rpx;
  729. display: flex;
  730. align-items: center;
  731. }
  732. .shop-isselect {
  733. font-weight: normal;
  734. font-size: 24rpx;
  735. color: #AAAAAA;
  736. }
  737. .shop-info {
  738. font-family: PingFang SC, PingFang SC;
  739. font-weight: 800;
  740. font-size: 24rpx;
  741. color: #222222;
  742. }
  743. .shop-address-info {
  744. width: 500rpx;
  745. overflow: hidden;
  746. white-space: nowrap;
  747. text-overflow: ellipsis;
  748. display: flex;
  749. align-items: center;
  750. font-size: 32rpx;
  751. }
  752. .position-icon{
  753. width: 36rpx;
  754. height: 36rpx;
  755. vertical-align: bottom;
  756. }
  757. .popup-line {
  758. border: 2rpx solid #F0F0F0;
  759. }
  760. .shop-color {
  761. margin-top: 28rpx;
  762. }
  763. .color-text {
  764. font-family: PingFang SC, PingFang SC;
  765. font-weight: 800;
  766. font-size: 28rpx;
  767. }
  768. .color-btn-box {
  769. display: flex;
  770. align-items: centers;
  771. margin-top: 10rpx;
  772. }
  773. .color-btn {
  774. width: 136rpx;
  775. height: 64rpx;
  776. background: #006CE8;
  777. border-radius: 32rpx;
  778. font-weight: normal;
  779. font-size: 28rpx;
  780. color: #FFFFFF;
  781. display: flex;
  782. align-items: center;
  783. justify-content: center;
  784. margin-right: 20rpx;
  785. }
  786. .popup-num-box {
  787. margin-top: 40rpx;
  788. display: flex;
  789. align-items: center;
  790. justify-content: space-between;
  791. }
  792. .bottom-button-box {
  793. background: #FFFFFF;
  794. box-shadow: 0rpx -6rpx 12rpx 2rpx rgba(0, 0, 0, 0.09);
  795. border-radius: 32rpx 32rpx 0rpx 0rpx;
  796. display: flex;
  797. justify-content: center;
  798. }
  799. .bottom-button {
  800. width: 702rpx;
  801. height: 80rpx;
  802. background: #006CE8;
  803. border-radius: 40rpx;
  804. margin-top: 30rpx;
  805. font-family: PingFang SC, PingFang SC;
  806. font-weight: bold;
  807. font-size: 28rpx;
  808. color: #FFFFFF;
  809. text-align: center;
  810. line-height: 80rpx;
  811. }
  812. /* 纵向滚动容器:隐藏垂直滚动条 */
  813. .tab-box::-webkit-scrollbar {
  814. width: 0; /* 滚动条宽度设为0(关键) */
  815. height: 0; /* 横向滚动时设置高度为0 */
  816. display: none; /* 直接隐藏 */
  817. }
  818. /* 可选:针对滚动轨道和滑块的进一步隐藏 */
  819. .tab-box::-webkit-scrollbar-track {
  820. display: none;
  821. }
  822. .tab-box::-webkit-scrollbar-thumb {
  823. display: none;
  824. }