headerComponent.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712
  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-color: rgba(19,19,19,0.85);
  338. -webkit-transition: width 0.5s, font-size 0.01s 0.25s;
  339. transition: width 0.5s, font-size 0.01s 0.25s;
  340. }
  341. .submenu:hover > .subnav-sub-wrap, .thrmenu:hover > .subnav-thr-wrap {
  342. font-size:14px;
  343. width: 200px;
  344. overflow: visible;
  345. }
  346. ::-webkit-scrollbar{
  347. width: 10px;
  348. }
  349. ::-webkit-scrollbar-thumb{
  350. background: #000;
  351. border-radius: 50px;
  352. border: 1px solid #FFF;
  353. }
  354. ::-webkit-scrollbar-track-piece{
  355. background: #FFF;
  356. }
  357. .subnav-thr-wrap {
  358. width: 0;
  359. position: absolute;
  360. overflow: hidden;
  361. top: 0;
  362. left: 200px;
  363. background-color: rgba(19,19,19,0.85);
  364. -webkit-transition: width 0.5s;
  365. transition: width 0.5s;
  366. }
  367. .shop-qr {
  368. display: none;
  369. width: 100%;
  370. height: 100%;
  371. position: absolute;
  372. top: 0;
  373. left: 0;
  374. background-color: rgba(0, 0, 0, 0.7);
  375. z-index: 10;
  376. }
  377. .shop-qr > img {
  378. width: 200px;
  379. height: 200px;
  380. position: absolute;
  381. top: 0;
  382. left: 0;
  383. right: 0;
  384. bottom: 0;
  385. margin: auto;
  386. pointer-events: none;
  387. }
  388. @media (max-width: 1600px) {
  389. .header-logo {
  390. width: 140px;
  391. height: 140px;
  392. /* //left: 120px; */
  393. }
  394. .nav-wrap {
  395. height: 42px;
  396. line-height: 42px;
  397. font-size: 14px;
  398. }
  399. .nav-lang {
  400. height: 42px;
  401. }
  402. .nav-lang:hover {
  403. height: 84px;
  404. }
  405. .nav-shop {
  406. height: 42px;
  407. line-height: 42px;
  408. }
  409. .subnav-wrap {
  410. width: 140px;
  411. /* //left: 120px; */
  412. top: 60px;
  413. line-height: 60px;
  414. }
  415. .subnav-logo {
  416. width: 140px;
  417. height: 78.75px;
  418. }
  419. .subnav-sub-wrap {
  420. left: 140px;
  421. }
  422. .subnav-thr-wrap {
  423. left: 180px;
  424. }
  425. .submenu:hover > .subnav-sub-wrap, .thrmenu:hover > .subnav-thr-wrap {
  426. width: 180px;
  427. }
  428. .video-tv > img{
  429. width: 85%;
  430. }
  431. }
  432. @media (max-width: 1280px) {
  433. .header-logo {
  434. width: 120px;
  435. height: 120px;
  436. /* //left: 100px; */
  437. }
  438. .nav-wrap {
  439. height: 36px;
  440. line-height: 36px;
  441. font-size: 12px;
  442. }
  443. .nav-lang {
  444. height: 36px;
  445. }
  446. .nav-lang:hover {
  447. height: 72px;
  448. }
  449. .nav-shop {
  450. height: 36px;
  451. line-height: 36px;
  452. }
  453. .subnav-wrap {
  454. width: 120px;
  455. /* //left: 100px; */
  456. top: 50px;
  457. line-height: 50px;
  458. }
  459. .subnav-main-item, .subnav-sub-item, .subnav-thr-item {
  460. font-size: 12px;
  461. }
  462. .subnav-logo {
  463. width: 120px;
  464. height: 67.5px;
  465. }
  466. .subnav-sub-wrap {
  467. left: 120px;
  468. }
  469. .subnav-thr-wrap {
  470. left: 160px;
  471. }
  472. .submenu:hover > .subnav-sub-wrap, .thrmenu:hover > .subnav-thr-wrap {
  473. width: 160px;
  474. }
  475. .video-tv > img{
  476. width: 70%;
  477. }
  478. }
  479. .subnav-sub-back, .subnav-thr-back {
  480. display: none;
  481. }
  482. @media (min-width: 959px) {
  483. html {
  484. font-size: 385%;
  485. }
  486. }
  487. @media (min-width: 1279px) {
  488. html {
  489. font-size: 465%;
  490. }
  491. }
  492. @media (min-width: 1599px) {
  493. html {
  494. font-size: 545%;
  495. }
  496. }
  497. @media (min-width: 1919px) {
  498. html {
  499. font-size: 625%;
  500. }
  501. }
  502. @media (max-device-width: 1081px) {
  503. html {
  504. font-size: 585%;
  505. }
  506. .nav-wrap {
  507. z-index: 1;
  508. position: fixed;
  509. width: 100%;
  510. height: 1rem;
  511. left: 0;
  512. line-height: 1rem;
  513. color: #fff;
  514. background: url('http://airsmart-web.oss-cn-shanghai.aliyuncs.com/upload/images/%E5%85%B1%E9%80%9A/nav_bg.png') right center;
  515. background-size: 120% 100%;
  516. z-index: 2;
  517. }
  518. .nav-version {
  519. float: right;
  520. padding-left: 0 !important;
  521. width: calc(100% - 2rem);
  522. height: 1rem;
  523. font-size: 0;
  524. border-radius: 0;
  525. }
  526. .nav-version-item {
  527. width: 33.33%;
  528. opacity: 0.6;
  529. /* //width: auto; */
  530. display: inline-block;
  531. font-size: 0.2rem;
  532. text-align: center;
  533. padding: 0;
  534. /* // padding: 0 0.2rem 0 0; */
  535. }
  536. .nav-lang {
  537. /* // display: none; */
  538. width: 0.8rem;
  539. height: 1rem;
  540. font-size: 0.2rem
  541. }
  542. .nav-lang:hover {
  543. height: 1rem;
  544. }
  545. .nav-lang:hover::before {
  546. opacity: 1;
  547. }
  548. .nav-lang:hover > .nav-lang-hidden {
  549. /* // z-index: 0;
  550. // opacity: 0;
  551. // background-color: rgba(17,17,17,0.7); */
  552. background-color: rgb(17,17,17);
  553. }
  554. .nav-lang-item:hover {
  555. opacity: 0.5;
  556. }
  557. .nav-shop {
  558. font-size: 0.2rem;
  559. width: 0.8rem;
  560. height: 1rem;
  561. line-height: 1rem;
  562. }
  563. .nav-menu {
  564. float: left;
  565. display: inline-block;
  566. width: 1rem;
  567. height: 1rem;
  568. 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;
  569. }
  570. .header-logo {
  571. width: 1rem;
  572. height: 1rem;
  573. left: 0;
  574. top: 1rem;
  575. }
  576. .subnav-wrap {
  577. width: 100%;
  578. top: 2.1rem;
  579. left: 0;
  580. }
  581. .subnav-logo {
  582. width: 1rem;
  583. height: 0.5rem;
  584. }
  585. .subnav-main-wrap {
  586. display: none;
  587. position: fixed;
  588. width: 100%;
  589. top: 1rem;
  590. background-color: rgba(0,0,0,0.8);
  591. background-image: none;
  592. border-radius: 0;
  593. z-index: 1;
  594. }
  595. .subnav-main-item, .subnav-sub-item, .subnav-thr-item {
  596. width: 100%;
  597. text-align: center;
  598. padding: 0;
  599. margin: 0;
  600. height: 1rem;
  601. line-height: 1rem;
  602. border-bottom: 1px solid #333;
  603. font-size: 0.28rem;
  604. /* // background-color: rgba(0,0,0,0.8); */
  605. }
  606. .subnav-main-item:hover, .subnav-sub-item:hover, .subnav-thr-item:hover {
  607. color: #8D8C8A;
  608. }
  609. .subnav-main-item:after, .subnav-sub-item:after, .subnav-thr-item:after {
  610. content: '';
  611. display: inline-block;
  612. width: 10px;
  613. height: 10px;
  614. border: 1px solid #fff;
  615. border-color: #fff #fff transparent transparent;
  616. -webkit-transform: rotate(45deg);
  617. transform: rotate(45deg);
  618. position: absolute;
  619. right: 25px;
  620. top: 50%;
  621. margin-top: -6px;
  622. }
  623. .subnav-main-item:hover::before, .subnav-sub-item:hover::before, .subnav-thr-item:hover::before {
  624. display: none;
  625. }
  626. .subnav-thumb {
  627. display: none;
  628. }
  629. .subnav-sub-wrap, .subnav-thr-wrap {
  630. display: none;
  631. width: 100%;
  632. position: fixed;
  633. top: 1rem;
  634. left: 100%;
  635. padding: 0;
  636. margin: 0;
  637. }
  638. .submenu:hover > .subnav-sub-wrap, .thrmenu:hover > .subnav-thr-wrap {
  639. width: 100%;
  640. }
  641. .subnav-sub-back, .subnav-thr-back {
  642. color: #8D8C8A;
  643. display: block;
  644. width: 100%;
  645. text-align: center;
  646. padding: 0;
  647. height: 1rem;
  648. line-height: 1rem;
  649. border-bottom: 1px solid #333;
  650. font-size: 0.28rem;
  651. /* //background-color: rgba(0,0,0,0.8); */
  652. }
  653. .nav-version-current {
  654. background-color: rgba(222,222,222,0.3);
  655. opacity: 1;
  656. }
  657. }
  658. @media (max-device-width: 720px) {
  659. html {
  660. font-size: 465%;
  661. }
  662. }
  663. @media (max-device-width: 660px) {
  664. html {
  665. font-size: 445%;
  666. }
  667. }
  668. @media (max-device-width: 600px) {
  669. html {
  670. font-size: 425%;
  671. }
  672. }
  673. @media (max-device-width: 540px) {
  674. html {
  675. font-size: 405%;
  676. }
  677. }
  678. @media (max-device-width: 480px) {
  679. html {
  680. font-size: 385%;
  681. }
  682. }
  683. @media (max-device-width: 420px) {
  684. html {
  685. font-size: 365%;
  686. }
  687. }
  688. @media (max-device-width: 360px) {
  689. html {
  690. font-size: 345%;
  691. }
  692. }
  693. @media (max-device-width: 240px) {
  694. html {
  695. font-size: 305%;
  696. }
  697. }