index.html 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  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 name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  8. <link rel="icon" href="<%= BASE_URL %>favicon.ico">
  9. <meta http-equiv="pragram" content="no-cache">
  10. <meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate">
  11. <meta http-equiv="expires" content="0">
  12. <title><%= webpackConfig.name %></title>
  13. <!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
  14. <style>
  15. /* 下方多行注释,控制全站变灰,共2处需要修改,如下加载时的背景色,注意“*{” 星号要有 */
  16. /* *{
  17. -webkit-filter: grayscale(100%);
  18. -moz-filter: grayscale(100%);
  19. -ms-filter: grayscale(100%);
  20. -o-filter: grayscale(100%);
  21. filter: grayscale(100%);
  22. filter: gray;
  23. filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
  24. } */
  25. #loader-wrapper .loader-section {
  26. position: fixed;
  27. top: 0;
  28. width: 51%;
  29. height: 100%;
  30. /* 加载时的背景色,灰色#808080 紫色#7171C6*/
  31. background: #7171C6;
  32. z-index: 1000;
  33. -webkit-transform: translateX(0);
  34. -ms-transform: translateX(0);
  35. transform: translateX(0);
  36. }
  37. html,
  38. body,
  39. #app {
  40. height: 100%;
  41. margin: 0px;
  42. padding: 0px;
  43. }
  44. .chromeframe {
  45. margin: 0.2em 0;
  46. background: #ccc;
  47. color: #000;
  48. padding: 0.2em 0;
  49. }
  50. #loader-wrapper {
  51. position: fixed;
  52. top: 0;
  53. left: 0;
  54. width: 100%;
  55. height: 100%;
  56. z-index: 999999;
  57. }
  58. #loader {
  59. display: block;
  60. position: relative;
  61. left: 50%;
  62. top: 50%;
  63. width: 150px;
  64. height: 150px;
  65. margin: -75px 0 0 -75px;
  66. border-radius: 50%;
  67. border: 3px solid transparent;
  68. border-top-color: #FFF;
  69. -webkit-animation: spin 2s linear infinite;
  70. -ms-animation: spin 2s linear infinite;
  71. -moz-animation: spin 2s linear infinite;
  72. -o-animation: spin 2s linear infinite;
  73. animation: spin 2s linear infinite;
  74. z-index: 1001;
  75. }
  76. #loader:before {
  77. content: "";
  78. position: absolute;
  79. top: 5px;
  80. left: 5px;
  81. right: 5px;
  82. bottom: 5px;
  83. border-radius: 50%;
  84. border: 3px solid transparent;
  85. border-top-color: #FFF;
  86. -webkit-animation: spin 3s linear infinite;
  87. -moz-animation: spin 3s linear infinite;
  88. -o-animation: spin 3s linear infinite;
  89. -ms-animation: spin 3s linear infinite;
  90. animation: spin 3s linear infinite;
  91. }
  92. #loader:after {
  93. content: "";
  94. position: absolute;
  95. top: 15px;
  96. left: 15px;
  97. right: 15px;
  98. bottom: 15px;
  99. border-radius: 50%;
  100. border: 3px solid transparent;
  101. border-top-color: #FFF;
  102. -moz-animation: spin 1.5s linear infinite;
  103. -o-animation: spin 1.5s linear infinite;
  104. -ms-animation: spin 1.5s linear infinite;
  105. -webkit-animation: spin 1.5s linear infinite;
  106. animation: spin 1.5s linear infinite;
  107. }
  108. @-webkit-keyframes spin {
  109. 0% {
  110. -webkit-transform: rotate(0deg);
  111. -ms-transform: rotate(0deg);
  112. transform: rotate(0deg);
  113. }
  114. 100% {
  115. -webkit-transform: rotate(360deg);
  116. -ms-transform: rotate(360deg);
  117. transform: rotate(360deg);
  118. }
  119. }
  120. @keyframes spin {
  121. 0% {
  122. -webkit-transform: rotate(0deg);
  123. -ms-transform: rotate(0deg);
  124. transform: rotate(0deg);
  125. }
  126. 100% {
  127. -webkit-transform: rotate(360deg);
  128. -ms-transform: rotate(360deg);
  129. transform: rotate(360deg);
  130. }
  131. }
  132. #loader-wrapper .loader-section.section-left {
  133. left: 0;
  134. }
  135. #loader-wrapper .loader-section.section-right {
  136. right: 0;
  137. }
  138. .loaded #loader-wrapper .loader-section.section-left {
  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.000);
  143. transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  144. }
  145. .loaded #loader-wrapper .loader-section.section-right {
  146. -webkit-transform: translateX(100%);
  147. -ms-transform: translateX(100%);
  148. transform: translateX(100%);
  149. -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  150. transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  151. }
  152. .loaded #loader {
  153. opacity: 0;
  154. -webkit-transition: all 0.3s ease-out;
  155. transition: all 0.3s ease-out;
  156. }
  157. .loaded #loader-wrapper {
  158. visibility: hidden;
  159. -webkit-transform: translateY(-100%);
  160. -ms-transform: translateY(-100%);
  161. transform: translateY(-100%);
  162. -webkit-transition: all 0.3s 1s ease-out;
  163. transition: all 0.3s 1s ease-out;
  164. }
  165. .no-js #loader-wrapper {
  166. display: none;
  167. }
  168. .no-js h1 {
  169. color: #222222;
  170. }
  171. #loader-wrapper .load_title {
  172. font-family: 'Open Sans';
  173. color: #FFF;
  174. font-size: 19px;
  175. width: 100%;
  176. text-align: center;
  177. z-index: 9999999999999;
  178. position: absolute;
  179. top: 60%;
  180. opacity: 1;
  181. line-height: 30px;
  182. }
  183. #loader-wrapper .load_title span {
  184. font-weight: normal;
  185. font-style: italic;
  186. font-size: 13px;
  187. color: #FFF;
  188. opacity: 0.5;
  189. }
  190. </style>
  191. </head>
  192. <body>
  193. <div id="app">
  194. <div id="loader-wrapper">
  195. <div id="loader"></div>
  196. <div class="loader-section section-left"></div>
  197. <div class="loader-section section-right"></div>
  198. <div class="load_title">正在加载系统资源,请耐心等待</div>
  199. </div>
  200. </div>
  201. <script>
  202. var locationInfo = undefined;
  203. function showjson(json){
  204. locationInfo = json;
  205. }
  206. </script>
  207. <script src="https://apis.map.qq.com/ws/location/v1/ip?key=J5JBZ-3H5K3-ZHU3J-3XC2W-2NYPK-75FG4&output=jsonp&callback=showjson"></script>
  208. <!--
  209. <script src="/xlsx.full.min.js"></script>
  210. <script>
  211. document.write('<script type="module" src="/check.xlsx.full.js?time=' + new Date().getTime() + '"><' + '/' + 'script>');
  212. </script>
  213. -->
  214. </body>
  215. </html>