app.css 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865
  1. /* 静态资源地址 */
  2. *,
  3. *::before,
  4. *::after {
  5. margin: 0;
  6. padding: 0;
  7. box-sizing: border-box;
  8. outline: 0;
  9. -webkit-tap-highlight-color: transparent;
  10. }
  11. .clearfix::after {
  12. content: " ";
  13. visibility: hidden;
  14. display: block;
  15. font-size: 0;
  16. line-height: 0;
  17. height: 0;
  18. clear: both;
  19. }
  20. html,
  21. body {
  22. width: 100%;
  23. height: 100%;
  24. }
  25. html {
  26. -webkit-text-size-adjust: none;
  27. -webkit-font-smoothing: antialiased;
  28. }
  29. body {
  30. font-size: 14px !important;
  31. }
  32. .animated {
  33. display: block !important;
  34. }
  35. .app-mask {
  36. display: none;
  37. position: fixed;
  38. left: 0;
  39. top: 0;
  40. right: 0;
  41. bottom: 0;
  42. z-index: 100;
  43. background-color: rgba(0, 0, 0, 0.4);
  44. }
  45. .app-mask.white {
  46. background-color: rgba(0, 0, 0, 0);
  47. }
  48. .app-alert {
  49. display: none;
  50. -webkit-animation-duration: .3s;
  51. animation-duration: .3s;
  52. -webkit-animation-delay: .3s;
  53. animation-delay: .3s;
  54. position: fixed;
  55. width: 80vw;
  56. left: 50%;
  57. top: 25%;
  58. margin-left: -40vw;
  59. border-radius: 12px;
  60. z-index: 101;
  61. background: #fff no-repeat center 10%;
  62. background-size: 20%;
  63. }
  64. .app-alert.timeout {
  65. background-image: url("../images/icon/used-timeout.png");
  66. }
  67. .app-alert.stop {
  68. background-image: url("../images/icon/used-stop.png");
  69. }
  70. .app-alert.used {
  71. background-image: url("../images/icon/used.png");
  72. }
  73. .app-alert.error {
  74. background-image: url("../images/icon/error.png");
  75. }
  76. .app-alert.fail {
  77. background-image: url("../images/icon/fail.png");
  78. }
  79. .app-alert.timeout .btns a:last-child,
  80. .app-alert.stop .btns a:last-child,
  81. .app-alert.used .btns a:last-child {
  82. color: #3EAFFF;
  83. }
  84. .app-alert.error .btns a:last-child,
  85. .app-alert.fail .btns a:last-child {
  86. color: #F5615F;
  87. }
  88. .app-alert .tips {
  89. margin-top: 30%;
  90. margin-bottom: 5%;
  91. text-align: center;
  92. color: #888;
  93. line-height: 1.5;
  94. font-size: 16px;
  95. }
  96. .app-alert .btns {
  97. width: 100%;
  98. font-size: 0;
  99. border: solid 1px #efefef;
  100. background: #fff;
  101. border-bottom-left-radius: 12px;
  102. border-bottom-right-radius: 12px;
  103. }
  104. .app-alert .btns a {
  105. display: inline-block;
  106. width: 50%;
  107. padding: 5%;
  108. color: #666;
  109. text-decoration: none;
  110. text-align: center;
  111. font-size: 16px;
  112. border-right: solid 1px #efefef;
  113. }
  114. .app-view {
  115. display: none;
  116. padding: 16px;
  117. -webkit-animation-duration: .3s;
  118. animation-duration: .3s;
  119. -webkit-animation-delay: .3s;
  120. animation-delay: .3s;
  121. position: fixed;
  122. width: 86vw;
  123. height: 36vh;
  124. left: 50%;
  125. top: 35%;
  126. margin-left: -43vw;
  127. margin-top: -18vh;
  128. background-color: #fff;
  129. border-radius: 12px;
  130. z-index: 101;
  131. }
  132. .app-view.vertical {
  133. width: 32vh;
  134. height: 53vh;
  135. top: 25%;
  136. margin-left: -16vh;
  137. }
  138. .app-view.vertical .tip {
  139. top: 53vh;
  140. }
  141. .app-view.vertical .tip .close {
  142. bottom: 10vh;
  143. }
  144. .app-view .img,
  145. .app-view img {
  146. width: 100%;
  147. height: 100%;
  148. }
  149. .app-view .tip {
  150. position: absolute;
  151. top: 36vh;
  152. left: 0;
  153. height: 40vh;
  154. line-height: 40vh;
  155. width: 100%;
  156. background: url("../images/icon/touch-save.png") no-repeat center 5%;
  157. background-size: 20%;
  158. text-align: center;
  159. color: #fff;
  160. }
  161. .app-view .tip > div {
  162. display: inline-block;
  163. line-height: 1.5;
  164. font-size: 16px;
  165. }
  166. .app-view .tip .close {
  167. width: 26px;
  168. height: 26px;
  169. position: absolute;
  170. left: 50%;
  171. margin-left: -13px;
  172. bottom: 5vh;
  173. background: url("../images/icon/touch-close.png") no-repeat center center;
  174. background-size: 100% 100%;
  175. }
  176. .app-action-tips {
  177. -webkit-animation-duration: .3s;
  178. animation-duration: .3s;
  179. -webkit-animation-delay: .3s;
  180. animation-delay: .3s;
  181. display: none;
  182. position: fixed;
  183. width: 66vw;
  184. height: 28vh;
  185. left: 50%;
  186. top: 40%;
  187. margin-left: -33vw;
  188. margin-top: -14vh;
  189. z-index: 101;
  190. }
  191. .app-action-tips .content {
  192. display: none;
  193. position: relative;
  194. width: 100%;
  195. height: 100%;
  196. color: #fff;
  197. background-color: rgba(0, 0, 0, 0.7);
  198. border-radius: 12px;
  199. background-repeat: no-repeat;
  200. background-position: 50% 25%;
  201. }
  202. .app-action-tips .content .tips {
  203. font-size: 18px;
  204. position: absolute;
  205. left: 0;
  206. bottom: 15%;
  207. width: 100%;
  208. text-align: center;
  209. }
  210. .app-action-tips .content.face-1 {
  211. background-image: url("../images/icon/face-1.png");
  212. background-size: 30%;
  213. }
  214. .app-action-tips .content.face-1 .tips {
  215. font-size: 16px;
  216. bottom: 10%;
  217. }
  218. .app-action-tips .content.face-2 {
  219. background-image: url("../images/icon/face-2.png");
  220. background-size: 30%;
  221. }
  222. .app-action-tips .content.face-3 {
  223. background-image: url("../images/icon/face-3.png");
  224. background-size: 30%;
  225. }
  226. .app-action-tips .content.face-4 {
  227. background-image: url("../images/icon/face-4.png");
  228. background-size: 30%;
  229. }
  230. .app-action-tips .content.loading {
  231. background-color: rgba(255, 255, 255, 0.9);
  232. }
  233. .app-action-tips .content.loading .tips {
  234. font-size: 15px;
  235. color: #999999;
  236. }
  237. .app-action-tips .content.loading .lds-spinner {
  238. position: absolute;
  239. left: 50%;
  240. top: 30%;
  241. -webkit-transform: translate(-50%, -30%);
  242. -ms-transform: translate(-50%, -30%);
  243. transform: translate(-50%, -30%);
  244. }
  245. .app-action-tips .content.loading-switch .tips {
  246. font-size: 15px;
  247. color: #ffff;
  248. }
  249. .app-action-tips .content.loading-switch .lds-spinner {
  250. position: absolute;
  251. left: 50%;
  252. top: 30%;
  253. -webkit-transform: translate(-50%, -30%);
  254. -ms-transform: translate(-50%, -30%);
  255. transform: translate(-50%, -30%);
  256. }
  257. .app-main {
  258. width: 100%;
  259. height: 55vh;
  260. }
  261. .app-main .ads-swiper {
  262. height: 4.5rem;
  263. }
  264. .app-main .ads-swiper .swiper-slide {
  265. text-align: center;
  266. font-size: 18px;
  267. background: #fff;
  268. /* Center slide text vertically */
  269. display: -webkit-box;
  270. display: -ms-flexbox;
  271. display: -webkit-flex;
  272. display: flex;
  273. -webkit-box-pack: center;
  274. -ms-flex-pack: center;
  275. -webkit-justify-content: center;
  276. justify-content: center;
  277. -webkit-box-align: center;
  278. -ms-flex-align: center;
  279. -webkit-align-items: center;
  280. align-items: center;
  281. }
  282. .app-main .ads-swiper .swiper-slide img {
  283. width: 100%;
  284. height: 100%;
  285. }
  286. .app-main .ads-swiper .swiper-pagination-bullet-active {
  287. background: #fff;
  288. }
  289. .app-main .nav-menu {
  290. box-shadow: 0 0.03rem 10px #efefef;
  291. }
  292. .app-main .nav-menu ul {
  293. padding: 0.3rem 0;
  294. list-style: none;
  295. font-size: 0;
  296. }
  297. .app-main .nav-menu li {
  298. display: inline-block;
  299. width: 50%;
  300. font-size: 12px;
  301. text-align: center;
  302. }
  303. .app-main .nav-menu li:first-child {
  304. border-right: solid 1px #DFDFDF;
  305. }
  306. .app-main .nav-menu li a {
  307. display: inline-block;
  308. width: 1.3rem;
  309. height: 1.52rem;
  310. background-repeat: no-repeat;
  311. background-position: center center;
  312. background-size: contain;
  313. }
  314. .app-main .nav-menu li a.btn-pic-take {
  315. background-image: url("../images/btn-pic-take.png");
  316. }
  317. .app-main .nav-menu li a.btn-pic-list {
  318. background-image: url("../images/btn-pic-list.png");
  319. }
  320. .app-switch {
  321. width: 100%;
  322. height: 45vh;
  323. }
  324. .app-switch .swt-style {
  325. padding-top: 10%;
  326. }
  327. .app-switch .swt-style a {
  328. float: left;
  329. width: 1.8rem;
  330. height: 0.7rem;
  331. background-repeat: no-repeat;
  332. background-position: center center;
  333. background-size: contain;
  334. }
  335. .app-switch .swt-style a:last-child {
  336. float: right;
  337. }
  338. .app-switch .swt-style a.switch {
  339. margin-left: 0.14rem;
  340. background-image: url("../images/switch1.png");
  341. }
  342. .app-switch .swt-style a.active {
  343. background-image: url("../images/switch1_active.png");
  344. }
  345. .app-switch .swt-style a.switch2 {
  346. margin-left: 0.24rem;
  347. background-image: url("../images/switch2.png");
  348. }
  349. .app-switch .swt-style a[data-id="2"].active {
  350. background-image: url("../images/switch2_active.png");
  351. }
  352. .app-switch .swt-style a.logo {
  353. margin-right: 0.1rem;
  354. background-image: url("../images/logo.png");
  355. }
  356. .app-switch .stl-swiper {
  357. height: 70%;
  358. }
  359. .app-switch .stl-swiper .swiper-slide {
  360. text-align: center;
  361. font-size: 18px;
  362. /* Center slide text vertically */
  363. display: -webkit-box;
  364. display: -ms-flexbox;
  365. display: -webkit-flex;
  366. display: flex;
  367. -webkit-box-pack: center;
  368. -ms-flex-pack: center;
  369. -webkit-justify-content: center;
  370. justify-content: center;
  371. -webkit-box-align: center;
  372. -ms-flex-align: center;
  373. -webkit-align-items: center;
  374. align-items: center;
  375. background-repeat: no-repeat;
  376. background-position: center center;
  377. background-size: contain;
  378. }
  379. .app-switch .stl-swiper .style-1 {
  380. background-image: url("../images/styles/1.png");
  381. }
  382. .app-switch .stl-swiper .style-1.active {
  383. background-image: url("../images/styles/1-active.png");
  384. }
  385. .app-switch .stl-swiper .style-2 {
  386. background-image: url("../images/styles/2.png");
  387. }
  388. .app-switch .stl-swiper .style-2.active {
  389. background-image: url("../images/styles/2-active.png");
  390. }
  391. .app-switch .stl-swiper .style-3 {
  392. background-image: url("../images/styles/3.png");
  393. }
  394. .app-switch .stl-swiper .style-3.active {
  395. background-image: url("../images/styles/3-active.png");
  396. }
  397. .app-switch .stl-swiper .style-4 {
  398. background-image: url("../images/styles/4.png");
  399. }
  400. .app-switch .stl-swiper .style-4.active {
  401. background-image: url("../images/styles/4-active.png");
  402. }
  403. .app-switch .stl-swiper .style-5 {
  404. background-image: url("../images/styles/5.png");
  405. }
  406. .app-switch .stl-swiper .style-5.active {
  407. background-image: url("../images/styles/5-active.png");
  408. }
  409. .app-switch .stl-swiper .style-6 {
  410. background-image: url("../images/styles/6.png");
  411. }
  412. .app-switch .stl-swiper .style-6.active {
  413. background-image: url("../images/styles/6-active.png");
  414. }
  415. .app-switch .stl-swiper .style-7 {
  416. background-image: url("../images/styles/7.png");
  417. }
  418. .app-switch .stl-swiper .style-7.active {
  419. background-image: url("../images/styles/7-active.png");
  420. }
  421. .app-switch .stl-swiper .style-8 {
  422. background-image: url("../images/styles/8.png");
  423. }
  424. .app-switch .stl-swiper .style-8.active {
  425. background-image: url("../images/styles/8-active.png");
  426. }
  427. .app-switch .stl-swiper .style-9 {
  428. background-image: url("../images/styles/9.png");
  429. }
  430. .app-switch .stl-swiper .style-9.active {
  431. background-image: url("../images/styles/9-active.png");
  432. }
  433. .app-switch .stl-swiper .style-10 {
  434. background-image: url("../images/styles/10.png");
  435. }
  436. .app-switch .stl-swiper .style-10.active {
  437. background-image: url("../images/styles/10-active.png");
  438. }
  439. .app-switch .stl-swiper .style-11 {
  440. background-image: url("../images/styles/11.png");
  441. }
  442. .app-switch .stl-swiper .style-11.active {
  443. background-image: url("../images/styles/11-active.png");
  444. }
  445. /* 风景 */
  446. .app-switch .stl-swiper1 .style-1 {
  447. background-image: url("../images/styles1/1.png");
  448. }
  449. .app-switch .stl-swiper1 .style-1.active {
  450. background-image: url("../images/styles1/1-active.png");
  451. }
  452. .app-switch .stl-swiper1 .style-2 {
  453. background-image: url("../images/styles1/2.png");
  454. }
  455. .app-switch .stl-swiper1 .style-2.active {
  456. background-image: url("../images/styles1/2-active.png");
  457. }
  458. .app-switch .stl-swiper1 .style-3 {
  459. background-image: url("../images/styles1/3.png");
  460. }
  461. .app-switch .stl-swiper1 .style-3.active {
  462. background-image: url("../images/styles1/3-active.png");
  463. }
  464. .app-switch .stl-swiper1 .style-4 {
  465. background-image: url("../images/styles1/4.png");
  466. }
  467. .app-switch .stl-swiper1 .style-4.active {
  468. background-image: url("../images/styles1/4-active.png");
  469. }
  470. .app-switch .stl-swiper1 .style-5 {
  471. background-image: url("../images/styles1/5.png");
  472. }
  473. .app-switch .stl-swiper1 .style-5.active {
  474. background-image: url("../images/styles1/5-active.png");
  475. }
  476. .app-switch .stl-swiper1 .style-6 {
  477. background-image: url("../images/styles1/6.png");
  478. }
  479. .app-switch .stl-swiper1 .style-6.active {
  480. background-image: url("../images/styles1/6-active.png");
  481. }
  482. .app-switch .stl-swiper1 .style-7 {
  483. background-image: url("../images/styles1/7.png");
  484. }
  485. .app-switch .stl-swiper1 .style-7.active {
  486. background-image: url("../images/styles1/7-active.png");
  487. }
  488. .app-switch .stl-swiper1 .style-8 {
  489. background-image: url("../images/styles1/8.png");
  490. }
  491. .app-switch .stl-swiper1 .style-8.active {
  492. background-image: url("../images/styles1/8-active.png");
  493. }
  494. .app-switch .stl-swiper1 .style-9 {
  495. background-image: url("../images/styles1/9.png");
  496. }
  497. .app-switch .stl-swiper1 .style-9.active {
  498. background-image: url("../images/styles1/9-active.png");
  499. }
  500. .app-switch .stl-swiper1 .style-10 {
  501. background-image: url("../images/styles1/10.png");
  502. }
  503. .app-switch .stl-swiper1 .style-10.active {
  504. background-image: url("../images/styles1/10-active.png");
  505. }
  506. .app-switch .stl-swiper1 .style-11 {
  507. background-image: url("../images/styles1/11.png");
  508. }
  509. .app-switch .stl-swiper1 .style-11.active {
  510. background-image: url("../images/styles1/11-active.png");
  511. }
  512. .app-switch .stl-swiper1 .style-12 {
  513. background-image: url("../images/styles1/12.png");
  514. }
  515. .app-switch .stl-swiper1 .style-12.active {
  516. background-image: url("../images/styles1/12-active.png");
  517. }
  518. .app-switch .stl-swiper1 .style-13 {
  519. background-image: url("../images/styles1/13.png");
  520. }
  521. .app-switch .stl-swiper1 .style-13.active {
  522. background-image: url("../images/styles1/13-active.png");
  523. }
  524. .app-switch .stl-swiper1 .style-14 {
  525. background-image: url("../images/styles1/14.png");
  526. }
  527. .app-switch .stl-swiper1 .style-14.active {
  528. background-image: url("../images/styles1/14-active.png");
  529. }
  530. .my-pic-list {
  531. display: none;
  532. position: absolute;
  533. left: 0;
  534. top: 0;
  535. width: 100%;
  536. height: 100%;
  537. background: #fff;
  538. z-index: 10;
  539. }
  540. .my-pic-list header {
  541. padding-top: 0.16rem;
  542. padding-left: 0.27rem;
  543. padding-right: 0.27rem;
  544. position: absolute;
  545. left: 0;
  546. top: 0;
  547. height: 1.2rem;
  548. width: 100%;
  549. }
  550. .my-pic-list header .home-nav {
  551. background-image: url("../images/mypic.png");
  552. background-repeat: no-repeat;
  553. background-position: center right;
  554. background-size: auto 100%;
  555. }
  556. .my-pic-list header .home-nav .btn-back {
  557. display: block;
  558. width: 1.12rem;
  559. height: 0.68rem;
  560. background-image: url("../images/back.png");
  561. background-repeat: no-repeat;
  562. background-position: center center;
  563. background-size: 100% 100%;
  564. }
  565. .my-pic-list header .tips {
  566. font-size: 10px;
  567. text-align: right;
  568. color: #00b3ec;
  569. }
  570. .my-pic-list article {
  571. position: absolute;
  572. left: 0;
  573. top: 1.21rem;
  574. bottom: 0;
  575. width: 100%;
  576. }
  577. .my-pic-list article ul {
  578. list-style: none;
  579. }
  580. .my-pic-list .pic-swiper {
  581. width: 100%;
  582. height: 100%;
  583. padding-left: 0.27rem;
  584. padding-right: 0.27rem;
  585. }
  586. .my-pic-list .pic-swiper .swiper-slide {
  587. height: 2.52rem;
  588. text-align: center;
  589. background: #fff;
  590. /* Center slide text vertically */
  591. display: -webkit-box;
  592. display: -ms-flexbox;
  593. display: -webkit-flex;
  594. display: flex;
  595. -webkit-box-pack: center;
  596. -ms-flex-pack: center;
  597. -webkit-justify-content: center;
  598. justify-content: center;
  599. -webkit-box-align: center;
  600. -ms-flex-align: center;
  601. -webkit-align-items: center;
  602. align-items: center;
  603. background-repeat: no-repeat;
  604. background-position: center center;
  605. background-size: contain;
  606. border-bottom: solid 1px #e9e9e9;
  607. padding-top: 0.21rem;
  608. padding-bottom: 0.21rem;
  609. }
  610. .my-pic-list .pic-swiper .swiper-slide .img {
  611. width: 40%;
  612. height: 100%;
  613. }
  614. .my-pic-list .pic-swiper .swiper-slide .img.vertical {
  615. padding: 0 8%;
  616. }
  617. .my-pic-list .pic-swiper .swiper-slide .img img {
  618. width: 100%;
  619. height: 100%;
  620. }
  621. .my-pic-list .pic-swiper .swiper-slide .info {
  622. width: 60%;
  623. height: 100%;
  624. }
  625. .my-pic-list .pic-swiper .swiper-slide .time {
  626. margin-top: 12%;
  627. color: #686868;
  628. font-weight: 500;
  629. font-size: 14px;
  630. text-align: center;
  631. }
  632. .my-pic-list .pic-swiper .swiper-slide .style {
  633. margin-top: 2%;
  634. height: 0.7rem;
  635. background-position: center center;
  636. background-size: auto 100%;
  637. background-repeat: no-repeat;
  638. }
  639. .my-pic-list .pic-swiper .swiper-slide .style-1 {
  640. background-image: url("../images/styles-flag/1.png");
  641. }
  642. .my-pic-list .pic-swiper .swiper-slide .style-2 {
  643. background-image: url("../images/styles-flag/2.png");
  644. }
  645. .my-pic-list .pic-swiper .swiper-slide .style-3 {
  646. background-image: url("../images/styles-flag/3.png");
  647. }
  648. .my-pic-list .pic-swiper .swiper-slide .style-4 {
  649. background-image: url("../images/styles-flag/4.png");
  650. }
  651. .my-pic-list .pic-swiper .swiper-slide .style-5 {
  652. background-image: url("../images/styles-flag/5.png");
  653. }
  654. .my-pic-list .pic-swiper .swiper-slide .style-6 {
  655. background-image: url("../images/styles-flag/6.png");
  656. }
  657. .my-pic-list .pic-swiper .swiper-slide .style-7 {
  658. background-image: url("../images/styles-flag/7.png");
  659. }
  660. .my-pic-list .pic-swiper .swiper-slide .style-8 {
  661. background-image: url("../images/styles-flag/8.png");
  662. }
  663. .my-pic-list .pic-swiper .swiper-slide .style-9 {
  664. background-image: url("../images/styles-flag/9.png");
  665. }
  666. .my-pic-list .pic-swiper .swiper-slide .style-10 {
  667. background-image: url("../images/styles-flag/10.png");
  668. }
  669. .my-pic-list .pic-swiper .swiper-scrollbar {
  670. right: 0px !important;
  671. width: 4px !important;
  672. }
  673. .my-pic-list .pic-swiper .swiper-scrollbar-drag {
  674. background: rgba(0, 0, 0, 0.3) !important;
  675. }
  676. .lds-spinner {
  677. color: official;
  678. display: inline-block;
  679. position: relative;
  680. width: 64px;
  681. height: 64px;
  682. }
  683. .lds-spinner div {
  684. -webkit-transform-origin: 32px 32px;
  685. -ms-transform-origin: 32px 32px;
  686. transform-origin: 32px 32px;
  687. -webkit-animation: lds-spinner 1.2s linear infinite;
  688. animation: lds-spinner 1.2s linear infinite;
  689. }
  690. .lds-spinner div:after {
  691. content: " ";
  692. display: block;
  693. position: absolute;
  694. top: 3px;
  695. left: 29px;
  696. width: 5px;
  697. height: 14px;
  698. border-radius: 20%;
  699. background: #999999;
  700. }
  701. .lds-spinner div:nth-child(1) {
  702. -webkit-transform: rotate(0deg);
  703. -ms-transform: rotate(0deg);
  704. transform: rotate(0deg);
  705. -webkit-animation-delay: -1.1s;
  706. animation-delay: -1.1s;
  707. }
  708. .lds-spinner div:nth-child(2) {
  709. -webkit-transform: rotate(30deg);
  710. -ms-transform: rotate(30deg);
  711. transform: rotate(30deg);
  712. -webkit-animation-delay: -1s;
  713. animation-delay: -1s;
  714. }
  715. .lds-spinner div:nth-child(3) {
  716. -webkit-transform: rotate(60deg);
  717. -ms-transform: rotate(60deg);
  718. transform: rotate(60deg);
  719. -webkit-animation-delay: -0.9s;
  720. animation-delay: -0.9s;
  721. }
  722. .lds-spinner div:nth-child(4) {
  723. -webkit-transform: rotate(90deg);
  724. -ms-transform: rotate(90deg);
  725. transform: rotate(90deg);
  726. -webkit-animation-delay: -0.8s;
  727. animation-delay: -0.8s;
  728. }
  729. .lds-spinner div:nth-child(5) {
  730. -webkit-transform: rotate(120deg);
  731. -ms-transform: rotate(120deg);
  732. transform: rotate(120deg);
  733. -webkit-animation-delay: -0.7s;
  734. animation-delay: -0.7s;
  735. }
  736. .lds-spinner div:nth-child(6) {
  737. -webkit-transform: rotate(150deg);
  738. -ms-transform: rotate(150deg);
  739. transform: rotate(150deg);
  740. -webkit-animation-delay: -0.6s;
  741. animation-delay: -0.6s;
  742. }
  743. .lds-spinner div:nth-child(7) {
  744. -webkit-transform: rotate(180deg);
  745. -ms-transform: rotate(180deg);
  746. transform: rotate(180deg);
  747. -webkit-animation-delay: -0.5s;
  748. animation-delay: -0.5s;
  749. }
  750. .lds-spinner div:nth-child(8) {
  751. -webkit-transform: rotate(210deg);
  752. -ms-transform: rotate(210deg);
  753. transform: rotate(210deg);
  754. -webkit-animation-delay: -0.4s;
  755. animation-delay: -0.4s;
  756. }
  757. .lds-spinner div:nth-child(9) {
  758. -webkit-transform: rotate(240deg);
  759. -ms-transform: rotate(240deg);
  760. transform: rotate(240deg);
  761. -webkit-animation-delay: -0.3s;
  762. animation-delay: -0.3s;
  763. }
  764. .lds-spinner div:nth-child(10) {
  765. -webkit-transform: rotate(270deg);
  766. -ms-transform: rotate(270deg);
  767. transform: rotate(270deg);
  768. -webkit-animation-delay: -0.2s;
  769. animation-delay: -0.2s;
  770. }
  771. .lds-spinner div:nth-child(11) {
  772. -webkit-transform: rotate(300deg);
  773. -ms-transform: rotate(300deg);
  774. transform: rotate(300deg);
  775. -webkit-animation-delay: -0.1s;
  776. animation-delay: -0.1s;
  777. }
  778. .lds-spinner div:nth-child(12) {
  779. -webkit-transform: rotate(330deg);
  780. -ms-transform: rotate(330deg);
  781. transform: rotate(330deg);
  782. -webkit-animation-delay: 0s;
  783. animation-delay: 0s;
  784. }
  785. @-webkit-keyframes lds-spinner {
  786. 0% {
  787. opacity: 1;
  788. }
  789. 100% {
  790. opacity: 0;
  791. }
  792. }
  793. @keyframes lds-spinner {
  794. 0% {
  795. opacity: 1;
  796. }
  797. 100% {
  798. opacity: 0;
  799. }
  800. }
  801. @media only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) {
  802. .app-main {
  803. height: 58vh;
  804. }
  805. .app-main .nav-menu ul {
  806. padding: 1.2rem 0;
  807. }
  808. .app-switch {
  809. height: 42vh;
  810. }
  811. }
  812. @media only screen and (device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) {
  813. .app-main {
  814. height: auto;
  815. }
  816. .app-main .nav-menu ul {
  817. padding: 0.15rem 0;
  818. }
  819. .app-main .nav-menu li a {
  820. width: 1rem;
  821. height: 1.3rem;
  822. }
  823. .app-switch {
  824. height: 3.5rem;
  825. }
  826. .app-switch .swt-style {
  827. padding-top: 2%;
  828. }
  829. .app-switch .swt-style a {
  830. width: 1.5rem;
  831. height: 0.5rem;
  832. }
  833. }
  834. @media only screen and (device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) {
  835. .app-main {
  836. height: auto;
  837. }
  838. .app-main .nav-menu ul {
  839. padding: 0.5rem 0;
  840. }
  841. .app-main .nav-menu li a {
  842. width: 1.5rem;
  843. height: 2rem;
  844. }
  845. .app-switch {
  846. height: 4.5rem;
  847. }
  848. .app-switch .swt-style {
  849. padding-top: 5%;
  850. }
  851. }
  852. @media screen and (max-width: 320px) {
  853. .app-main .nav-menu ul {
  854. padding: 0.15rem 0;
  855. }
  856. }