common.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824
  1. *{
  2. margin: 0;
  3. padding: 0;
  4. }
  5. html {
  6. -webkit-text-size-adjust: 100%;
  7. -ms-text-size-adjust: 100%;
  8. /* 解决IOS默认滑动很卡的情况 */
  9. -webkit-overflow-scrolling : touch;
  10. }
  11. body{
  12. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  13. font-size: .16rem;
  14. }
  15. /* 禁止缩放表单 */
  16. input[type="submit"], input[type="reset"], input[type="button"], input {
  17. resize: none;
  18. border: none;
  19. }
  20. ol,li,ul,dl,dt,dd{
  21. list-style:none;
  22. }
  23. img{
  24. height: auto;
  25. object-fit: cover;
  26. }
  27. em, i {
  28. font-style: normal;
  29. }
  30. textarea {
  31. resize:none;
  32. }
  33. p {
  34. word-wrap:break-word;
  35. }
  36. a{
  37. text-decoration: none;
  38. color: inherit;
  39. outline: none;
  40. -moz-outline-style: none;
  41. }
  42. a:active, a:focus {
  43. outline: none;
  44. }
  45. .textEllipsis{
  46. text-overflow: ellipsis;
  47. white-space: nowrap;
  48. overflow: hidden;
  49. }
  50. .sectionContainer{
  51. display: flex;
  52. justify-content: center;
  53. }
  54. .elementorContainer{
  55. max-width: 13.2rem;
  56. flex: 1;
  57. -moz-box-sizing: border-box;
  58. -webkit-box-sizing: border-box;
  59. box-sizing: border-box;
  60. }
  61. /* <-- start 头部模块 */
  62. .headerContainer{
  63. width: 100%;
  64. background-color: #FFF;
  65. position: sticky;
  66. top: 0;
  67. left: 0;
  68. right: 0;
  69. z-index: 99;
  70. -webkit-box-shadow: 0 .02rem .05rem rgba(0,0,0,.03);
  71. box-shadow: 0 .02rem .05rem rgba(0,0,0,.03);
  72. }
  73. .warnContainer{
  74. background-color: #434344;
  75. width: 100%;
  76. height: .5rem;
  77. display: flex;
  78. align-items: center;
  79. justify-content: center;
  80. }
  81. .warnContainer .warnText{
  82. max-width: 13.2rem;
  83. word-break: break-all;
  84. line-height: 1.4;
  85. font-weight: bold;
  86. font-size: .16rem;
  87. color: rgba(255, 255, 255, .7);
  88. }
  89. /* PC端头部 */
  90. #computerEndHeader{
  91. width: 13.2rem;
  92. height: .7rem;
  93. margin: 0 auto;
  94. display: flex;
  95. justify-content: space-between;
  96. align-items: center;
  97. cursor: pointer;
  98. }
  99. #computerEndHeader .computerLogo{
  100. color: rgba(79, 73, 222, 1);
  101. font-weight: bold;
  102. font-size: .28rem;
  103. padding-right: .5rem;
  104. }
  105. #computerEndHeader .computerLogo img{
  106. height: .36rem;
  107. width: auto;
  108. }
  109. .headNavContainer{
  110. flex: 1;
  111. display: flex;
  112. align-items: center;
  113. height: 100%;
  114. overflow: hidden;
  115. }
  116. .headNavItem{
  117. height: .7rem;
  118. display: flex;
  119. align-items: center;
  120. justify-content: center;
  121. position: relative;
  122. margin-right: .36rem;
  123. }
  124. .headNavItem .headNavTitle{
  125. padding: 0 .28rem;
  126. font-weight: bold;
  127. color: #333333;
  128. font-size: .22rem;
  129. position: relative;
  130. z-index: 2;
  131. letter-spacing: .02rem;
  132. min-width: 1.5rem;
  133. }
  134. .headNavItem.active .headNavTitle{
  135. color: #FFFFFF;
  136. font-size: .24rem;
  137. }
  138. .headNavItem.active .back{
  139. position: absolute;
  140. width: 100%;
  141. height: 116%;
  142. top: -8%;
  143. left: 0;
  144. border-radius: .04rem;
  145. background-color: rgba(79, 73, 222, 1);
  146. z-index: 1;
  147. }
  148. .headIconContainer{
  149. display: flex;
  150. align-items: center;
  151. height: 100%;
  152. }
  153. .headIconContainer .headIconItem{
  154. padding: 0 .2rem;
  155. height: .7rem;
  156. display: flex;
  157. align-items: center;
  158. justify-content: center;
  159. }
  160. .headIconContainer .headIconItem img{
  161. height: .24rem;
  162. }
  163. .headIconContainer .headIconItem .cart img{
  164. height: .28rem;
  165. }
  166. /* 移动端头部 */
  167. #mobileEndHeader{
  168. display: none;
  169. position: relative;
  170. }
  171. .mobileEndHeaderConten{
  172. padding: 0 .24rem;
  173. height:.9rem;
  174. display: flex;
  175. flex: 1;
  176. align-items: center;
  177. justify-content: space-between;
  178. }
  179. .mobileEndHeaderConten .mobileLogo{
  180. color: rgba(79, 73, 222, 1);
  181. font-weight: bold;
  182. font-size: .28rem;
  183. padding-right: .5rem;
  184. }
  185. .mobileEndHeaderConten .mobileLogo img{
  186. height: .4rem;
  187. width: auto;
  188. }
  189. .mobileUserIconList{
  190. display: flex;
  191. flex: 1;
  192. align-items: center;
  193. justify-content: flex-end;
  194. padding-right: .24rem;
  195. }
  196. .mobileUserIcon img{
  197. height: .3rem;
  198. }
  199. #mobileMenuBot {
  200. height: .4rem;
  201. display: flex;
  202. align-items: center;
  203. }
  204. #mobileMenuLink {
  205. display: block;
  206. position: relative;
  207. width: .42rem;
  208. height: .06rem;
  209. background-color: #666666;
  210. border-radius: .08rem;
  211. }
  212. #mobileMenuLink:before,
  213. #mobileMenuLink:after {
  214. content: '';
  215. display: block;
  216. width: 100%;
  217. height: 100%;
  218. border-radius: .08rem;
  219. margin-top: .13rem;
  220. position: absolute;
  221. background: #666666;
  222. -webkit-transition-property: margin, -webkit-transform;
  223. transition-property: margin, -webkit-transform;
  224. transition-property: margin, transform;
  225. transition-property: margin, transform, -webkit-transform;
  226. -webkit-transition-duration: 200ms;
  227. transition-duration: 200ms;
  228. }
  229. #mobileMenuLink:before {
  230. margin-top: -.13rem;
  231. }
  232. #mobileMenuLink:after {
  233. margin-top: .13rem;
  234. }
  235. .open #mobileMenuLink {
  236. background: none
  237. }
  238. .open #mobileMenuLink:before {
  239. margin-top: 0;
  240. transform: rotate(45deg);
  241. -moz-transform: rotate(45deg);
  242. -webkit-transform: rotate(45deg);
  243. -o-transform: rotate(45deg);
  244. }
  245. .open #mobileMenuLink:after {
  246. margin-top: 0;
  247. transform: rotate(-45deg);
  248. -moz-transform: rotate(-45deg);
  249. -webkit-transform: rotate(-45deg);
  250. -o-transform: rotate(-45deg);
  251. }
  252. .open #mobileMenuLink:before,
  253. .open #mobileMenuLink:after {
  254. background: #666666;
  255. }
  256. .mobileMenuFixed{
  257. position: absolute;
  258. background: white;
  259. border-radius: .12rem;
  260. min-width: 3rem;
  261. max-width: 5rem;
  262. padding: .12rem .24rem;
  263. top: 1rem;
  264. right: .08rem;
  265. z-index: 999;
  266. display: none;
  267. }
  268. .mobileMenuItem{
  269. border-bottom: .01rem solid #dfdfdf;
  270. }
  271. .mobileMenuFixed .mobileMenuItem:last-child{
  272. border: none;
  273. }
  274. .mobileMenuItem .menuItemTitle{
  275. height: .8rem;
  276. display: flex;
  277. align-items: center;
  278. font-size: .22rem;
  279. overflow: hidden;
  280. text-overflow: ellipsis;
  281. white-space: nowrap;
  282. color: #434343;
  283. }
  284. .mobileMenuItem.active .menuItemTitle{
  285. color: rgba(79, 73, 222, 1);
  286. }
  287. /* end 头部模块 --> */
  288. /* start 年龄提示模块 --> */
  289. .maskContainer{
  290. position: fixed;
  291. width: 100vw;
  292. height: 100vh;
  293. z-index: 999;
  294. top: 0;
  295. right: 0;
  296. bottom: 0;
  297. left: 0;
  298. background-color: rgba(0, 0, 0, .5);
  299. display: none;
  300. }
  301. .ageReminderBox{
  302. width: 7rem;
  303. background-color: #FFF;
  304. height: 3.8rem;
  305. left: 50%;
  306. transform: translateX(-50%);
  307. top: 30%;
  308. position: absolute;
  309. }
  310. .ageReminderBack{
  311. position: absolute;
  312. z-index: 1;
  313. height: 100%;
  314. width: 100%;
  315. top: 0;
  316. left: 0;
  317. }
  318. .ageReminderInfo{
  319. position: relative;
  320. z-index: 2;
  321. margin-left: .32rem;
  322. padding-top: 1rem;
  323. color: #fff;
  324. }
  325. .ageReminderInfo h3{
  326. line-height: 1.4;
  327. font-size: .36rem;
  328. max-width: 60%;
  329. font-weight: bold;
  330. }
  331. .ageReminderInfo .ageReminderButBox{
  332. display: flex;
  333. align-items: center;
  334. padding-top: .32rem;
  335. }
  336. .ageReminderInfo .ageReminderButBox .ageRBut{
  337. color: rgba(237, 109, 244, 1);
  338. background-color: #fff;
  339. display: flex;
  340. align-items: center;
  341. justify-content: center;
  342. height: .56rem;
  343. border-radius: .08rem;
  344. font-size: .22rem;
  345. font-weight: bold;
  346. min-width: 1.6rem;
  347. padding: 0 .12rem;
  348. margin-right: .32rem;
  349. cursor: pointer;
  350. }
  351. /* end 年龄提示模块 --> */
  352. /* <-- start 底部模块 */
  353. .footerContainer{
  354. width: 100%;
  355. background-color: rgba(32, 32, 32, 1);
  356. position: relative;
  357. z-index: 10;
  358. }
  359. .warningContainer{
  360. background-color: gray;
  361. }
  362. .warningBox{
  363. padding: .16rem 0;
  364. color: rgba(255, 255, 255, .8);
  365. font-size: .15rem;
  366. line-height: 1.4;
  367. }
  368. .footerConter{
  369. color: #FFF;
  370. padding-top: .3rem;
  371. padding-bottom: .24rem;
  372. display: flex;
  373. }
  374. .leftText{
  375. max-width: 2.4rem;
  376. margin-right: .8rem;
  377. }
  378. .leftText .ltK{
  379. font-weight: bold;
  380. font-size: .18rem;
  381. word-break: break-all;
  382. padding-bottom: .06rem;
  383. }
  384. .leftText .ltV{
  385. font-size: .14rem;
  386. color: rgba(255, 255, 255, .6);
  387. word-break: break-all;
  388. }
  389. .footerInuptBox{
  390. background: #FFF;
  391. flex: 1;
  392. height: .5rem;
  393. display: flex;
  394. justify-content: space-between;
  395. align-items: center;
  396. padding: 0 .16rem 0 .12rem;
  397. max-width: 5rem;
  398. margin-right: 1.5rem;
  399. }
  400. .footerInuptBox .mailIcon{
  401. width: .38rem;
  402. height: .38rem;
  403. }
  404. .footerInupt{
  405. flex: 1;
  406. height: 100%;
  407. outline: none;
  408. font-size: .18rem;
  409. margin: 0 .12rem;
  410. }
  411. .footerInuptBox .arrowIcon{
  412. height: .19rem;
  413. width: auto;
  414. }
  415. .footerIconContainer{
  416. max-width: 4rem;
  417. }
  418. .footerIconList{
  419. overflow-x: scroll;
  420. white-space: nowrap;
  421. }
  422. .footerIconList::-webkit-scrollbar {
  423. display: none;
  424. }
  425. .footerIconItem{
  426. margin-right: .1rem;
  427. display: inline-flex;
  428. }
  429. .footerIconItem img{
  430. width: .48rem;
  431. height: .48rem;
  432. border-radius: 50%;
  433. }
  434. .footerVlsaImg{
  435. display: flex;
  436. flex-wrap: wrap;
  437. padding-top: .1rem;
  438. }
  439. .footerVlsaItem{
  440. font-size: 0;
  441. }
  442. .footerVlsaImg img{
  443. width: .4rem;
  444. height: .26rem;
  445. }
  446. .acceptContainer{
  447. background-color: #fff;
  448. }
  449. .acceptBox{
  450. display: flex;
  451. justify-content: space-between;
  452. padding: .16rem 0;
  453. }
  454. .acceptLeftInfo{
  455. max-width: 3.6rem;
  456. }
  457. .acceptLeftInfo .weAcc{
  458. font-size: .14rem;
  459. color: #434343;
  460. }
  461. .aLImgBox{
  462. display: flex;
  463. flex-wrap: wrap;
  464. gap: .08rem;
  465. padding-top: .08rem;
  466. }
  467. .aLImgItem{
  468. font-size: 0;
  469. }
  470. .aLImgItem img{
  471. width: 2.0rem;
  472. height: .3rem;
  473. }
  474. .weText{
  475. font-size: .14rem;
  476. color: #434343;
  477. line-height: 1.4;
  478. word-break: break-all;
  479. padding-top: .3rem;
  480. }
  481. .acceptRightInfo{
  482. display: flex;
  483. flex-wrap: wrap;
  484. justify-content: flex-end;
  485. gap: .16rem;
  486. flex: 1;
  487. padding-left: .24rem;
  488. }
  489. .aRImgItem{
  490. font-size: 0;
  491. }
  492. .aRImgItem img{
  493. width: 1.3rem;
  494. height: .7rem;
  495. }
  496. #toastContainer {
  497. position: fixed;
  498. top: 40%;
  499. left: 50%;
  500. transform: translateX(-50%);
  501. background-color: #333;
  502. color: #fff;
  503. padding: .08rem .12rem;
  504. border-radius: .04rem;
  505. word-break: break-all;
  506. z-index: 9999;
  507. display: none;
  508. font-size: .18rem;
  509. max-width: 70%;
  510. text-align: center;
  511. line-height: 1.4;
  512. }
  513. /* <-- start 个人中心菜单 */
  514. .navContainer{
  515. background-color: #E8EEF6;
  516. width: 3.4rem;
  517. padding-bottom: 1rem;
  518. -moz-box-sizing: border-box;
  519. -webkit-box-sizing: border-box;
  520. box-sizing: border-box;
  521. }
  522. .navItem{
  523. padding-left: .24rem;
  524. cursor: pointer;
  525. }
  526. .navItem .navItemFlex{
  527. display: flex;
  528. align-items: center;
  529. height: .6rem;
  530. padding-right: .22rem;
  531. }
  532. .navItem .navItemFlex.active .navTitle{
  533. color: #fff;
  534. background-color: rgba(79, 73, 222, 1);
  535. }
  536. .navItem .navItemFlex img{
  537. width: .4rem;
  538. }
  539. .navItem .navItemFlex .navTitle{
  540. font-weight: 400;
  541. color: #434343;
  542. font-size: .17rem;
  543. padding-left: .08rem;
  544. flex: 1;
  545. height: .5rem;
  546. border-radius: .04rem;
  547. display: flex;
  548. align-items: center;
  549. text-overflow: ellipsis;
  550. white-space: nowrap;
  551. overflow: hidden;
  552. }
  553. .sunNavBox{
  554. margin-left: .4rem;
  555. padding-right: .22rem;
  556. }
  557. .sunNavItem{
  558. height: .5rem;
  559. display: flex;
  560. align-items: center;
  561. padding-left: .08rem;
  562. color: #434343;
  563. border-radius: .04rem;
  564. margin: .05rem 0;
  565. }
  566. .sunNavItem .sunNavTitle{
  567. font-weight: 400;
  568. font-size: .17rem;
  569. text-overflow: ellipsis;
  570. white-space: nowrap;
  571. overflow: hidden;
  572. flex: 1;
  573. }
  574. .sunNavItem.active{
  575. color: #fff;
  576. background-color: rgba(79, 73, 222, 1);
  577. }
  578. /* end 个人中心菜单 --> */
  579. @media (max-width: 1499px) {
  580. .navContainer{
  581. width: 3rem;
  582. }
  583. .navItem{
  584. padding-left: .16rem;
  585. }
  586. .navItem .navItemFlex{
  587. padding-right: .16rem;
  588. }
  589. .navItem .navItemFlex img{
  590. width: .34rem;
  591. }
  592. .navItem .navItemFlex .navTitle{
  593. height: .46rem;
  594. font-size: .16rem;
  595. }
  596. .sunNavBox{
  597. margin-left: .34rem;
  598. padding-right: .16rem;
  599. }
  600. .sunNavItem{
  601. height: .46rem;
  602. }
  603. .sunNavItem .sunNavTitle{
  604. font-size: .16rem;
  605. }
  606. .navContainer{
  607. padding-bottom: .5rem;
  608. }
  609. }
  610. @media (max-width: 1320px) {
  611. #computerEndHeader{
  612. width: auto;
  613. }
  614. .computerLogo{
  615. margin-left: .12rem;
  616. }
  617. .headIconContainer{
  618. margin-right: .12rem;
  619. }
  620. .headNavItem .headNavTitle{
  621. font-size: .22rem;
  622. }
  623. .headNavItem.active .headNavTitle{
  624. font-size: .26rem;
  625. }
  626. }
  627. @media (max-width: 1199px) {
  628. .warnContainer{
  629. height: auto;
  630. }
  631. .warnContainer .warnText{
  632. font-size: .2rem;
  633. padding: .06rem .24rem;
  634. }
  635. #computerEndHeader{
  636. display: none;
  637. }
  638. #mobileEndHeader{
  639. display: flex;
  640. }
  641. .footerContainer{
  642. height: auto;
  643. }
  644. .footerConter{
  645. display: block;
  646. padding: .24rem .12rem;
  647. }
  648. .leftText{
  649. max-width: none;
  650. margin-right: 0;
  651. margin-bottom: .32rem;
  652. }
  653. .leftText .ltK{
  654. font-size: .2rem;
  655. }
  656. .leftText .ltV{
  657. font-size: .18rem;
  658. }
  659. .footerInuptBox{
  660. max-width: 6rem;
  661. margin-right: 0;
  662. height: .6rem;
  663. margin-bottom: .32rem;
  664. }
  665. .footerIconContainer{
  666. max-width: none;
  667. }
  668. .footerIconList{
  669. white-space: normal;
  670. overflow-x: hidden;
  671. display: flex;
  672. flex-wrap: wrap;
  673. margin-bottom: .12rem;
  674. }
  675. .footerIconItem{
  676. display: block;
  677. margin-right: .24rem;
  678. }
  679. .acceptBox{
  680. display: block;
  681. }
  682. .acceptLeftInfo{
  683. max-width: none;
  684. }
  685. .acceptLeftInfo .weAcc{
  686. font-size: .16rem;
  687. }
  688. .aLImgItem img{
  689. width: .6rem;
  690. height: .35rem;
  691. }
  692. .weText{
  693. font-size: .16rem;
  694. }
  695. .acceptRightInfo{
  696. justify-content: flex-start;
  697. padding-left: 0;
  698. padding-top: .4rem;
  699. }
  700. }
  701. @media (max-width: 999px) {
  702. .navContainer{
  703. width: 2.4rem;
  704. }
  705. }
  706. @media (max-width: 899px) {
  707. .ageReminderBox{
  708. width: 6rem;
  709. height: 3rem;
  710. }
  711. .ageReminderInfo{
  712. padding-top: .6rem;
  713. }
  714. .ageReminderInfo h3{
  715. font-size: .3rem;
  716. }
  717. .ageReminderInfo .ageReminderButBox .ageRBut{
  718. font-size: .2rem;
  719. min-width: 1rem;
  720. }
  721. .leftText .ltK{
  722. font-size: .22rem;
  723. }
  724. .leftText .ltV{
  725. font-size: .2rem;
  726. }
  727. .footerIconItem img{
  728. width: .5rem;
  729. height: .5rem;
  730. }
  731. .footerVlsaImg img{
  732. height: .4rem;
  733. }
  734. #toastContainer{
  735. font-size: .24rem;
  736. padding: .1rem .16rem;
  737. }
  738. .footerConter{
  739. padding: .24rem;
  740. }
  741. }
  742. @media (max-width: 750px) {
  743. .navContainer{
  744. width: 2.2rem;
  745. }
  746. .navItem{
  747. padding-left: .12rem;
  748. }
  749. .navItem .navItemFlex{
  750. padding-right: .12rem;
  751. }
  752. .navItem .navItemFlex img{
  753. width: .34rem;
  754. }
  755. .navItem .navItemFlex .navTitle{
  756. height: .6rem;
  757. font-size: .2rem;
  758. }
  759. .sunNavBox{
  760. margin-left: .34rem;
  761. padding-right: .12rem;
  762. }
  763. .sunNavItem{
  764. height: .6rem;
  765. }
  766. .sunNavItem .sunNavTitle{
  767. font-size: .2rem;
  768. }
  769. .warningBox{
  770. font-size: .2rem;
  771. }
  772. .acceptBox{
  773. display: block;
  774. }
  775. .acceptLeftInfo{
  776. max-width: none;
  777. }
  778. .acceptLeftInfo .weAcc{
  779. font-size: .2rem;
  780. }
  781. .aLImgItem img{
  782. width: .7rem;
  783. height: .4rem;
  784. }
  785. .weText{
  786. font-size: .2rem;
  787. }
  788. .aRImgItem img{
  789. width: 1.5rem;
  790. height: .75rem;
  791. }
  792. }