headerComponent.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720
  1. @charset "UTF-8";
  2. /**
  3. *
  4. * @authors Your Name (you@example.org)
  5. * @date 2017-07-04 19:05:07
  6. * @version $Id$
  7. */
  8. * {
  9. margin: 0;
  10. padding: 0;
  11. }
  12. a {
  13. color: #fff;
  14. text-decoration: none;
  15. }
  16. ul, ol {
  17. list-style-type: none;
  18. }
  19. img {
  20. border: 0 none;
  21. }
  22. .m-loading {
  23. width: 100%;
  24. height: 100vh;
  25. background-color: #202020;
  26. background-image: url('http://airsmart-web.oss-cn-shanghai.aliyuncs.com/upload/images/%E5%85%B1%E9%80%9A/loading_bg.jpg');
  27. background-repeat: no-repeat;
  28. background-position: center center;
  29. background-size: cover;
  30. position: absolute;
  31. top:0;
  32. left: 0;
  33. z-index: 101;
  34. text-align: center;
  35. }
  36. .loading-step {
  37. width: 282px;
  38. height: 220px;
  39. background-image: url('http://airsmart-web.oss-cn-shanghai.aliyuncs.com/upload/images/%E5%85%B1%E9%80%9A/loading_sprite2.png');
  40. background-position: 0 center;
  41. background-size: auto 100%;
  42. position: absolute;
  43. top: 50%;
  44. left: 50%;
  45. margin: -110px 0 0 -141px;
  46. -webkit-animation: sprite 2s steps(25) infinite;
  47. animation: sprite 2s steps(25) infinite;
  48. }
  49. .loading-text {
  50. opacity: 0.8;
  51. position: absolute;
  52. top: 50%;
  53. left: 50%;
  54. -webkit-transform: translate(-50%, 110px);
  55. transform: translate(-50%, 110px);
  56. color: #eaedd7;
  57. font-size: 0.16rem;
  58. }
  59. .img-preload {
  60. position: absolute;
  61. top: -9999px;
  62. left: -9999px;
  63. }
  64. .img-preload img {
  65. width: 1px;
  66. height: 1px;
  67. }
  68. @-webkit-keyframes sprite {
  69. 0% {
  70. background-position: 0 center;
  71. }
  72. 100% {
  73. background-position: -7050px center;
  74. }
  75. }
  76. @keyframes sprite {
  77. 0% {
  78. background-position: 0 center;
  79. }
  80. 100% {
  81. background-position: -7050px center;
  82. }
  83. }
  84. .effect-layer {
  85. z-index: 9;
  86. width: 100%;
  87. height: 100vh;
  88. position: fixed;
  89. background-image: url('http://airsmart-web.oss-cn-shanghai.aliyuncs.com/upload/images/noise.png');
  90. -webkit-transform: translate3d(0,0,0);
  91. transform: translate3d(0,0,0);
  92. pointer-events: none;
  93. -webkit-animation: noise 1s steps(10) infinite;
  94. animation: noise 1s steps(10) infinite;
  95. }
  96. @-webkit-keyframes noise {
  97. 0%,100%{background-position:0 0}
  98. 10%{background-position:-5% -10%}
  99. 20%{background-position:-15% 5%}
  100. 30%{background-position:7% -25%}
  101. 40%{background-position:20% 25%}
  102. 50%{background-position:-25% 10%}
  103. 60%{background-position:15% 5%}
  104. 70%{background-position:0% 15%}
  105. 80%{background-position:25% 35%}
  106. 90%{background-position:-10% 10%}
  107. }
  108. @keyframes noise {
  109. 0%,100%{background-position:0 0}
  110. 10%{background-position:-5% -10%}
  111. 20%{background-position:-15% 5%}
  112. 30%{background-position:7% -25%}
  113. 40%{background-position:20% 25%}
  114. 50%{background-position:-25% 10%}
  115. 60%{background-position:15% 5%}
  116. 70%{background-position:0% 15%}
  117. 80%{background-position:25% 35%}
  118. 90%{background-position:-10% 10%}
  119. }
  120. .m-header {
  121. /*position: fixed;*/
  122. /*min-width: 960px;*/
  123. font-family: "PingFang SC", "Arial", "STXihei", "Microsoft YaHei";
  124. font-weight: 300;
  125. }
  126. .header-logo {
  127. z-index: 1;
  128. width: 160px;
  129. height: 160px;
  130. position: fixed;
  131. left: 1.4rem;
  132. top: 0;
  133. background: url('https://airsmart-web.oss-cn-shanghai.aliyuncs.com/maoking/maoking_guangwang/logo.png') no-repeat;
  134. background-size: cover;
  135. /* border-bottom-left-radius: 5px; */
  136. /* border-bottom-right-radius: 5px; */
  137. }
  138. .nav-wrap {
  139. z-index: 1;
  140. position: fixed;
  141. /* width: 350px; */
  142. /* left: calc(100% - 350px); */
  143. /* left: -moz-calc(100% - 350px); */
  144. right: 0;
  145. height: 50px;
  146. line-height: 50px;
  147. color: #fff;
  148. background: url('http://airsmart-web.oss-cn-shanghai.aliyuncs.com/upload/images/%E5%85%B1%E9%80%9A/nav_bg.png');
  149. background-size: cover;
  150. }
  151. .nav-version {
  152. /* width: 270px; */
  153. height: 50px;
  154. font-size: 0;
  155. padding-left: 30px;
  156. right: 100px;
  157. border-bottom-left-radius: 50px;
  158. }
  159. .nav-version-item {
  160. opacity: 0.6;
  161. width: auto;
  162. display: inline-block;
  163. font-size: 16px;
  164. padding: 0 15px;
  165. }
  166. .nav-version-item:hover {
  167. opacity: 1;
  168. }
  169. .nav-lang {
  170. pointer-events: none;
  171. opacity: 0;
  172. position: relative;
  173. float: right;
  174. width: 60px;
  175. height: 50px;
  176. overflow: hidden;
  177. font-size: 16px;
  178. background-color: rgba(17,17,17,0.7);
  179. -webkit-transition: height 0.3s;
  180. transition: height 0.3s;
  181. }
  182. .nav-lang::before {
  183. display: inline-block;
  184. content: '';
  185. border: 5px solid #8D8C8A;
  186. border-color: #8D8C8A transparent transparent transparent;
  187. position: absolute;
  188. left: 50%;
  189. top: 85%;
  190. margin-top: -5px;
  191. margin-left: -5px;
  192. }
  193. .nav-lang:hover {
  194. height: 96px;
  195. }
  196. .nav-lang:hover::before {
  197. opacity: 0;
  198. }
  199. .nav-lang:hover > .nav-lang-hidden {
  200. z-index: 1;
  201. opacity: 1;
  202. background-color: rgba(17,17,17,0.7);
  203. }
  204. .nav-lang-show {
  205. z-index: 1;
  206. opacity: 1;
  207. background-color: rgba(17,17,17,0.7);
  208. }
  209. .nav-lang-current {
  210. }
  211. .nav-lang-hidden {
  212. position: relative;
  213. opacity: 0;
  214. -webkit-transition: opacity 0.5s;
  215. transition: opacity 0.5s;
  216. }
  217. .nav-lang-item {
  218. cursor: pointer;
  219. opacity: 0.5;
  220. }
  221. .nav-lang-item:hover {
  222. opacity: 1;
  223. }
  224. .nav-shop {
  225. /* // display: none; */
  226. float: right;
  227. width: 50px;
  228. height: 50px;
  229. line-height: 50px;
  230. text-align: center;
  231. background-color: #b32121;
  232. font-size: 16px;
  233. cursor: pointer;
  234. }
  235. /* // .nav-shop img {
  236. // position: relative;
  237. // top: 2px;
  238. // } */
  239. .nav-shop:hover {
  240. background-color: #d34141;
  241. }
  242. .subnav-wrap {
  243. z-index: 1;
  244. position: fixed;
  245. /* // left: 140px; */
  246. left: 1.4rem;
  247. top: 70px;
  248. width: 160px;
  249. line-height: 60px;
  250. }
  251. .subnav-logo {
  252. width: 160px;
  253. height: 90px;
  254. position: relative;
  255. /* background: url('https://airsmart-web.oss-cn-shanghai.aliyuncs.com/upload/images/%E5%85%B1%E9%80%9A/logo16.png') no-repeat center center; */
  256. /* background-size: cover; */
  257. border-top-left-radius: 5px;
  258. border-top-right-radius: 5px;
  259. }
  260. .subnav-thumb {
  261. -webkit-box-sizing: border-box;
  262. -moz-box-sizing: border-box;
  263. box-sizing: border-box;
  264. width: 100%;
  265. height: 60px;
  266. background-color: #1a1a1a;
  267. position: absolute;
  268. z-index: 0;
  269. top: 100%;
  270. left: 0;
  271. color: #8D8C8A;
  272. font-size: 14px;
  273. text-align: right;
  274. line-height: 60px;
  275. padding: 0 0.45rem;
  276. }
  277. .subnav-thumb::before {
  278. display: inline-block;
  279. content: '';
  280. width: 20px;
  281. height: 20px;
  282. background: url('http://airsmart-web.oss-cn-shanghai.aliyuncs.com/upload/images/%E5%85%B1%E9%80%9A/subnav_thumb.png') no-repeat center center;
  283. background-size: contain;
  284. position: absolute;
  285. top: 50%;
  286. left: 0.45rem;
  287. margin-top: -10px;
  288. }
  289. .subnav-main-wrap {
  290. position: relative;
  291. background: url('http://airsmart-web.oss-cn-shanghai.aliyuncs.com/upload/images/%E5%85%B1%E9%80%9A/subnav_bg.jpg') no-repeat;
  292. background-size: cover;
  293. background-position: top left;
  294. /* border-bottom-left-radius: 9px; */
  295. /* border-bottom-right-radius: 9px; */
  296. }
  297. .subnav-main-item, .subnav-sub-item, .subnav-thr-item {
  298. position: relative;
  299. /* // font-size: 14px; */
  300. color: #8D8C8A;
  301. padding: 0 0.45rem;
  302. cursor: pointer;
  303. white-space: nowrap;
  304. }
  305. .subnav-sub-item:last-child > .subnav-thr-wrap{
  306. /* margin-top: -4.05rem; */
  307. /* margin-top: -240px; */
  308. top: -400%;
  309. }
  310. .subnav-main-item {
  311. font-size: 14px;
  312. }
  313. .subnav-sub-item {
  314. text-align: center;
  315. padding: 0;
  316. }
  317. .subnav-main-item:hover, .subnav-sub-item:hover, .subnav-thr-item:hover {
  318. color: #fff;
  319. }
  320. .subnav-main-item:hover::before, .subnav-sub-item:hover::before, .subnav-thr-item:hover::before {
  321. display: inline-block;
  322. content: '';
  323. border: 5px solid #fff;
  324. border-color: transparent transparent transparent #fff;
  325. position: absolute;
  326. left: 0.3rem;
  327. top: 50%;
  328. margin-top: -5px;
  329. }
  330. .subnav-sub-wrap {
  331. font-size: 0;
  332. width: 0;
  333. position: absolute;
  334. overflow: hidden;
  335. top: 0;
  336. left: 160px;
  337. /* // background: url('../../static/subnav_bg.jpg'); */
  338. background-color: rgba(19,19,19,0.85);
  339. -webkit-transition: width 0.5s, font-size 0.01s 0.25s;
  340. transition: width 0.5s, font-size 0.01s 0.25s;
  341. }
  342. /* .submenu:hover > .subnav-sub-wrap, .thrmenu:hover > .subnav-thr-wrap {
  343. font-size:14px;
  344. width: 200px;
  345. overflow: visible;
  346. } */
  347. .submenu:hover > .subnav-sub-wrap {
  348. font-size:12px;
  349. width: 200px;
  350. overflow-x: hidden;
  351. overflow-y: auto;
  352. max-height: 500px;
  353. }
  354. ::-webkit-scrollbar{
  355. width: 10px;
  356. }
  357. ::-webkit-scrollbar-thumb{
  358. background: #000;
  359. border-radius: 50px;
  360. border: 1px solid #FFF;
  361. }
  362. ::-webkit-scrollbar-track-piece{
  363. background: #FFF;
  364. }
  365. .subnav-thr-wrap {
  366. width: 0;
  367. position: absolute;
  368. overflow: hidden;
  369. top: 0;
  370. left: 200px;
  371. background-color: rgba(19,19,19,0.85);
  372. -webkit-transition: width 0.5s;
  373. transition: width 0.5s;
  374. }
  375. .shop-qr {
  376. display: none;
  377. width: 100%;
  378. height: 100%;
  379. position: absolute;
  380. top: 0;
  381. left: 0;
  382. background-color: rgba(0, 0, 0, 0.7);
  383. z-index: 10;
  384. }
  385. .shop-qr > img {
  386. width: 200px;
  387. height: 200px;
  388. position: absolute;
  389. top: 0;
  390. left: 0;
  391. right: 0;
  392. bottom: 0;
  393. margin: auto;
  394. pointer-events: none;
  395. }
  396. @media (max-width: 1600px) {
  397. .header-logo {
  398. width: 140px;
  399. height: 140px;
  400. /* //left: 120px; */
  401. }
  402. .nav-wrap {
  403. height: 42px;
  404. line-height: 42px;
  405. font-size: 14px;
  406. }
  407. .nav-lang {
  408. height: 42px;
  409. }
  410. .nav-lang:hover {
  411. height: 84px;
  412. }
  413. .nav-shop {
  414. height: 42px;
  415. line-height: 42px;
  416. }
  417. .subnav-wrap {
  418. width: 140px;
  419. /* //left: 120px; */
  420. top: 60px;
  421. line-height: 60px;
  422. }
  423. .subnav-logo {
  424. width: 140px;
  425. height: 78.75px;
  426. }
  427. .subnav-sub-wrap {
  428. left: 140px;
  429. }
  430. .subnav-thr-wrap {
  431. left: 180px;
  432. }
  433. .submenu:hover > .subnav-sub-wrap, .thrmenu:hover > .subnav-thr-wrap {
  434. width: 180px;
  435. }
  436. .video-tv > img{
  437. width: 85%;
  438. }
  439. }
  440. @media (max-width: 1280px) {
  441. .header-logo {
  442. width: 120px;
  443. height: 120px;
  444. /* //left: 100px; */
  445. }
  446. .nav-wrap {
  447. height: 36px;
  448. line-height: 36px;
  449. font-size: 12px;
  450. }
  451. .nav-lang {
  452. height: 36px;
  453. }
  454. .nav-lang:hover {
  455. height: 72px;
  456. }
  457. .nav-shop {
  458. height: 36px;
  459. line-height: 36px;
  460. }
  461. .subnav-wrap {
  462. width: 120px;
  463. /* //left: 100px; */
  464. top: 50px;
  465. line-height: 50px;
  466. }
  467. .subnav-main-item, .subnav-sub-item, .subnav-thr-item {
  468. font-size: 12px;
  469. }
  470. .subnav-logo {
  471. width: 120px;
  472. height: 67.5px;
  473. }
  474. .subnav-sub-wrap {
  475. left: 120px;
  476. }
  477. .subnav-thr-wrap {
  478. left: 160px;
  479. }
  480. .submenu:hover > .subnav-sub-wrap, .thrmenu:hover > .subnav-thr-wrap {
  481. width: 160px;
  482. }
  483. .video-tv > img{
  484. width: 70%;
  485. }
  486. }
  487. .subnav-sub-back, .subnav-thr-back {
  488. display: none;
  489. }
  490. @media (min-width: 959px) {
  491. html {
  492. font-size: 385%;
  493. }
  494. }
  495. @media (min-width: 1279px) {
  496. html {
  497. font-size: 465%;
  498. }
  499. }
  500. @media (min-width: 1599px) {
  501. html {
  502. font-size: 545%;
  503. }
  504. }
  505. @media (min-width: 1919px) {
  506. html {
  507. font-size: 625%;
  508. }
  509. }
  510. @media (max-device-width: 1081px) {
  511. html {
  512. font-size: 585%;
  513. }
  514. .nav-wrap {
  515. z-index: 1;
  516. position: fixed;
  517. width: 100%;
  518. height: 1rem;
  519. left: 0;
  520. line-height: 1rem;
  521. color: #fff;
  522. background: url('http://airsmart-web.oss-cn-shanghai.aliyuncs.com/upload/images/%E5%85%B1%E9%80%9A/nav_bg.png') right center;
  523. background-size: 120% 100%;
  524. z-index: 2;
  525. }
  526. .nav-version {
  527. float: right;
  528. padding-left: 0 !important;
  529. width: calc(100% - 2rem);
  530. height: 1rem;
  531. font-size: 0;
  532. border-radius: 0;
  533. }
  534. .nav-version-item {
  535. width: 33.33%;
  536. opacity: 0.6;
  537. /* //width: auto; */
  538. display: inline-block;
  539. font-size: 0.2rem;
  540. text-align: center;
  541. padding: 0;
  542. /* // padding: 0 0.2rem 0 0; */
  543. }
  544. .nav-lang {
  545. /* // display: none; */
  546. width: 0.8rem;
  547. height: 1rem;
  548. font-size: 0.2rem
  549. }
  550. .nav-lang:hover {
  551. height: 1rem;
  552. }
  553. .nav-lang:hover::before {
  554. opacity: 1;
  555. }
  556. .nav-lang:hover > .nav-lang-hidden {
  557. /* // z-index: 0;
  558. // opacity: 0;
  559. // background-color: rgba(17,17,17,0.7); */
  560. background-color: rgb(17,17,17);
  561. }
  562. .nav-lang-item:hover {
  563. opacity: 0.5;
  564. }
  565. .nav-shop {
  566. font-size: 0.2rem;
  567. width: 0.8rem;
  568. height: 1rem;
  569. line-height: 1rem;
  570. }
  571. .nav-menu {
  572. float: left;
  573. display: inline-block;
  574. width: 1rem;
  575. height: 1rem;
  576. background: url('http://airsmart-web.oss-cn-shanghai.aliyuncs.com/upload/images/%E5%85%B1%E9%80%9A/subnav_thumb.png') no-repeat center center;
  577. }
  578. .header-logo {
  579. width: 1rem;
  580. height: 1rem;
  581. left: 0;
  582. top: 1rem;
  583. }
  584. .subnav-wrap {
  585. width: 100%;
  586. top: 2.1rem;
  587. left: 0;
  588. }
  589. .subnav-logo {
  590. width: 1rem;
  591. height: 0.5rem;
  592. }
  593. .subnav-main-wrap {
  594. display: none;
  595. position: fixed;
  596. width: 100%;
  597. top: 1rem;
  598. background-color: rgba(0,0,0,0.8);
  599. background-image: none;
  600. border-radius: 0;
  601. z-index: 1;
  602. }
  603. .subnav-main-item, .subnav-sub-item, .subnav-thr-item {
  604. width: 100%;
  605. text-align: center;
  606. padding: 0;
  607. margin: 0;
  608. height: 1rem;
  609. line-height: 1rem;
  610. border-bottom: 1px solid #333;
  611. font-size: 0.28rem;
  612. /* // background-color: rgba(0,0,0,0.8); */
  613. }
  614. .subnav-main-item:hover, .subnav-sub-item:hover, .subnav-thr-item:hover {
  615. color: #8D8C8A;
  616. }
  617. .subnav-main-item:after, .subnav-sub-item:after, .subnav-thr-item:after {
  618. content: '';
  619. display: inline-block;
  620. width: 10px;
  621. height: 10px;
  622. border: 1px solid #fff;
  623. border-color: #fff #fff transparent transparent;
  624. -webkit-transform: rotate(45deg);
  625. transform: rotate(45deg);
  626. position: absolute;
  627. right: 25px;
  628. top: 50%;
  629. margin-top: -6px;
  630. }
  631. .subnav-main-item:hover::before, .subnav-sub-item:hover::before, .subnav-thr-item:hover::before {
  632. display: none;
  633. }
  634. .subnav-thumb {
  635. display: none;
  636. }
  637. .subnav-sub-wrap, .subnav-thr-wrap {
  638. display: none;
  639. width: 100%;
  640. position: fixed;
  641. top: 1rem;
  642. left: 100%;
  643. padding: 0;
  644. margin: 0;
  645. }
  646. .submenu:hover > .subnav-sub-wrap, .thrmenu:hover > .subnav-thr-wrap {
  647. width: 100%;
  648. }
  649. .subnav-sub-back, .subnav-thr-back {
  650. color: #8D8C8A;
  651. display: block;
  652. width: 100%;
  653. text-align: center;
  654. padding: 0;
  655. height: 1rem;
  656. line-height: 1rem;
  657. border-bottom: 1px solid #333;
  658. font-size: 0.28rem;
  659. /* //background-color: rgba(0,0,0,0.8); */
  660. }
  661. .nav-version-current {
  662. background-color: rgba(222,222,222,0.3);
  663. opacity: 1;
  664. }
  665. }
  666. @media (max-device-width: 720px) {
  667. html {
  668. font-size: 465%;
  669. }
  670. }
  671. @media (max-device-width: 660px) {
  672. html {
  673. font-size: 445%;
  674. }
  675. }
  676. @media (max-device-width: 600px) {
  677. html {
  678. font-size: 425%;
  679. }
  680. }
  681. @media (max-device-width: 540px) {
  682. html {
  683. font-size: 405%;
  684. }
  685. }
  686. @media (max-device-width: 480px) {
  687. html {
  688. font-size: 385%;
  689. }
  690. }
  691. @media (max-device-width: 420px) {
  692. html {
  693. font-size: 365%;
  694. }
  695. }
  696. @media (max-device-width: 360px) {
  697. html {
  698. font-size: 345%;
  699. }
  700. }
  701. @media (max-device-width: 240px) {
  702. html {
  703. font-size: 305%;
  704. }
  705. }