index.html 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. <!DOCTYPE html>
  2. <html lang="zh_cn">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta charset="UTF-8" name="referrer" content="no-referrer" />
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <meta name="viewport" content="width=device-width,initial-scale=1.0">
  8. <link rel="icon" href="/favicon.ico">
  9. <title>飞行学院</title>
  10. <style>
  11. .dot {
  12. animation: antRotate 1.2s infinite linear;
  13. transform: rotate(45deg);
  14. position: relative;
  15. display: inline-block;
  16. font-size: 32px;
  17. width: 32px;
  18. height: 32px;
  19. box-sizing: border-box
  20. }
  21. .dot i {
  22. width: 14px;
  23. height: 14px;
  24. position: absolute;
  25. display: block;
  26. background-color: #1890ff;
  27. border-radius: 100%;
  28. transform: scale(.75);
  29. transform-origin: 50% 50%;
  30. opacity: .3;
  31. animation: antSpinMove 1s infinite linear alternate
  32. }
  33. .dot i:nth-child(1) {
  34. top: 0;
  35. left: 0
  36. }
  37. .dot i:nth-child(2) {
  38. top: 0;
  39. right: 0;
  40. -webkit-animation-delay: .4s;
  41. animation-delay: .4s
  42. }
  43. .dot i:nth-child(3) {
  44. right: 0;
  45. bottom: 0;
  46. -webkit-animation-delay: .8s;
  47. animation-delay: .8s
  48. }
  49. .dot i:nth-child(4) {
  50. bottom: 0;
  51. left: 0;
  52. -webkit-animation-delay: 1.2s;
  53. animation-delay: 1.2s
  54. }
  55. @keyframes antRotate {
  56. to {
  57. -webkit-transform: rotate(405deg);
  58. transform: rotate(405deg)
  59. }
  60. }
  61. @-webkit-keyframes antRotate {
  62. to {
  63. -webkit-transform: rotate(405deg);
  64. transform: rotate(405deg)
  65. }
  66. }
  67. @keyframes antSpinMove {
  68. to {
  69. opacity: 1
  70. }
  71. }
  72. @-webkit-keyframes antSpinMove {
  73. to {
  74. opacity: 1
  75. }
  76. }
  77. .app-loading {
  78. position: absolute;
  79. top: 0px;
  80. left: 0px;
  81. right: 0px;
  82. bottom: 0px;
  83. display: flex;
  84. justify-content: center;
  85. align-items: center;
  86. flex-direction: column;
  87. background: #fff;
  88. }
  89. .app-loading__logo {
  90. margin-bottom: 30px;
  91. }
  92. .app-loading__logo img {
  93. width: 90px;
  94. vertical-align: bottom;
  95. }
  96. .app-loading__title {
  97. font-size: 24px;
  98. color: #333;
  99. margin-top: 30px;
  100. }
  101. @keyframes loader {
  102. 0% {
  103. transform: rotate(0deg);
  104. }
  105. 100% {
  106. transform: rotate(360deg);
  107. }
  108. }
  109. </style>
  110. </head>
  111. <body>
  112. <noscript>
  113. <strong>We're sorry but doesn't work properly without JavaScript
  114. enabled. Please enable it to continue.</strong>
  115. </noscript>
  116. <div id="app" class="admin-ui">
  117. <div class="app-loading">
  118. <div class="app-loading__logo">
  119. <img src="/img/logo.png" />
  120. </div>
  121. <div><span class="dot dot-spin"><i></i><i></i><i></i><i></i></span></div>
  122. <div class="app-loading__title">飞行学院</div>
  123. </div>
  124. </div>
  125. <script type="module" src="/src/main.js"></script>
  126. </body>
  127. </html>