index.html 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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. .app-loading {
  19. display: flex;
  20. width: 100%;
  21. height: 100%;
  22. justify-content: center;
  23. align-items: center;
  24. flex-direction: column;
  25. background: #f4f7f9;
  26. }
  27. .app-loading .app-loading-wrap {
  28. position: absolute;
  29. top: 50%;
  30. left: 50%;
  31. display: flex;
  32. -webkit-transform: translate3d(-50%, -50%, 0);
  33. transform: translate3d(-50%, -50%, 0);
  34. justify-content: center;
  35. align-items: center;
  36. flex-direction: column;
  37. }
  38. .app-loading .dots {
  39. display: flex;
  40. padding: 98px;
  41. justify-content: center;
  42. align-items: center;
  43. }
  44. .app-loading .app-loading-title {
  45. display: flex;
  46. margin-top: 30px;
  47. font-size: 1.2em;
  48. color: rgba(0, 0, 0, 0.85);
  49. justify-content: center;
  50. align-items: center;
  51. }
  52. .dot {
  53. position: relative;
  54. display: inline-block;
  55. width: 48px;
  56. height: 48px;
  57. margin-top: 30px;
  58. font-size: 1.2em;
  59. transform: rotate(45deg);
  60. box-sizing: border-box;
  61. animation: antRotate 1.2s infinite linear;
  62. }
  63. .dot i {
  64. position: absolute;
  65. display: block;
  66. width: 20px;
  67. height: 20px;
  68. background-color: #0065cc;
  69. border-radius: 100%;
  70. opacity: 0.3;
  71. transform: scale(0.75);
  72. animation: antSpinMove 1s infinite linear alternate;
  73. transform-origin: 50% 50%;
  74. }
  75. .dot i:nth-child(1) {
  76. top: 0;
  77. left: 0;
  78. }
  79. .dot i:nth-child(2) {
  80. top: 0;
  81. right: 0;
  82. -webkit-animation-delay: 0.4s;
  83. animation-delay: 0.4s;
  84. }
  85. .dot i:nth-child(3) {
  86. right: 0;
  87. bottom: 0;
  88. -webkit-animation-delay: 0.8s;
  89. animation-delay: 0.8s;
  90. }
  91. .dot i:nth-child(4) {
  92. bottom: 0;
  93. left: 0;
  94. -webkit-animation-delay: 1.2s;
  95. animation-delay: 1.2s;
  96. }
  97. @keyframes antRotate {
  98. to {
  99. -webkit-transform: rotate(405deg);
  100. transform: rotate(405deg);
  101. }
  102. }
  103. @-webkit-keyframes antRotate {
  104. to {
  105. -webkit-transform: rotate(405deg);
  106. transform: rotate(405deg);
  107. }
  108. }
  109. @keyframes antSpinMove {
  110. to {
  111. opacity: 1;
  112. }
  113. }
  114. @-webkit-keyframes antSpinMove {
  115. to {
  116. opacity: 1;
  117. }
  118. }
  119. </style>
  120. <div class="app-loading">
  121. <div class="app-loading-wrap">
  122. <div class="app-loading-dots">
  123. <span class="dot dot-spin"><i></i><i></i><i></i><i></i></span>
  124. </div>
  125. <div class="app-loading-title">vue-pure-admin</div>
  126. </div>
  127. </div>
  128. </div>
  129. <script type="module" src="/src/main.ts"></script>
  130. </body>
  131. </html>