index.html 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <link rel="icon" href="/favicon.ico" />
  6. <link rel="stylesheet" href="/iconfont.css" />
  7. <link rel="stylesheet" href="/animate.css">
  8. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  9. <title>后台管理系统</title>
  10. <script src="https://cdn.bootcdn.net/ajax/libs/Sortable/1.13.0/Sortable.js"></script>
  11. <script>
  12. window.process = {}
  13. </script>
  14. </head>
  15. <body>
  16. <div id="app">
  17. <style>
  18. html,
  19. body,
  20. #app {
  21. height: 100%;
  22. margin: 0px;
  23. padding: 0px;
  24. }
  25. .chromeframe {
  26. margin: 0.2em 0;
  27. background: #ccc;
  28. color: #000;
  29. padding: 0.2em 0;
  30. }
  31. #loader-wrapper {
  32. position: fixed;
  33. top: 0;
  34. left: 0;
  35. width: 100%;
  36. height: 100%;
  37. z-index: 999999;
  38. }
  39. #loader {
  40. display: block;
  41. position: relative;
  42. left: 50%;
  43. top: 50%;
  44. width: 150px;
  45. height: 150px;
  46. margin: -75px 0 0 -75px;
  47. border-radius: 50%;
  48. border: 3px solid transparent;
  49. /* COLOR 1 */
  50. border-top-color: #FFF;
  51. -webkit-animation: spin 2s linear infinite;
  52. /* Chrome, Opera 15+, Safari 5+ */
  53. -ms-animation: spin 2s linear infinite;
  54. /* Chrome, Opera 15+, Safari 5+ */
  55. -moz-animation: spin 2s linear infinite;
  56. /* Chrome, Opera 15+, Safari 5+ */
  57. -o-animation: spin 2s linear infinite;
  58. /* Chrome, Opera 15+, Safari 5+ */
  59. animation: spin 2s linear infinite;
  60. /* Chrome, Firefox 16+, IE 10+, Opera */
  61. z-index: 1001;
  62. }
  63. #loader:before {
  64. content: "";
  65. position: absolute;
  66. top: 5px;
  67. left: 5px;
  68. right: 5px;
  69. bottom: 5px;
  70. border-radius: 50%;
  71. border: 3px solid transparent;
  72. /* COLOR 2 */
  73. border-top-color: #FFF;
  74. -webkit-animation: spin 3s linear infinite;
  75. /* Chrome, Opera 15+, Safari 5+ */
  76. -moz-animation: spin 3s linear infinite;
  77. /* Chrome, Opera 15+, Safari 5+ */
  78. -o-animation: spin 3s linear infinite;
  79. /* Chrome, Opera 15+, Safari 5+ */
  80. -ms-animation: spin 3s linear infinite;
  81. /* Chrome, Opera 15+, Safari 5+ */
  82. animation: spin 3s linear infinite;
  83. /* Chrome, Firefox 16+, IE 10+, Opera */
  84. }
  85. #loader:after {
  86. content: "";
  87. position: absolute;
  88. top: 15px;
  89. left: 15px;
  90. right: 15px;
  91. bottom: 15px;
  92. border-radius: 50%;
  93. border: 3px solid transparent;
  94. border-top-color: #FFF;
  95. /* COLOR 3 */
  96. -moz-animation: spin 1.5s linear infinite;
  97. /* Chrome, Opera 15+, Safari 5+ */
  98. -o-animation: spin 1.5s linear infinite;
  99. /* Chrome, Opera 15+, Safari 5+ */
  100. -ms-animation: spin 1.5s linear infinite;
  101. /* Chrome, Opera 15+, Safari 5+ */
  102. -webkit-animation: spin 1.5s linear infinite;
  103. /* Chrome, Opera 15+, Safari 5+ */
  104. animation: spin 1.5s linear infinite;
  105. /* Chrome, Firefox 16+, IE 10+, Opera */
  106. }
  107. @-webkit-keyframes spin {
  108. 0% {
  109. -webkit-transform: rotate(0deg);
  110. /* Chrome, Opera 15+, Safari 3.1+ */
  111. -ms-transform: rotate(0deg);
  112. /* IE 9 */
  113. transform: rotate(0deg);
  114. /* Firefox 16+, IE 10+, Opera */
  115. }
  116. 100% {
  117. -webkit-transform: rotate(360deg);
  118. /* Chrome, Opera 15+, Safari 3.1+ */
  119. -ms-transform: rotate(360deg);
  120. /* IE 9 */
  121. transform: rotate(360deg);
  122. /* Firefox 16+, IE 10+, Opera */
  123. }
  124. }
  125. @keyframes spin {
  126. 0% {
  127. -webkit-transform: rotate(0deg);
  128. /* Chrome, Opera 15+, Safari 3.1+ */
  129. -ms-transform: rotate(0deg);
  130. /* IE 9 */
  131. transform: rotate(0deg);
  132. /* Firefox 16+, IE 10+, Opera */
  133. }
  134. 100% {
  135. -webkit-transform: rotate(360deg);
  136. /* Chrome, Opera 15+, Safari 3.1+ */
  137. -ms-transform: rotate(360deg);
  138. /* IE 9 */
  139. transform: rotate(360deg);
  140. /* Firefox 16+, IE 10+, Opera */
  141. }
  142. }
  143. #loader-wrapper .loader-section {
  144. position: fixed;
  145. top: 0;
  146. width: 51%;
  147. height: 100%;
  148. background: #5d94f8;
  149. /* Old browsers */
  150. z-index: 1000;
  151. -webkit-transform: translateX(0);
  152. /* Chrome, Opera 15+, Safari 3.1+ */
  153. -ms-transform: translateX(0);
  154. /* IE 9 */
  155. transform: translateX(0);
  156. /* Firefox 16+, IE 10+, Opera */
  157. }
  158. #loader-wrapper .loader-section.section-left {
  159. left: 0;
  160. }
  161. #loader-wrapper .loader-section.section-right {
  162. right: 0;
  163. }
  164. /* Loaded */
  165. .loaded #loader-wrapper .loader-section.section-left {
  166. -webkit-transform: translateX(-100%);
  167. /* Chrome, Opera 15+, Safari 3.1+ */
  168. -ms-transform: translateX(-100%);
  169. /* IE 9 */
  170. transform: translateX(-100%);
  171. /* Firefox 16+, IE 10+, Opera */
  172. -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  173. transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  174. }
  175. .loaded #loader-wrapper .loader-section.section-right {
  176. -webkit-transform: translateX(100%);
  177. /* Chrome, Opera 15+, Safari 3.1+ */
  178. -ms-transform: translateX(100%);
  179. /* IE 9 */
  180. transform: translateX(100%);
  181. /* Firefox 16+, IE 10+, Opera */
  182. -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  183. transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
  184. }
  185. .loaded #loader {
  186. opacity: 0;
  187. -webkit-transition: all 0.3s ease-out;
  188. transition: all 0.3s ease-out;
  189. }
  190. .loaded #loader-wrapper {
  191. visibility: hidden;
  192. -webkit-transform: translateY(-100%);
  193. /* Chrome, Opera 15+, Safari 3.1+ */
  194. -ms-transform: translateY(-100%);
  195. /* IE 9 */
  196. transform: translateY(-100%);
  197. /* Firefox 16+, IE 10+, Opera */
  198. -webkit-transition: all 0.3s 1s ease-out;
  199. transition: all 0.3s 1s ease-out;
  200. }
  201. /* JavaScript Turned Off */
  202. .no-js #loader-wrapper {
  203. display: none;
  204. }
  205. .no-js h1 {
  206. color: #222222;
  207. }
  208. #loader-wrapper .load_title {
  209. font-family: 'Open Sans';
  210. color: #FFF;
  211. font-size: 19px;
  212. width: 100%;
  213. text-align: center;
  214. z-index: 9999999999999;
  215. position: absolute;
  216. top: 60%;
  217. opacity: 1;
  218. line-height: 30px;
  219. }
  220. #loader-wrapper .load_title span {
  221. font-weight: normal;
  222. font-style: italic;
  223. font-size: 13px;
  224. color: #FFF;
  225. opacity: 0.5;
  226. }
  227. </style>
  228. <div id="loader-wrapper">
  229. <div id="loader"></div>
  230. <div class="loader-section section-left"></div>
  231. <div class="loader-section section-right"></div>
  232. <div class="load_title">加载中,请耐心等待...
  233. <br>
  234. <span id="version">V0.0.1</span>
  235. </div>
  236. </div>
  237. </div>
  238. <script type="module" src="/src/main.ts"></script>
  239. </body>
  240. </html>