headerComponent_en.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702
  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: 480px;
  142. // temp
  143. width: 3600px;
  144. left: calc(100% - 300px);
  145. left: -moz-calc(100% - 300px);
  146. height: 50px;
  147. line-height: 50px;
  148. color: #fff;
  149. text-align: center;
  150. background: url('http://airsmart-web.oss-cn-shanghai.aliyuncs.com/upload/images/%E5%85%B1%E9%80%9A/nav_bg.png');
  151. background-size: cover;
  152. }
  153. .nav-version {
  154. float: right;
  155. width: 300px;
  156. height: 50px;
  157. font-size: 0;
  158. // temp
  159. right: 50px;
  160. border-bottom-left-radius: 50px;
  161. }*/
  162. .nav-wrap {
  163. z-index: 1;
  164. position: fixed;
  165. width: 410px;
  166. left: calc(100% - 410px);
  167. left: -moz-calc(100% - 410px);
  168. height: 50px;
  169. line-height: 50px;
  170. color: #fff;
  171. text-align: center;
  172. background: url('http://airsmart-web.oss-cn-shanghai.aliyuncs.com/upload/images/%E5%85%B1%E9%80%9A/nav_bg.png');
  173. background-size: cover;
  174. }
  175. .nav-version {
  176. float: right;
  177. width: 400px;
  178. height: 50px;
  179. font-size: 0;
  180. right: 100px;
  181. border-bottom-left-radius: 50px;
  182. }
  183. .nav-version-item {
  184. opacity: 0.6;
  185. width: auto;
  186. display: inline-block;
  187. font-size: 14px;
  188. padding: 0 15px;
  189. }
  190. .nav-version-item:hover {
  191. opacity: 1;
  192. }
  193. .nav-lang {
  194. /* display: none; */
  195. position: relative;
  196. float: right;
  197. width: 60px;
  198. height: 50px;
  199. overflow: hidden;
  200. font-size: 14px;
  201. background-color: rgba(17,17,17,0.7);
  202. -webkit-transition: height 0.3s;
  203. transition: height 0.3s;
  204. }
  205. .nav-lang::before {
  206. display: inline-block;
  207. content: '';
  208. border: 5px solid #8D8C8A;
  209. border-color: #8D8C8A transparent transparent transparent;
  210. position: absolute;
  211. left: 50%;
  212. top: 85%;
  213. margin-top: -5px;
  214. margin-left: -5px;
  215. }
  216. .nav-lang:hover {
  217. height: 144px;
  218. }
  219. .nav-lang:hover::before {
  220. opacity: 0;
  221. }
  222. .nav-lang:hover > .nav-lang-hidden {
  223. z-index: 1;
  224. opacity: 1;
  225. background-color: rgba(17,17,17,0.7);
  226. }
  227. .nav-lang-show {
  228. z-index: 1;
  229. opacity: 1;
  230. background-color: rgba(17,17,17,0.7);
  231. }
  232. .nav-lang-current {
  233. }
  234. .nav-lang-hidden {
  235. position: relative;
  236. opacity: 0;
  237. -webkit-transition: opacity 0.5s;
  238. transition: opacity 0.5s;
  239. }
  240. .nav-lang-item {
  241. cursor: pointer;
  242. opacity: 0.5;
  243. }
  244. .nav-lang-item:hover {
  245. opacity: 1;
  246. }
  247. .nav-shop {
  248. /* // display: none; */
  249. float: right;
  250. width: 50px;
  251. height: 50px;
  252. line-height: 50px;
  253. text-align: center;
  254. background-color: #b32121;
  255. font-size: 14px;
  256. cursor: pointer;
  257. }
  258. /* // .nav-shop img {
  259. // position: relative;
  260. // top: 2px;
  261. // } */
  262. .nav-shop:hover {
  263. background-color: #d34141;
  264. }
  265. .subnav-wrap {
  266. z-index: 1;
  267. position: fixed;
  268. /* // left: 140px; */
  269. left: 1.4rem;
  270. top: 70px;
  271. width: 160px;
  272. line-height: 60px;
  273. }
  274. .subnav-logo {
  275. width: 160px;
  276. height: 90px;
  277. position: relative;
  278. /* background: url('http://airsmart-web.oss-cn-shanghai.aliyuncs.com/upload/images/%E5%85%B1%E9%80%9A/subnav_logo.jpg') no-repeat center center; */
  279. /* background-size: cover; */
  280. border-top-left-radius: 5px;
  281. border-top-right-radius: 5px;
  282. }
  283. .subnav-thumb {
  284. -webkit-box-sizing: border-box;
  285. -moz-box-sizing: border-box;
  286. box-sizing: border-box;
  287. width: 100%;
  288. height: 60px;
  289. background-color: #1a1a1a;
  290. position: absolute;
  291. z-index: 0;
  292. top: 100%;
  293. left: 0;
  294. color: #8D8C8A;
  295. font-size: 12px;
  296. text-align: right;
  297. line-height: 60px;
  298. padding: 0 0.45rem;
  299. }
  300. .subnav-thumb::before {
  301. display: inline-block;
  302. content: '';
  303. width: 20px;
  304. height: 20px;
  305. 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;
  306. background-size: contain;
  307. position: absolute;
  308. top: 50%;
  309. left: 0.45rem;
  310. margin-top: -10px;
  311. }
  312. .subnav-main-wrap {
  313. position: relative;
  314. background: url('http://airsmart-web.oss-cn-shanghai.aliyuncs.com/upload/images/%E5%85%B1%E9%80%9A/subnav_bg.jpg') no-repeat;
  315. background-size: cover;
  316. background-position: top left;
  317. /* border-bottom-left-radius: 9px; */
  318. /* border-bottom-right-radius: 9px; */
  319. }
  320. .subnav-main-item, .subnav-sub-item, .subnav-thr-item {
  321. position: relative;
  322. /* // font-size: 14px; */
  323. color: #8D8C8A;
  324. padding: 0 0.45rem;
  325. cursor: pointer;
  326. white-space: nowrap;
  327. }
  328. .subnav-main-item {
  329. font-size: 12px;
  330. }
  331. .subnav-sub-item {
  332. text-align: center;
  333. padding: 0;
  334. }
  335. .subnav-main-item:hover, .subnav-sub-item:hover, .subnav-thr-item:hover {
  336. color: #fff;
  337. }
  338. .subnav-main-item:hover::before, .subnav-sub-item:hover::before, .subnav-thr-item:hover::before {
  339. display: inline-block;
  340. content: '';
  341. border: 5px solid #fff;
  342. border-color: transparent transparent transparent #fff;
  343. position: absolute;
  344. left: 0.3rem;
  345. top: 50%;
  346. margin-top: -5px;
  347. }
  348. .subnav-sub-wrap {
  349. font-size: 0;
  350. width: 0;
  351. position: absolute;
  352. overflow: hidden;
  353. top: 0;
  354. left: 160px;
  355. /* // background: url('../../static/subnav_bg.jpg'); */
  356. background-color: rgba(19,19,19,0.85);
  357. -webkit-transition: width 0.5s, font-size 0.01s 0.25s;
  358. transition: width 0.5s, font-size 0.01s 0.25s;
  359. }
  360. .submenu:hover > .subnav-sub-wrap {
  361. font-size:12px;
  362. width: 200px;
  363. overflow: visible;
  364. }
  365. .subnav-thr-wrap {
  366. width: 0;
  367. position: absolute;
  368. overflow: hidden;
  369. top: 0;
  370. left: 160px;
  371. background-color: rgba(19,19,19,0.85);
  372. -webkit-transition: width 0.5s;
  373. transition: width 0.5s;
  374. }
  375. .subnav-sub-item:hover > .subnav-thr-wrap {
  376. width: 160px;
  377. }
  378. @media (max-width: 1600px) {
  379. .header-logo {
  380. width: 140px;
  381. height: 140px;
  382. /* //left: 120px; */
  383. }
  384. .nav-wrap {
  385. height: 42px;
  386. line-height: 42px;
  387. font-size: 12px;
  388. }
  389. .nav-lang {
  390. height: 42px;
  391. }
  392. .nav-lang:hover {
  393. height: 126px;
  394. }
  395. .nav-shop {
  396. height: 42px;
  397. line-height: 42px;
  398. }
  399. .subnav-wrap {
  400. width: 140px;
  401. /* //left: 120px; */
  402. top: 60px;
  403. line-height: 60px;
  404. }
  405. .subnav-logo {
  406. width: 140px;
  407. height: 78.75px;
  408. }
  409. .subnav-sub-wrap, .subnav-thr-wrap {
  410. left: 140px;
  411. }
  412. .submenu:hover > .subnav-sub-wrap, .subnav-sub-item:hover > .subnav-thr-wrap {
  413. width: 180px;
  414. }
  415. .video-tv > img{
  416. width: 85%;
  417. }
  418. }
  419. @media (max-width: 1280px) {
  420. .header-logo {
  421. width: 120px;
  422. height: 120px;
  423. /* //left: 100px; */
  424. }
  425. .nav-wrap {
  426. height: 36px;
  427. line-height: 36px;
  428. font-size: 12px;
  429. }
  430. .nav-lang {
  431. height: 36px;
  432. }
  433. .nav-lang:hover {
  434. height: 108px;
  435. }
  436. .nav-shop {
  437. height: 36px;
  438. line-height: 36px;
  439. }
  440. .subnav-wrap {
  441. width: 120px;
  442. /* //left: 100px; */
  443. top: 50px;
  444. line-height: 50px;
  445. }
  446. .subnav-main-item, .subnav-sub-item, .subnav-thr-item {
  447. font-size: 12px;
  448. }
  449. .subnav-logo {
  450. width: 120px;
  451. height: 67.5px;
  452. }
  453. .subnav-sub-wrap, .subnav-thr-wrap {
  454. left: 120px;
  455. }
  456. .submenu:hover > .subnav-sub-wrap, .subnav-sub-item:hover > .subnav-thr-wrap {
  457. width: 160px;
  458. }
  459. .video-tv > img{
  460. width: 70%;
  461. }
  462. }
  463. .subnav-sub-back {
  464. display: none;
  465. }
  466. @media (min-width: 959px) {
  467. html {
  468. font-size: 385%;
  469. }
  470. }
  471. @media (min-width: 1279px) {
  472. html {
  473. font-size: 465%;
  474. }
  475. }
  476. @media (min-width: 1599px) {
  477. html {
  478. font-size: 545%;
  479. }
  480. }
  481. @media (min-width: 1919px) {
  482. html {
  483. font-size: 625%;
  484. }
  485. }
  486. @media (max-device-width: 1081px) {
  487. html {
  488. font-size: 585%;
  489. }
  490. .nav-wrap {
  491. z-index: 1;
  492. position: fixed;
  493. width: 100%;
  494. height: 1rem;
  495. left: 0;
  496. line-height: 1rem;
  497. color: #fff;
  498. text-align: center;
  499. background: url('http://airsmart-web.oss-cn-shanghai.aliyuncs.com/upload/images/%E5%85%B1%E9%80%9A/nav_bg.png') right center;
  500. background-size: 120% 100%;
  501. z-index: 2;
  502. }
  503. .nav-version {
  504. display: table;
  505. float: right;
  506. width: calc(100% - 1rem);
  507. height: 1rem;
  508. font-size: 0;
  509. border-radius: 0;
  510. }
  511. .nav-version a {
  512. display: table-cell;
  513. vertical-align: middle;
  514. }
  515. .nav-version-item {
  516. display: table-cell;
  517. vertical-align: middle;
  518. width: 33.33%;
  519. height: 1rem;
  520. line-height: 0.3rem;
  521. opacity: 0.6;
  522. /* // width: auto; */
  523. /* // display: inline-block; */
  524. font-size: 12px;
  525. text-align: center;
  526. padding: 0 5px;
  527. /* // padding: 0 0.2rem 0 0; */
  528. }
  529. .nav-lang {
  530. /* // display: none; */
  531. width: 0.8rem;
  532. height: 1rem;
  533. font-size: 12px;
  534. }
  535. .nav-lang:hover {
  536. height: 1rem;
  537. }
  538. .nav-lang:hover::before {
  539. opacity: 1;
  540. }
  541. .nav-lang:hover > .nav-lang-hidden {
  542. /* // z-index: 0; */
  543. /* // opacity: 0; */
  544. /* // background-color: rgba(17,17,17,0.7); */
  545. background-color: rgb(17,17,17);
  546. }
  547. .nav-lang-item:hover {
  548. opacity: 0.5;
  549. }
  550. .nav-shop {
  551. font-size: 12px;
  552. width: 0.8rem;
  553. height: 1rem;
  554. line-height: 1rem;
  555. }
  556. .nav-menu {
  557. float: left;
  558. display: inline-block;
  559. width: 1rem;
  560. height: 1rem;
  561. 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;
  562. }
  563. .header-logo {
  564. width: 1rem;
  565. height: 1rem;
  566. left: 0;
  567. top: 1rem;
  568. }
  569. .subnav-wrap {
  570. width: 100%;
  571. top: 2.1rem;
  572. left: 0;
  573. }
  574. .subnav-logo {
  575. width: 1rem;
  576. height: 0.5rem;
  577. }
  578. .subnav-main-wrap {
  579. display: none;
  580. position: fixed;
  581. width: 100%;
  582. top: 1rem;
  583. background-color: rgba(0,0,0,0.8);
  584. background-image: none;
  585. border-radius: 0;
  586. z-index: 1;
  587. }
  588. .subnav-main-item, .subnav-sub-item {
  589. width: 100%;
  590. text-align: center;
  591. padding: 0;
  592. margin: 0;
  593. height: 1rem;
  594. line-height: 1rem;
  595. border-bottom: 1px solid #333;
  596. font-size: 12px;
  597. /* // background-color: rgba(0,0,0,0.8); */
  598. }
  599. .subnav-main-item:hover, .subnav-sub-item:hover {
  600. color: #8D8C8A;
  601. }
  602. .subnav-main-item:after, .subnav-sub-item:after {
  603. content: '';
  604. display: inline-block;
  605. width: 10px;
  606. height: 10px;
  607. border: 1px solid #fff;
  608. border-color: #fff #fff transparent transparent;
  609. -webkit-transform: rotate(45deg);
  610. transform: rotate(45deg);
  611. position: absolute;
  612. right: 25px;
  613. top: 50%;
  614. margin-top: -6px;
  615. }
  616. .subnav-main-item:hover::before, .subnav-sub-item:hover::before {
  617. display: none;
  618. }
  619. .subnav-thumb {
  620. display: none;
  621. }
  622. .subnav-sub-wrap {
  623. display: none;
  624. width: 100%;
  625. position: fixed;
  626. top: 1rem;
  627. left: 100%;
  628. padding: 0;
  629. margin: 0;
  630. }
  631. .submenu:hover > .subnav-sub-wrap {
  632. width: 100%;
  633. }
  634. .subnav-sub-back {
  635. color: #8D8C8A;
  636. display: block;
  637. width: 100%;
  638. text-align: center;
  639. padding: 0;
  640. height: 1rem;
  641. line-height: 1rem;
  642. border-bottom: 1px solid #333;
  643. font-size: 12px;
  644. /* //background-color: rgba(0,0,0,0.8); */
  645. }
  646. .nav-version-current {
  647. background-color: rgba(222,222,222,0.3);
  648. opacity: 1;
  649. }
  650. .version-maofm {
  651. /*display: none;*/
  652. }
  653. }
  654. @media (max-device-width: 720px) {
  655. html {
  656. font-size: 465%;
  657. }
  658. }
  659. @media (max-device-width: 660px) {
  660. html {
  661. font-size: 445%;
  662. }
  663. }
  664. @media (max-device-width: 600px) {
  665. html {
  666. font-size: 425%;
  667. }
  668. }
  669. @media (max-device-width: 540px) {
  670. html {
  671. font-size: 405%;
  672. }
  673. }
  674. @media (max-device-width: 480px) {
  675. html {
  676. font-size: 385%;
  677. }
  678. }
  679. @media (max-device-width: 420px) {
  680. html {
  681. font-size: 365%;
  682. }
  683. }
  684. @media (max-device-width: 360px) {
  685. html {
  686. font-size: 345%;
  687. }
  688. }
  689. @media (max-device-width: 240px) {
  690. html {
  691. font-size: 305%;
  692. }
  693. }