index.html 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  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="/favicon.ico">
  9. <title>ZRAdmin.NET管理系统</title>
  10. <!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
  11. <style>
  12. html,
  13. body,
  14. #app {
  15. height: 100%;
  16. margin: 0px;
  17. padding: 0px;
  18. }
  19. .chromeframe {
  20. margin: 0.2em 0;
  21. background: #ccc;
  22. color: #000;
  23. padding: 0.2em 0;
  24. }
  25. .first-loading-wrp {
  26. display: flex;
  27. flex-direction: column;
  28. align-items: center;
  29. justify-content: center;
  30. height: 90vh;
  31. min-height: 90vh;
  32. }
  33. .first-loading-wrp>h1 {
  34. font-size: 30px;
  35. font-weight: bolder;
  36. }
  37. .first-loading-wrp .loading-wrp {
  38. display: flex;
  39. align-items: center;
  40. justify-content: center;
  41. padding: 48px;
  42. }
  43. .dot {
  44. position: relative;
  45. box-sizing: border-box;
  46. display: inline-block;
  47. width: 45px;
  48. height: 45px;
  49. font-size: 64px;
  50. transform: rotate(45deg);
  51. animation: antRotate 1.2s infinite linear;
  52. }
  53. .dot i {
  54. position: absolute;
  55. display: block;
  56. width: 16px;
  57. height: 16px;
  58. background-color: #1890ff;
  59. border-radius: 100%;
  60. opacity: 0.3;
  61. transform: scale(0.75);
  62. transform-origin: 50% 50%;
  63. animation: antSpinMove 1s infinite linear alternate;
  64. }
  65. .dot i:nth-child(1) {
  66. top: 0;
  67. left: 0;
  68. }
  69. .dot i:nth-child(2) {
  70. top: 0;
  71. right: 0;
  72. -webkit-animation-delay: 0.4s;
  73. animation-delay: 0.4s;
  74. }
  75. .dot i:nth-child(3) {
  76. right: 0;
  77. bottom: 0;
  78. -webkit-animation-delay: 0.8s;
  79. animation-delay: 0.8s;
  80. }
  81. .dot i:nth-child(4) {
  82. bottom: 0;
  83. left: 0;
  84. -webkit-animation-delay: 1.2s;
  85. animation-delay: 1.2s;
  86. }
  87. @keyframes antRotate {
  88. to {
  89. -webkit-transform: rotate(405deg);
  90. transform: rotate(405deg);
  91. }
  92. }
  93. @-webkit-keyframes antRotate {
  94. to {
  95. -webkit-transform: rotate(405deg);
  96. transform: rotate(405deg);
  97. }
  98. }
  99. @keyframes antSpinMove {
  100. to {
  101. opacity: 1;
  102. }
  103. }
  104. @-webkit-keyframes antSpinMove {
  105. to {
  106. opacity: 1;
  107. }
  108. }
  109. </style>
  110. </head>
  111. <body>
  112. <div id="app">
  113. <div class="first-loading-wrp">
  114. <div class="loading-wrp">
  115. <span class="dot dot-spin"> <i></i> <i></i> <i></i> <i></i> </span>
  116. </div>
  117. <h5>正在加载系统资源...</h5>
  118. </div>
  119. </div>
  120. <script type="module" src="/src/main.js"></script>
  121. </body>
  122. </html>