index.html 3.1 KB

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