index.html 5.2 KB

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