index.wxss 17 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064
  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. border-radius: 16rpx;
  431. }
  432. .bonus-box {
  433. display: flex;
  434. }
  435. .content-bonus {
  436. display: flex;
  437. align-items: center;
  438. justify-content: center;
  439. width: 192rpx;
  440. height: 64rpx;
  441. background: #FFFFFF;
  442. border-radius: 16rpx 16rpx 16rpx 16rpx;
  443. }
  444. .content-bonus+.content-bonus{
  445. margin-left: 20rpx;
  446. }
  447. .bonus-text {
  448. margin-left: 10rpx;
  449. font-size: 24rpx;
  450. }
  451. /*秒杀*/
  452. .seckill-box {
  453. margin: 20rpx;
  454. padding: 20rpx;
  455. background: linear-gradient(91deg, #FFEEEE 0%, #FFFFFF 18%, #FFFFFF 100%);
  456. display: flex;
  457. position: relative;
  458. overflow: hidden;
  459. }
  460. .seckill-time {
  461. width: 160rpx;
  462. text-align: center;
  463. }
  464. .seckill-title {
  465. font-weight: 800;
  466. font-size: 28rpx;
  467. }
  468. .more-icon {
  469. position: absolute;
  470. display: flex;
  471. align-items: center;
  472. height: 100%;
  473. top: 0;
  474. right: 0;
  475. width: 40rpx;
  476. background-color: #fff;
  477. }
  478. .times {
  479. margin-top: 8rpx;
  480. margin-bottom: 8rpx;
  481. font-size: 20rpx;
  482. color: #AAAAAA;
  483. }
  484. .seckill-content {
  485. display: flex;
  486. }
  487. .seckill-product-box {
  488. margin-left: 30rpx;
  489. }
  490. .seckill-Price {
  491. position: relative;
  492. font-weight: bold;
  493. font-size: 24rpx;
  494. color: #FF4A39;
  495. }
  496. .price-bg {
  497. position: absolute;
  498. }
  499. .price-num {
  500. position: absolute;
  501. left: 10rpx;
  502. }
  503. .custom-class {
  504. background-color: #FFFFFF;
  505. }
  506. .recommended-card {
  507. position: relative;
  508. margin: 20rpx 0;
  509. padding: 20rpx;
  510. background-color: #FFFFFF;
  511. display: flex;
  512. width: 670rpx;
  513. overflow: hidden;
  514. }
  515. .new-text {
  516. text-align: center;
  517. }
  518. .new-text-two {
  519. width: 120rpx;
  520. }
  521. .recommended-Price {
  522. text-align: center;
  523. height: 32rpx;
  524. background: #FFEEEC;
  525. border-radius: 16rpx;
  526. font-weight: bold;
  527. font-size: 24rpx;
  528. color: #FF4A39;
  529. }
  530. /* 分页分类 */
  531. .tab-box{
  532. white-space: nowrap;
  533. margin-bottom: 20rpx;
  534. overflow-x: auto;
  535. }
  536. .tab-box .tab{
  537. display: inline-block;
  538. font-size: 32rpx;
  539. color: #222222;
  540. margin-right: 44rpx;
  541. padding-bottom: 10rpx;
  542. }
  543. .tab-box .tab .icon{
  544. width: 105rpx;
  545. height: 29rpx;
  546. }
  547. .tab-box .tab.active{
  548. font-weight: 800;
  549. font-size: 36rpx;
  550. position: relative;
  551. }
  552. .tab-box .tab.active::after{
  553. content: '';
  554. display: block;
  555. width: 80rpx;
  556. height: 18rpx;
  557. 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%);
  558. border-radius: 10rpx 10rpx 10rpx 10rpx;
  559. position: absolute;
  560. left: calc(50% - 40rpx);
  561. bottom: 0;
  562. }
  563. /* 每日上新 */
  564. .content {
  565. text-align: justify;
  566. display: flex;
  567. justify-content: space-between;
  568. }
  569. .reset-localization{
  570. text-align: center;
  571. font-size: 26rpx;
  572. color: #AAAAAA;
  573. }
  574. .swiper-card-box {
  575. margin-bottom: 20rpx;
  576. height: 470rpx;
  577. /* margin-left: 3%; */
  578. /* width: 96%; */
  579. width: 344rpx;
  580. }
  581. .wx-swiper-dots-horizontal .wx-swiper-dot {
  582. width: 24rpx;
  583. height: 8rpx;
  584. border-radius: 4rpx;
  585. }
  586. .swiper-card {
  587. /* margin-top: 10rpx; */
  588. height: 462rpx;
  589. background: #FFFFFF;
  590. border-radius: 16rpx;
  591. }
  592. .swiper-card-img {
  593. height: 462rpx;
  594. width: 344rpx;
  595. border-radius: 16rpx;
  596. vertical-align: bottom;
  597. }
  598. .item {
  599. background-color: #fff;
  600. /* margin-top: 20rpx; */
  601. margin-bottom: 14rpx;
  602. display: inline-block;
  603. width: 344rpx;
  604. border-radius: 16rpx;
  605. overflow: hidden;
  606. padding-bottom: 16rpx;
  607. position: relative;
  608. }
  609. .item .sell-out-box{
  610. position: absolute;
  611. top: 0;
  612. left: 0;
  613. border-radius: 16rpx;
  614. width: 344rpx;
  615. height: 100%;
  616. background: rgba(255,255,255,0.6);
  617. display: flex;
  618. align-items: center;
  619. justify-content: center;
  620. }
  621. .item .sell-out-text{
  622. width: 156rpx;
  623. height: 156rpx;
  624. line-height: 156rpx;
  625. border-radius: 50%;
  626. text-align: center;
  627. background: rgba(0,0,0,0.6);
  628. font-size: 28rpx;
  629. color: #FFFFFF;
  630. }
  631. .item-ava {
  632. width: 40rpx;
  633. height: 40rpx;
  634. border-radius: 16rpx;
  635. }
  636. .heart {
  637. display: flex;
  638. align-items: center;
  639. justify-content: space-between;
  640. margin-right: 8rpx;
  641. margin-top: 20rpx;
  642. }
  643. .name-price {
  644. display: flex;
  645. align-items: center;
  646. font-weight: 800;
  647. font-size: 36rpx;
  648. color: #FF4D3A;
  649. }
  650. .item-img {
  651. width: 100%;
  652. vertical-align: bottom;
  653. }
  654. .item-title {
  655. font-weight: bold;
  656. font-size: 28rpx;
  657. text-overflow: ellipsis;
  658. display: -webkit-box;
  659. -webkit-box-orient: vertical;
  660. -webkit-line-clamp: 2;
  661. overflow: hidden;
  662. font-family: 'PingFang SC-Medium';
  663. color: #1e1e1e;
  664. padding: 0 20rpx;
  665. /* height: 40rpx; */
  666. line-height: 40rpx;
  667. /* background-color: turquoise; */
  668. }
  669. .item .name {
  670. padding: 0 15rpx;
  671. margin-top: 20rpx;
  672. padding-bottom: 10rpx;
  673. align-items: center;
  674. font-size: 22rpx;
  675. font-family: 'PingFang SC-Medium';
  676. }
  677. .name image {
  678. flex: 0 0 auto;
  679. }
  680. .item-title-box {
  681. display: flex;
  682. position: relative;
  683. z-index: 2;
  684. }
  685. .name-title {
  686. font-weight: normal;
  687. font-size: 22rpx;
  688. color: #AAAAAA;
  689. }
  690. .tag-box{
  691. display: flex;
  692. }
  693. .tag-box .tag{
  694. width: 68rpx;
  695. height: 32rpx;
  696. line-height: 32rpx;
  697. text-align: center;
  698. background: #FFF1E2;
  699. border-radius: 8rpx 8rpx 8rpx 8rpx;
  700. border: 1rpx solid #006CE8;
  701. font-size: 22rpx;
  702. color: #006CE8;
  703. }
  704. .tag-box .text{
  705. font-size: 22rpx;
  706. color: #BC9264;
  707. margin-left: 10rpx;
  708. }
  709. .name text:last-child {
  710. color: #c4c4c4;
  711. text-decoration: underline;
  712. line-height: 10rpx;
  713. }
  714. .rank-box{
  715. display: flex;
  716. align-items: center;
  717. background: #FCECDA;
  718. border-radius: 8rpx 8rpx 8rpx 8rpx;
  719. margin-top: 10rpx;
  720. }
  721. .rank-box .icon{
  722. width: 40rpx;
  723. height: 44rpx;
  724. }
  725. .rank-box .text{
  726. font-size: 22rpx;
  727. color: #BC9264;
  728. margin-left: 10rpx;
  729. }
  730. .rank-box .top{
  731. width: 72rpx;
  732. height: 36rpx;
  733. }
  734. .left,
  735. .right {
  736. display: inline-block;
  737. vertical-align: top;
  738. width: 344rpx;
  739. }
  740. .stepper-box {
  741. display: flex;
  742. align-items: center;
  743. }
  744. .stepper-minus {
  745. width: 40rpx;
  746. height: 40rpx;
  747. background-color: #F0F0F0;
  748. font-size: 40rpx;
  749. text-align: center;
  750. line-height: 40rpx;
  751. }
  752. .stepper-num {
  753. width: 80rpx;
  754. height: 40rpx;
  755. background-color: #F0F0F0;
  756. text-align: center;
  757. line-height: 40rpx;
  758. margin-left: 4rpx;
  759. }
  760. .stepper-add {
  761. margin-left: 4rpx;
  762. width: 40rpx;
  763. height: 40rpx;
  764. background-color: #F0F0F0;
  765. font-size: 40rpx;
  766. text-align: center;
  767. line-height: 40rpx;
  768. }
  769. .tips {
  770. height: 60rpx;
  771. line-height: 60rpx;
  772. text-align: center;
  773. font-size: 24rpx;
  774. color: #AAAAAA;
  775. }
  776. .loading-box{
  777. text-align: center;
  778. line-height: 80rpx;
  779. height: 80rpx;
  780. }
  781. .popup-box {
  782. padding: 20rpx;
  783. }
  784. .popup-detail {
  785. display: flex;
  786. align-items: center;
  787. }
  788. .shop-price {
  789. font-family: PingFang SC, PingFang SC;
  790. font-weight: 800;
  791. font-size: 48rpx;
  792. color: #FF4D3A;
  793. }
  794. .shop-detail {
  795. margin-top: 24rpx;
  796. display: flex;
  797. align-items: center;
  798. }
  799. .shop-isselect {
  800. font-weight: normal;
  801. font-size: 24rpx;
  802. color: #AAAAAA;
  803. }
  804. .shop-info {
  805. font-family: PingFang SC, PingFang SC;
  806. font-weight: 800;
  807. font-size: 24rpx;
  808. color: #222222;
  809. }
  810. .shop-address-info {
  811. width: 500rpx;
  812. overflow: hidden;
  813. white-space: nowrap;
  814. text-overflow: ellipsis;
  815. display: flex;
  816. align-items: center;
  817. font-size: 32rpx;
  818. }
  819. .position-icon{
  820. width: 36rpx;
  821. height: 36rpx;
  822. vertical-align: bottom;
  823. }
  824. .popup-line {
  825. border: 2rpx solid #F0F0F0;
  826. }
  827. .shop-color {
  828. margin-top: 28rpx;
  829. }
  830. .color-text {
  831. font-family: PingFang SC, PingFang SC;
  832. font-weight: 800;
  833. font-size: 28rpx;
  834. }
  835. .color-btn-box {
  836. display: flex;
  837. align-items: centers;
  838. margin-top: 10rpx;
  839. }
  840. .color-btn {
  841. width: 136rpx;
  842. height: 64rpx;
  843. background: #006CE8;
  844. border-radius: 32rpx;
  845. font-weight: normal;
  846. font-size: 28rpx;
  847. color: #FFFFFF;
  848. display: flex;
  849. align-items: center;
  850. justify-content: center;
  851. margin-right: 20rpx;
  852. }
  853. .popup-num-box {
  854. margin-top: 40rpx;
  855. display: flex;
  856. align-items: center;
  857. justify-content: space-between;
  858. }
  859. .bottom-button-box {
  860. background: #FFFFFF;
  861. box-shadow: 0rpx -6rpx 12rpx 2rpx rgba(0, 0, 0, 0.09);
  862. border-radius: 32rpx 32rpx 0rpx 0rpx;
  863. display: flex;
  864. justify-content: center;
  865. }
  866. .bottom-button {
  867. width: 702rpx;
  868. height: 80rpx;
  869. background: #006CE8;
  870. border-radius: 40rpx;
  871. margin-top: 30rpx;
  872. font-family: PingFang SC, PingFang SC;
  873. font-weight: bold;
  874. font-size: 28rpx;
  875. color: #FFFFFF;
  876. text-align: center;
  877. line-height: 80rpx;
  878. }
  879. /* 纵向滚动容器:隐藏垂直滚动条 */
  880. .tab-box::-webkit-scrollbar {
  881. width: 0; /* 滚动条宽度设为0(关键) */
  882. height: 0; /* 横向滚动时设置高度为0 */
  883. display: none; /* 直接隐藏 */
  884. }
  885. /* 可选:针对滚动轨道和滑块的进一步隐藏 */
  886. .tab-box::-webkit-scrollbar-track {
  887. display: none;
  888. }
  889. .tab-box::-webkit-scrollbar-thumb {
  890. display: none;
  891. }
  892. .my-popup{
  893. position: fixed;
  894. top: 0;
  895. left: 0;
  896. width: 750rpx;
  897. height: 100vh;
  898. background: rgba(0,0,0,0.5);
  899. z-index: 99;
  900. display: flex;
  901. justify-content: center;
  902. align-items: center;
  903. }
  904. .my-popup .popup-box{
  905. width: 572rpx;
  906. height: 640rpx;
  907. background: #FFFFFF;
  908. border-radius: 32rpx 32rpx 32rpx 32rpx;
  909. padding: 24rpx;
  910. box-sizing: border-box;
  911. }
  912. .my-popup .popup-box .notice{
  913. font-size: 24rpx;
  914. color: #AAAAAA;
  915. }
  916. .my-popup .popup-box .popup-item{
  917. line-height: 92rpx;
  918. display: flex;
  919. align-items: center;
  920. }
  921. .my-popup .popup-box .popup-item .name.disabled{
  922. color: #AAAAAA;
  923. }
  924. .my-popup .popup-box .popup-item .tag{
  925. width: 104rpx;
  926. height: 36rpx;
  927. line-height: 36rpx;
  928. text-align: center;
  929. background: #AAAAAA;
  930. border-radius: 22rpx 22rpx 22rpx 22rpx;
  931. font-size: 24rpx;
  932. color: #FFFFFF;
  933. margin-left: 20rpx;
  934. }
  935. .wrapper {
  936. display: flex;
  937. align-items: center;
  938. justify-content: center;
  939. height: 100%;
  940. }
  941. .wrapper .img{
  942. width: 750rpx;
  943. height: 784rpx;
  944. }