index.html 5.8 KB

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