index.html 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. <!-- @format -->
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5. <meta charset="utf-8" />
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  7. <meta name="renderer" content="webkit" />
  8. <meta
  9. name="viewport"
  10. content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
  11. />
  12. <link rel="icon" href="/favicon.ico" />
  13. <title>英才卡申请平台管理系统</title>
  14. <!--[if lt IE 11
  15. ]><script>
  16. window.location.href = "/html/ie.html";
  17. </script><!
  18. [endif]-->
  19. <style>
  20. html,
  21. body,
  22. #app {
  23. height: 100%;
  24. margin: 0px;
  25. padding: 0px;
  26. }
  27. .chromeframe {
  28. margin: 0.2em 0;
  29. background: #ccc;
  30. color: #000;
  31. padding: 0.2em 0;
  32. }
  33. #loader-wrapper {
  34. position: fixed;
  35. top: 0;
  36. left: 0;
  37. width: 100%;
  38. height: 100%;
  39. z-index: 999999;
  40. }
  41. #loader {
  42. display: block;
  43. position: relative;
  44. left: 50%;
  45. top: 50%;
  46. width: 150px;
  47. height: 150px;
  48. margin: -75px 0 0 -75px;
  49. border-radius: 50%;
  50. border: 3px solid transparent;
  51. border-top-color: #fff;
  52. -webkit-animation: spin 2s linear infinite;
  53. -ms-animation: spin 2s linear infinite;
  54. -moz-animation: spin 2s linear infinite;
  55. -o-animation: spin 2s linear infinite;
  56. animation: spin 2s linear infinite;
  57. z-index: 1001;
  58. }
  59. #loader:before {
  60. content: "";
  61. position: absolute;
  62. top: 5px;
  63. left: 5px;
  64. right: 5px;
  65. bottom: 5px;
  66. border-radius: 50%;
  67. border: 3px solid transparent;
  68. border-top-color: #fff;
  69. -webkit-animation: spin 3s linear infinite;
  70. -moz-animation: spin 3s linear infinite;
  71. -o-animation: spin 3s linear infinite;
  72. -ms-animation: spin 3s linear infinite;
  73. animation: spin 3s linear infinite;
  74. }
  75. #loader:after {
  76. content: "";
  77. position: absolute;
  78. top: 15px;
  79. left: 15px;
  80. right: 15px;
  81. bottom: 15px;
  82. border-radius: 50%;
  83. border: 3px solid transparent;
  84. border-top-color: #fff;
  85. -moz-animation: spin 1.5s linear infinite;
  86. -o-animation: spin 1.5s linear infinite;
  87. -ms-animation: spin 1.5s linear infinite;
  88. -webkit-animation: spin 1.5s linear infinite;
  89. animation: spin 1.5s linear infinite;
  90. }
  91. @-webkit-keyframes spin {
  92. 0% {
  93. -webkit-transform: rotate(0deg);
  94. -ms-transform: rotate(0deg);
  95. transform: rotate(0deg);
  96. }
  97. 100% {
  98. -webkit-transform: rotate(360deg);
  99. -ms-transform: rotate(360deg);
  100. transform: rotate(360deg);
  101. }
  102. }
  103. @keyframes spin {
  104. 0% {
  105. -webkit-transform: rotate(0deg);
  106. -ms-transform: rotate(0deg);
  107. transform: rotate(0deg);
  108. }
  109. 100% {
  110. -webkit-transform: rotate(360deg);
  111. -ms-transform: rotate(360deg);
  112. transform: rotate(360deg);
  113. }
  114. }
  115. #loader-wrapper .loader-section {
  116. position: fixed;
  117. top: 0;
  118. width: 51%;
  119. height: 100%;
  120. background: #7171c6;
  121. z-index: 1000;
  122. -webkit-transform: translateX(0);
  123. -ms-transform: translateX(0);
  124. transform: translateX(0);
  125. }
  126. #loader-wrapper .loader-section.section-left {
  127. left: 0;
  128. }
  129. #loader-wrapper .loader-section.section-right {
  130. right: 0;
  131. }
  132. .loaded #loader-wrapper .loader-section.section-left {
  133. -webkit-transform: translateX(-100%);
  134. -ms-transform: translateX(-100%);
  135. transform: translateX(-100%);
  136. -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  137. transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  138. }
  139. .loaded #loader-wrapper .loader-section.section-right {
  140. -webkit-transform: translateX(100%);
  141. -ms-transform: translateX(100%);
  142. transform: translateX(100%);
  143. -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  144. transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  145. }
  146. .loaded #loader {
  147. opacity: 0;
  148. -webkit-transition: all 0.3s ease-out;
  149. transition: all 0.3s ease-out;
  150. }
  151. .loaded #loader-wrapper {
  152. visibility: hidden;
  153. -webkit-transform: translateY(-100%);
  154. -ms-transform: translateY(-100%);
  155. transform: translateY(-100%);
  156. -webkit-transition: all 0.3s 1s ease-out;
  157. transition: all 0.3s 1s ease-out;
  158. }
  159. .no-js #loader-wrapper {
  160. display: none;
  161. }
  162. .no-js h1 {
  163. color: #222222;
  164. }
  165. #loader-wrapper .load_title {
  166. font-family: "Open Sans";
  167. color: #fff;
  168. font-size: 19px;
  169. width: 100%;
  170. text-align: center;
  171. z-index: 9999999999999;
  172. position: absolute;
  173. top: 60%;
  174. opacity: 1;
  175. line-height: 30px;
  176. }
  177. #loader-wrapper .load_title span {
  178. font-weight: normal;
  179. font-style: italic;
  180. font-size: 13px;
  181. color: #fff;
  182. opacity: 0.5;
  183. }
  184. </style>
  185. </head>
  186. <body>
  187. <div id="app">
  188. <div id="loader-wrapper">
  189. <div id="loader"></div>
  190. <div class="loader-section section-left"></div>
  191. <div class="loader-section section-right"></div>
  192. <div class="load_title">正在加载系统资源,请耐心等待</div>
  193. </div>
  194. </div>
  195. <script type="module" src="/src/main.js"></script>
  196. </body>
  197. </html>