index.html 5.5 KB

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