index.html 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  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>
  10. <%= webpackConfig.name %> - 可观测平台
  11. </title>
  12. <meta name="keywords" content="go-admin,gin,权限管理系统,gin-admin,gin-vue-admin,go">
  13. <meta name="description"
  14. content="基于Gin + Vue + Element UI的前后端分离权限管理系统,初始化极度简单,只需要配置文件中,修改数据库连接,系统启动后会自动初始化数据库信息以及必须的基础数据">
  15. <% if (htmlWebpackPlugin.options.builtTime) { %>
  16. <meta name="builtTime" content="<%= htmlWebpackPlugin.options.builtTime %>">
  17. <% } %>
  18. <style>
  19. html,
  20. body,
  21. #app {
  22. height: 100%;
  23. margin: 0px;
  24. padding: 0px;
  25. background: #f0f1f5;
  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. }
  41. #loader {
  42. display: block;
  43. position: relative;
  44. left: 50%;
  45. top: 50%;
  46. width: 150px;
  47. height: 150px;
  48. margin: -75px 0 0 -75px;
  49. border-radius: 50%;
  50. border: 3px solid transparent;
  51. border-top-color: #FFF;
  52. -webkit-animation: spin 2s linear infinite;
  53. -ms-animation: spin 2s linear infinite;
  54. -moz-animation: spin 2s linear infinite;
  55. -o-animation: spin 2s linear infinite;
  56. animation: spin 2s linear infinite;
  57. z-index: 1001;
  58. }
  59. #loader:before {
  60. content: "";
  61. position: absolute;
  62. top: 5px;
  63. left: 5px;
  64. right: 5px;
  65. bottom: 5px;
  66. border-radius: 50%;
  67. border: 3px solid transparent;
  68. border-top-color: #FFF;
  69. -webkit-animation: spin 3s linear infinite;
  70. -moz-animation: spin 3s linear infinite;
  71. -o-animation: spin 3s linear infinite;
  72. -ms-animation: spin 3s linear infinite;
  73. animation: spin 3s linear infinite;
  74. }
  75. #loader:after {
  76. content: "";
  77. position: absolute;
  78. top: 15px;
  79. left: 15px;
  80. right: 15px;
  81. bottom: 15px;
  82. border-radius: 50%;
  83. border: 3px solid transparent;
  84. border-top-color: #FFF;
  85. -moz-animation: spin 1.5s linear infinite;
  86. -o-animation: spin 1.5s linear infinite;
  87. -ms-animation: spin 1.5s linear infinite;
  88. -webkit-animation: spin 1.5s linear infinite;
  89. animation: spin 1.5s linear infinite;
  90. }
  91. @-webkit-keyframes spin {
  92. 0% {
  93. -webkit-transform: rotate(0deg);
  94. -ms-transform: rotate(0deg);
  95. transform: rotate(0deg);
  96. }
  97. 100% {
  98. -webkit-transform: rotate(360deg);
  99. -ms-transform: rotate(360deg);
  100. transform: rotate(360deg);
  101. }
  102. }
  103. @keyframes spin {
  104. 0% {
  105. -webkit-transform: rotate(0deg);
  106. -ms-transform: rotate(0deg);
  107. transform: rotate(0deg);
  108. }
  109. 100% {
  110. -webkit-transform: rotate(360deg);
  111. -ms-transform: rotate(360deg);
  112. transform: rotate(360deg);
  113. }
  114. }
  115. #loader-wrapper .loader-section {
  116. position: fixed;
  117. top: 0;
  118. width: 51%;
  119. height: 100%;
  120. background: #7171C6;
  121. z-index: 1000;
  122. -webkit-transform: translateX(0);
  123. -ms-transform: translateX(0);
  124. transform: translateX(0);
  125. }
  126. #loader-wrapper .loader-section.section-left {
  127. left: 0;
  128. }
  129. #loader-wrapper .loader-section.section-right {
  130. right: 0;
  131. }
  132. .loaded #loader-wrapper .loader-section.section-left {
  133. -webkit-transform: translateX(-100%);
  134. -ms-transform: translateX(-100%);
  135. transform: translateX(-100%);
  136. -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  137. transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  138. }
  139. .loaded #loader-wrapper .loader-section.section-right {
  140. -webkit-transform: translateX(100%);
  141. -ms-transform: translateX(100%);
  142. transform: translateX(100%);
  143. -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  144. transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  145. }
  146. .loaded #loader {
  147. opacity: 0;
  148. -webkit-transition: all 0.3s ease-out;
  149. transition: all 0.3s ease-out;
  150. }
  151. .loaded #loader-wrapper {
  152. visibility: hidden;
  153. -webkit-transform: translateY(-100%);
  154. -ms-transform: translateY(-100%);
  155. transform: translateY(-100%);
  156. -webkit-transition: all 0.3s 1s ease-out;
  157. transition: all 0.3s 1s ease-out;
  158. }
  159. .no-js #loader-wrapper {
  160. display: none;
  161. }
  162. .no-js h1 {
  163. color: #222222;
  164. }
  165. #loader-wrapper .load_title {
  166. font-family: 'Open Sans';
  167. color: #FFF;
  168. font-size: 14.3px;
  169. width: 100%;
  170. text-align: center;
  171. z-index: 9999999999999;
  172. position: absolute;
  173. top: 60%;
  174. opacity: 1;
  175. line-height: 30px;
  176. }
  177. #loader-wrapper .load_title span {
  178. font-weight: normal;
  179. font-style: italic;
  180. font-size: 13px;
  181. color: #FFF;
  182. opacity: 0.5;
  183. }
  184. .loader_box{
  185. position: absolute;
  186. width: 720px;
  187. height: 450px;
  188. top:50%;
  189. left:50%;
  190. margin-top:-225px;
  191. margin-left:-360px;
  192. }
  193. </style>
  194. </head>
  195. <body>
  196. <div id="app">
  197. <!-- <div id="loader-wrapper">
  198. <div id="loader"></div>
  199. <div class="loader-section section-left"></div>
  200. <div class="loader-section section-right"></div>
  201. <div class="load_title">正在加载系统资源,请耐心等待</div>
  202. </div> -->
  203. <div style="position: relative; background: #7171C6;width:100%;height: 100%;">
  204. <div class="loader_box">
  205. <img src="./loading4.gif" width="720px" height="450px" alt=""/>
  206. <div>
  207. </div>
  208. </div>
  209. </body>
  210. </html>