index.html 5.5 KB

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