index.html 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  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. <title><%= webpackConfig.name %></title>
  10. <!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
  11. <!-- 高德地图API配置 -->
  12. <script type="text/javascript">
  13. window._AMapSecurityConfig = {
  14. securityJsCode: "YOUR_SECURITY_CODE", // 请替换为真实的安全密钥(可选)
  15. };
  16. </script>
  17. <!-- 请将YOUR_AMAP_KEY替换为您的高德地图API密钥 -->
  18. <script type="text/javascript" src="https://webapi.amap.com/maps?v=2.0&key=YOUR_AMAP_KEY&plugin=AMap.Scale,AMap.OverView,AMap.ToolBar,AMap.MapType"></script>
  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. background:
  41. radial-gradient(circle at 20% 30%, rgba(76, 175, 80, 0.4) 0%, transparent 60%),
  42. radial-gradient(circle at 80% 70%, rgba(102, 187, 106, 0.4) 0%, transparent 60%),
  43. radial-gradient(circle at 40% 80%, rgba(76, 175, 80, 0.3) 0%, transparent 50%),
  44. radial-gradient(circle at 60% 20%, rgba(129, 199, 132, 0.3) 0%, transparent 50%),
  45. linear-gradient(135deg, #2E7D32 0%, #4CAF50 25%, #66BB6A 50%, #4CAF50 75%, #388E3C 100%);
  46. overflow: hidden;
  47. }
  48. #loader-wrapper::before {
  49. content: '';
  50. position: absolute;
  51. top: 0;
  52. left: 0;
  53. right: 0;
  54. bottom: 0;
  55. background:
  56. repeating-linear-gradient(
  57. 45deg,
  58. transparent,
  59. transparent 3px,
  60. rgba(255, 255, 255, 0.02) 3px,
  61. rgba(255, 255, 255, 0.02) 6px
  62. );
  63. animation: shimmer 4s ease-in-out infinite;
  64. }
  65. #loader-wrapper::after {
  66. content: '';
  67. position: absolute;
  68. top: -25%;
  69. left: -25%;
  70. width: 150%;
  71. height: 150%;
  72. background: radial-gradient(
  73. circle,
  74. rgba(255, 255, 255, 0.08) 0%,
  75. rgba(255, 255, 255, 0.04) 30%,
  76. transparent 60%
  77. );
  78. animation: rotate 12s linear infinite;
  79. }
  80. #loader {
  81. display: block;
  82. position: relative;
  83. left: 50%;
  84. top: 50%;
  85. width: 150px;
  86. height: 150px;
  87. margin: -75px 0 0 -75px;
  88. border-radius: 50%;
  89. border: 4px solid transparent;
  90. border-top: 4px solid rgba(255, 255, 255, 0.9);
  91. border-right: 4px solid rgba(255, 255, 255, 0.3);
  92. border-bottom: 4px solid rgba(255, 255, 255, 0.1);
  93. border-left: 4px solid rgba(255, 255, 255, 0.6);
  94. box-shadow:
  95. 0 0 30px rgba(76, 175, 80, 0.4),
  96. inset 0 0 20px rgba(255, 255, 255, 0.1),
  97. 0 0 60px rgba(76, 175, 80, 0.2);
  98. backdrop-filter: blur(2px);
  99. -webkit-animation: spin 2s linear infinite;
  100. -ms-animation: spin 2s linear infinite;
  101. -moz-animation: spin 2s linear infinite;
  102. -o-animation: spin 2s linear infinite;
  103. animation: spin 2s linear infinite;
  104. z-index: 1001;
  105. }
  106. #loader:before {
  107. content: "";
  108. position: absolute;
  109. top: 5px;
  110. left: 5px;
  111. right: 5px;
  112. bottom: 5px;
  113. border-radius: 50%;
  114. border: 3px solid transparent;
  115. border-top-color: rgba(255, 255, 255, 0.7);
  116. -webkit-animation: spin 3s linear infinite;
  117. -moz-animation: spin 3s linear infinite;
  118. -o-animation: spin 3s linear infinite;
  119. -ms-animation: spin 3s linear infinite;
  120. animation: spin 3s linear infinite;
  121. }
  122. #loader:after {
  123. content: "";
  124. position: absolute;
  125. top: 15px;
  126. left: 15px;
  127. right: 15px;
  128. bottom: 15px;
  129. border-radius: 50%;
  130. border: 3px solid transparent;
  131. border-top-color: rgba(255, 255, 255, 0.5);
  132. -moz-animation: spin 1.5s linear infinite;
  133. -o-animation: spin 1.5s linear infinite;
  134. -ms-animation: spin 1.5s linear infinite;
  135. -webkit-animation: spin 1.5s linear infinite;
  136. animation: spin 1.5s linear infinite;
  137. }
  138. @-webkit-keyframes spin {
  139. 0% {
  140. -webkit-transform: rotate(0deg);
  141. -ms-transform: rotate(0deg);
  142. transform: rotate(0deg);
  143. }
  144. 100% {
  145. -webkit-transform: rotate(360deg);
  146. -ms-transform: rotate(360deg);
  147. transform: rotate(360deg);
  148. }
  149. }
  150. @keyframes spin {
  151. 0% {
  152. -webkit-transform: rotate(0deg);
  153. -ms-transform: rotate(0deg);
  154. transform: rotate(0deg);
  155. }
  156. 100% {
  157. -webkit-transform: rotate(360deg);
  158. -ms-transform: rotate(360deg);
  159. transform: rotate(360deg);
  160. }
  161. }
  162. @keyframes shimmer {
  163. 0%, 100% {
  164. opacity: 0.3;
  165. transform: translateX(-100%);
  166. }
  167. 50% {
  168. opacity: 0.8;
  169. transform: translateX(100%);
  170. }
  171. }
  172. @keyframes rotate {
  173. 0% {
  174. transform: rotate(0deg);
  175. }
  176. 100% {
  177. transform: rotate(360deg);
  178. }
  179. }
  180. @keyframes pulse {
  181. 0%, 100% {
  182. opacity: 0.6;
  183. transform: scale(1);
  184. }
  185. 50% {
  186. opacity: 1;
  187. transform: scale(1.05);
  188. }
  189. }
  190. .loaded #loader {
  191. opacity: 0;
  192. -webkit-transition: all 0.3s ease-out;
  193. transition: all 0.3s ease-out;
  194. }
  195. .loaded #loader-wrapper {
  196. visibility: hidden;
  197. -webkit-transform: translateY(-100%);
  198. -ms-transform: translateY(-100%);
  199. transform: translateY(-100%);
  200. -webkit-transition: all 0.3s 1s ease-out;
  201. transition: all 0.3s 1s ease-out;
  202. }
  203. .no-js #loader-wrapper {
  204. display: none;
  205. }
  206. .no-js h1 {
  207. color: #222222;
  208. }
  209. #loader-wrapper .load_title {
  210. font-family: 'Open Sans', 'Microsoft YaHei', sans-serif;
  211. color: #FFF;
  212. font-size: 20px;
  213. font-weight: 600;
  214. width: 100%;
  215. text-align: center;
  216. z-index: 9999999999999;
  217. position: absolute;
  218. top: 60%;
  219. opacity: 1;
  220. line-height: 30px;
  221. text-shadow:
  222. 0 2px 4px rgba(0, 0, 0, 0.3),
  223. 0 0 20px rgba(76, 175, 80, 0.6),
  224. 0 0 40px rgba(76, 175, 80, 0.3);
  225. letter-spacing: 1px;
  226. animation: pulse 2s ease-in-out infinite;
  227. }
  228. #loader-wrapper .load_title span {
  229. font-weight: normal;
  230. font-style: italic;
  231. font-size: 14px;
  232. color: rgba(255, 255, 255, 0.8);
  233. opacity: 0.7;
  234. display: block;
  235. margin-top: 8px;
  236. text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  237. }
  238. </style>
  239. </head>
  240. <body>
  241. <div id="app">
  242. <div id="loader-wrapper">
  243. <div id="loader"></div>
  244. <div class="load_title">正在加载系统资源,请耐心等待</div>
  245. </div>
  246. </div>
  247. </body>
  248. </html>