base.scss 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864
  1. @import 'global.scss';
  2. * {
  3. margin: 0;
  4. }
  5. video{
  6. width: 100%;
  7. }
  8. @font-face {
  9. font-family: "Publico-Headline-Medium";
  10. src: url("/assets/font/Publico-Headline-Medium.woff") format("woff")
  11. }
  12. @font-face {
  13. font-family: "trump_gothic_east_bold";
  14. src: url("/assets/font/trump_gothic_east_bold.woff") format("woff")
  15. }
  16. html{
  17. -webkit-tap-highlight-color: rgba(0,0,0,.05);
  18. }
  19. body {
  20. font-family: 'Helvetica Neue', Helvetica, 'Hiragino Sans GB', STHeitiSC-Light, 'Microsoft YaHei', Arial, "PingFang TC", "Microsoft JhengHei", sans-serif;
  21. background-color: #fff;
  22. }
  23. table{
  24. word-break: break-word;
  25. }
  26. .wrapper{
  27. width: 1200px;
  28. margin: 0 auto;
  29. }
  30. .no-link{
  31. color: #999 !important;
  32. pointer-events: none !important;
  33. img{
  34. filter: grayscale(100%);
  35. }
  36. }
  37. .pageDiv{
  38. padding: 30px 0 0 0 !important;
  39. @media(min-width:768px){
  40. padding: 60px 0 0 0 !important;
  41. }
  42. }
  43. .pageDiv span.current{
  44. background: $color !important;
  45. border-color:$color !important;
  46. }
  47. .pageDiv span.disabled,.pageDiv span.current,.pageDiv a{
  48. height: 26px !important;
  49. line-height: 26px !important;
  50. padding:0 6px !important;
  51. margin:0 2px !important;
  52. @media(min-width:768px){
  53. height: 30px !important;
  54. line-height: 30px !important;
  55. padding:0 12px !important;
  56. margin:0 4px !important;
  57. }
  58. }
  59. a:hover,
  60. a:active,
  61. a:focus {
  62. text-decoration: none;
  63. }
  64. input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{
  65. color: #999;
  66. }
  67. h1,
  68. h2,
  69. h3,
  70. h4,
  71. h5,
  72. h6,
  73. p {
  74. font-weight: normal;
  75. margin: 0;
  76. }
  77. ol,
  78. ul {
  79. margin: 0;
  80. padding: 0;
  81. }
  82. li {
  83. list-style: none;
  84. }
  85. img {
  86. object-fit: cover;
  87. max-width: 100%;
  88. }
  89. input{
  90. outline: none;
  91. }
  92. em,
  93. i {
  94. font-style: normal;
  95. display:inline-block;
  96. }
  97. .fl {
  98. float: left;
  99. }
  100. .fr {
  101. float: right;
  102. }
  103. .header{
  104. position: fixed;
  105. z-index:1000;
  106. padding: 0 15px;
  107. left:0;
  108. right:0;
  109. width: 100%;
  110. text-align: center;
  111. font-size: 0;
  112. top:0;
  113. border-bottom: 1px solid #f8f8f8;
  114. @media(min-width:768px){
  115. top:30px;
  116. height:54px;
  117. padding: 0 20px;
  118. transform: translateZ(1px);
  119. }
  120. background-color: #fff;
  121. transition: all .5s ease;
  122. .nav-box{
  123. display:none;
  124. @media(min-width:768px){
  125. display: inline-block;
  126. }
  127. }
  128. .m-nav-box{
  129. display: block;
  130. @media(min-width:768px){
  131. display: none;
  132. }
  133. }
  134. .left-logo{
  135. display: inline-block;
  136. vertical-align: middle;
  137. left: 0;
  138. transition: all .5s ease;
  139. a{
  140. &:after{
  141. content: "";
  142. display: inline-block;
  143. height:100%;
  144. vertical-align: middle;
  145. }
  146. }
  147. img{
  148. display: inline-block;
  149. vertical-align: middle;
  150. width:0;
  151. transition: all .5s ease;
  152. }
  153. }
  154. ul.nav-ul{
  155. line-height: 54px;
  156. clear: fix;
  157. display: inline-block;
  158. white-space: nowrap;
  159. width: auto;
  160. li~li,.logo{
  161. @media(min-width:768px){
  162. margin-left:10px;
  163. }
  164. @media(min-width:992px){
  165. margin-left:30px;
  166. }
  167. @media(min-width:1200px){
  168. margin-left:62px;
  169. }
  170. }
  171. li{
  172. transition: all .5s ease;
  173. display: inline-block;
  174. vertical-align: middle;
  175. height: 54px;
  176. font-size:16px;
  177. @media(min-width:768px){
  178. font-size: 14px;
  179. }
  180. a{
  181. display: inline-block;
  182. color: #111;
  183. transition: all .5s ease;
  184. position: relative;
  185. padding: 0 6px;
  186. cursor: pointer;
  187. &:after{
  188. position: absolute;
  189. content:"";
  190. display: inline-block;
  191. bottom:0;
  192. left:0;
  193. width:100%;
  194. height:0px;
  195. background: $color;
  196. transition: all .3s ease;
  197. }
  198. &:hover,&.cur{
  199. &:after{
  200. height: 2px;
  201. }
  202. }
  203. }
  204. }
  205. .logo{
  206. transition: all .5s ease;
  207. height:54px;
  208. position: relative;
  209. width: 84px;
  210. display: inline-block;
  211. vertical-align: middle;
  212. a{
  213. position: static;
  214. &:after{
  215. content: "";
  216. display: none;
  217. }
  218. }
  219. img{
  220. width:100%;
  221. position: absolute;
  222. z-index: 10;
  223. transform: scale(1);
  224. top: -15px;
  225. left: 0;
  226. transition: all .5s ease;
  227. }
  228. }
  229. .login{
  230. color: $color;
  231. a{
  232. color: $color;
  233. }
  234. }
  235. }
  236. &.slide{
  237. top: 0;
  238. ul.nav-ul{
  239. li{
  240. @media(min-width:768px){
  241. margin-left:16px;
  242. }
  243. @media(min-width:992px){
  244. margin-left:36px;
  245. }
  246. @media(min-width:1200px){
  247. margin-left:67px;
  248. }
  249. }
  250. .left-logo{
  251. img{
  252. width:40px;
  253. }
  254. }
  255. .logo{
  256. width:0;
  257. margin:0;
  258. padding: 0;
  259. }
  260. }
  261. }
  262. .nav-drop{
  263. text-align: left;
  264. position: absolute;
  265. z-index: 9;
  266. background: $color;
  267. color: #fff;
  268. left: 0;
  269. right: 0;
  270. top: 100%;
  271. .nav-left{
  272. padding: 0 150px 0 20px;
  273. h2{
  274. font-size: 32px;
  275. @media(min-width:1200px){
  276. font-size: 36px;
  277. }
  278. margin-bottom:20px;
  279. }
  280. p{
  281. font-size: 14px;
  282. line-height: 2;
  283. margin-bottom:50px;
  284. @include ellipsisLn(2);
  285. }
  286. a{
  287. color: #fff;
  288. font-size: 16px;
  289. img{
  290. transition: all .5s ease;
  291. }
  292. &:hover{
  293. text-decoration: underline;
  294. img{
  295. margin-left: 10px;
  296. }
  297. }
  298. }
  299. }
  300. .nav-right{
  301. .sm-nav{
  302. a{
  303. font-size: 16px;
  304. display: inline-block;
  305. color: #fff;
  306. margin-bottom: 25px;
  307. cursor: pointer;
  308. &:after{
  309. content: "";
  310. display: inline-block;
  311. vertical-align: text-bottom;
  312. width:20px;
  313. height: 15px;
  314. background:url("/assets/image/white-arrow.png") no-repeat 0 center;
  315. opacity: 0;
  316. transition: all .5s ease;
  317. }
  318. &:hover{
  319. text-decoration: underline;
  320. &:after{
  321. opacity: 1;
  322. background-position: right center;
  323. }
  324. }
  325. }
  326. }
  327. .sm-nav-img{
  328. a{
  329. overflow: hidden;
  330. display: block;
  331. &:hover{
  332. img{
  333. transform: scale(1.05);
  334. }
  335. }
  336. }
  337. img{
  338. transition: all .5s ease;
  339. }
  340. h2{
  341. font-size: 22px;
  342. margin-top:20px;
  343. line-height: 1.5;
  344. }
  345. }
  346. }
  347. .container{
  348. display:none;
  349. &>.row{
  350. padding: 50px 0;
  351. }
  352. }
  353. }
  354. //mobile
  355. nav{
  356. clear:fix;
  357. }
  358. nav .logo{
  359. height:54px;
  360. line-height: 54px;
  361. display: inline-block;
  362. img{
  363. width:40px;
  364. vertical-align: middle;
  365. }
  366. }
  367. nav .fr{
  368. height:54px;
  369. display: flex;
  370. align-items: center;
  371. }
  372. nav .head-img{
  373. width:36px;
  374. height:36px;
  375. border-radius: 50%;
  376. overflow: hidden;
  377. background-color: #eee;
  378. img{
  379. width:100%;
  380. height:100%;
  381. }
  382. }
  383. nav .menu{
  384. margin-left: 20px;
  385. span{
  386. display: block;
  387. width:24px;
  388. height:2px;
  389. background: #666;
  390. transition: all .5s ease;
  391. }
  392. span~span{
  393. margin-top:7px;
  394. }
  395. &.open{
  396. span:nth-child(1){
  397. transform: rotateZ(-45deg);
  398. transform-origin: right;
  399. }
  400. span:nth-child(2){
  401. opacity: 0;
  402. transform: translateX(6px);
  403. }
  404. span:nth-child(3){
  405. transform: rotateZ(45deg);
  406. transform-origin: right;
  407. }
  408. }
  409. }
  410. }
  411. .m-header{
  412. height:54px;
  413. }
  414. .m-nav-drop{
  415. display: none;
  416. position: fixed;
  417. overflow-y:auto;
  418. overflow-x: hidden;
  419. -webkit-overflow-scrolling: touch;
  420. z-index: 101;
  421. left: 0;
  422. right: 0;
  423. bottom:0;
  424. top: 54px;
  425. background: rgba(255,255,255,.95);
  426. padding: 0 40px 20px;
  427. &:after{
  428. content: "";
  429. display: inline-block;
  430. vertical-align: middle;
  431. height:100%;
  432. }
  433. ul{
  434. display: inline-block;
  435. vertical-align: middle;
  436. width:100%;
  437. position: relative;
  438. top: -50px;
  439. }
  440. li{
  441. opacity: 0;
  442. border-bottom: 1px solid #e7e6e5;
  443. transform: translate(-20px,-50px);
  444. transition-property: transform,opacity;
  445. transition-duration: 0.25s;
  446. transition-delay: 0.5s;
  447. a{
  448. transition: all .5s ease;
  449. &.cur{
  450. color: $color;
  451. }
  452. }
  453. &>a{
  454. display: block;
  455. padding: 14px 10px;
  456. font-size: 16px;
  457. color: #333;
  458. position: relative;
  459. i{
  460. position: absolute;
  461. width:50px;
  462. height: 50px;
  463. top: 50%;
  464. margin-top: -25px;
  465. right:0;
  466. display: inline-block;
  467. &:after{
  468. content: "";
  469. @include setArrow(8px,#666,1px,right);
  470. top:25%;
  471. position: relative;
  472. }
  473. }
  474. }
  475. .added-value{
  476. padding: 0 20px;
  477. display: none;
  478. a{
  479. display: block;
  480. padding:0 10px;
  481. line-height: 40px;
  482. height:40px;
  483. color: #666;
  484. font-size: 13px;
  485. border-top: 1px solid #eee;
  486. }
  487. }
  488. }
  489. &.open{
  490. li{
  491. opacity: 1;
  492. transform: translate(0,0);
  493. }
  494. @for $i from 1 through 7 {
  495. li:nth-child(#{$i}) {
  496. transition-delay: $i*0.08s;
  497. }
  498. }
  499. }
  500. .second-nav{
  501. position: absolute;
  502. left: 0;
  503. right: 0;
  504. top: 0;
  505. bottom: 0;
  506. background: #fff;
  507. border-top: 1px solid #f0f0f0;
  508. transform: translateX(100%);
  509. transition: all .5s ease;
  510. overflow-y:auto;
  511. overflow-x: hidden;
  512. -webkit-overflow-scrolling: touch;
  513. &.open{
  514. transform: translateX(0);
  515. }
  516. .second-nav-back{
  517. position: absolute;
  518. z-index: 2;
  519. left:20px;
  520. top: 8px;
  521. bottom: 0;
  522. text-align: center;
  523. i{
  524. width: 30px;
  525. height: 30px;
  526. display: inline-block;
  527. vertical-align: middle;
  528. background: url("/assets/image/arrow-color-left.png") no-repeat center;
  529. background-size: 18px;
  530. }
  531. }
  532. ul{
  533. display: none;
  534. top: 10px;
  535. position: relative;
  536. li{
  537. border: 0;
  538. }
  539. }
  540. }
  541. .search{
  542. height: 36px;
  543. padding: 8px;
  544. background: #f8f8f8;
  545. position: relative;
  546. input{
  547. background: #f8f8f8;
  548. border: 0;
  549. width:100%;
  550. padding-right:30px;
  551. height: 20px;
  552. line-height: 20px;
  553. }
  554. i{
  555. display: inline-block;
  556. width:16px;
  557. height:16px;
  558. background: url("/assets/image/icons/search.png") no-repeat center;
  559. position: absolute;
  560. right: 12px;
  561. top: 10px;
  562. }
  563. }
  564. }
  565. .footer{
  566. .foot-con{
  567. background: #191919;
  568. padding: 40px 0;
  569. @media(min-width:768px){
  570. padding: 60px 0;
  571. }
  572. .container .row>div~div{
  573. border-left: 1px solid #333;
  574. }
  575. }
  576. .fast-track{
  577. clear: fix;
  578. }
  579. .foot-nav{
  580. float: left;
  581. width:50%;
  582. h2{
  583. color: #fff;
  584. font-size: 18px;
  585. margin-bottom: 20px;
  586. }
  587. .item{
  588. a{
  589. display: block;
  590. color: #999;
  591. font-size: 14px;
  592. margin-bottom: 8px;
  593. &:hover{
  594. text-decoration: underline;
  595. }
  596. }
  597. }
  598. }
  599. .tel{
  600. color: #999;
  601. font-size: 14px;
  602. margin-top: 30px;
  603. @media(min-width:768px){
  604. margin-top: 0;
  605. }
  606. h2{
  607. color: #fff;
  608. font-size: 24px;
  609. }
  610. p{
  611. margin-top: 8px;
  612. line-height: 1.8;
  613. }
  614. }
  615. .qrcode{
  616. clear: fix;
  617. padding: 0 30px;
  618. margin-top: 30px;
  619. margin-bottom: 30px;
  620. @media(min-width:768px){
  621. padding: 0;
  622. margin-top: 0;
  623. }
  624. .item{
  625. float: left;
  626. padding: 0 15px;
  627. width:50%;
  628. font-size: 12px;
  629. color: #999;
  630. text-align: center;
  631. img{
  632. width: 100%;
  633. }
  634. p{
  635. margin-top: 10px;
  636. }
  637. }
  638. }
  639. .inputs{
  640. position: relative;
  641. width: 80%;
  642. margin: 0 auto 20px;
  643. @media(min-width:768px){
  644. width: 100%;
  645. float: right;
  646. margin: 0 auto 20px;
  647. }
  648. @media(min-width:992px){
  649. width: 88%;
  650. }
  651. height: 44px;
  652. line-height: 44px;
  653. .choose{
  654. position: relative;
  655. display: block;
  656. background: #000;
  657. color: #999;
  658. margin-right: 60px;
  659. padding: 0 10px;
  660. height: 100%;
  661. cursor: pointer;
  662. ul{
  663. display: none;
  664. position: absolute;
  665. z-index: 2;
  666. bottom: 100%;
  667. left: 0;
  668. right: 0;
  669. background: #fff;
  670. li{
  671. padding: 0 10px;
  672. line-height: 36px;
  673. color: #666;
  674. @include ellipsis(auto);
  675. &:hover{
  676. color: $color;
  677. }
  678. }
  679. }
  680. span{
  681. @include ellipsis(auto);
  682. display: inline-block;
  683. padding-right: 20px;
  684. height: 100%;
  685. width:100%;
  686. background: url("/assets/image/arrow-up.png") no-repeat center right;
  687. }
  688. input{
  689. width:100%;
  690. padding: 10px 0;
  691. line-height: 24px;
  692. background: #000;
  693. color: #999;
  694. border: 0;
  695. }
  696. }
  697. a{
  698. display: block;
  699. position: absolute;
  700. width:60px;
  701. top: 0;
  702. right: 0;
  703. background: #3b3b3b;
  704. color: #fff;
  705. font-size: 14px;
  706. text-align: center;
  707. &:hover{
  708. background: $color;
  709. }
  710. }
  711. }
  712. .copy{
  713. clear: fix;
  714. padding: 10px 0;
  715. background: #000;
  716. font-size: 14px;
  717. color: #666;
  718. span{
  719. @media(max-width:767px){
  720. float: none;
  721. display: block;
  722. text-align: center;
  723. padding: 0 20px;
  724. }
  725. }
  726. }
  727. }
  728. .view-more{
  729. width: 120px;
  730. height: 36px;
  731. line-height: 36px;
  732. font-size: 14px;
  733. border: 1px solid $color;
  734. color: $color;
  735. display: block;
  736. margin: 30px auto 0;
  737. text-align: center;
  738. cursor: pointer;
  739. transition: all .5s ease;
  740. @media(min-width:768px){
  741. width: 180px;
  742. height: 44px;
  743. line-height: 44px;
  744. font-size: 18px;
  745. margin: 40px auto 0;
  746. }
  747. &:hover{
  748. color: #fff;
  749. background: $color;
  750. }
  751. }
  752. .close-mask{
  753. color:$color;
  754. font-size: 20px;
  755. img{
  756. margin-right:6px;
  757. }
  758. }
  759. .open-mask{
  760. font-size: 20px;
  761. display: inline-block;
  762. color: $color;
  763. i{
  764. margin-left: 5px;
  765. display: inline-block;
  766. width:11px;
  767. height:11px;
  768. background: url("/assets/image/filter.png") no-repeat center;
  769. }
  770. }
  771. .back-nav{
  772. color: $color;
  773. font-size: 14px;
  774. cursor: pointer;
  775. display: inline-block;
  776. i {
  777. display: inline-block;
  778. width: 30px;
  779. height: 10px;
  780. transition: all .5s ease;
  781. background: url("/assets/image/arrow-color-left.png") no-repeat center;
  782. }
  783. &:hover,
  784. &:active {
  785. color: $color;
  786. i {
  787. background-position: center left;
  788. }
  789. }
  790. }
  791. .foot-h {
  792. height: 60px;
  793. @media(min-width: 768px) {
  794. height:100px;
  795. }
  796. @media(min-width:1200px) {
  797. height: 120px;
  798. }
  799. }
  800. .toTop{
  801. cursor: pointer;
  802. position: fixed;
  803. z-index: 1000;
  804. bottom: 20px;
  805. right: 15px;
  806. padding: 10px;
  807. padding-top: 0;
  808. padding-bottom:0;
  809. border-radius: 50%;
  810. opacity: 0;
  811. background: rgba(255,255,255,.7);
  812. box-shadow: 0 0 20px 5px rgba(0,0,0,.1);
  813. transition: all .5s ease;
  814. @media(min-width:768px){
  815. bottom: 40px;
  816. right: 40px;
  817. }
  818. &.showIn{
  819. padding-top: 10px;
  820. padding-bottom:10px;
  821. opacity: 1;
  822. }
  823. img{
  824. width: 30px;
  825. }
  826. &:hover{
  827. background: rgba(255,255,255,1);
  828. }
  829. }
  830. .header ul.nav-ul .user-login{
  831. position: relative;
  832. .logout{
  833. display: none;
  834. position: absolute;
  835. left: 50%;
  836. transform: translateX(-50%);
  837. background: #fff;
  838. line-height: 48px;
  839. a{
  840. padding: 0 20px;
  841. }
  842. }
  843. // &:hover{
  844. // .logout{
  845. // display: block;
  846. // }
  847. // }
  848. }