index.wxss 15 KB

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