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