index.html 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. <!DOCTYPE html>
  2. <html lang="en" id="htmlRoot">
  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="keywords" content="飞云物联网平台" />
  8. <meta name="description" content="飞云物联网平台" />
  9. <meta http-equiv="Expires" content="0" />
  10. <meta http-equiv="Cache-control" content="no-cache" />
  11. <meta http-equiv="Cache" content="no-cache" />
  12. <meta
  13. name="viewport"
  14. content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0"
  15. />
  16. <title>飞云物联网平台</title>
  17. <link rel="icon" href="/favicon.ico" />
  18. </head>
  19. <body>
  20. <script>
  21. (() => {
  22. var htmlRoot = document.getElementById('htmlRoot');
  23. var theme = window.localStorage.getItem('__APP__DARK__MODE__');
  24. if (htmlRoot && theme) {
  25. htmlRoot.setAttribute('data-theme', theme);
  26. theme = htmlRoot = null;
  27. }
  28. })();
  29. </script>
  30. <div id="app">
  31. <style>
  32. html[data-theme='dark'] .app-loading {
  33. background-color: #2c344a;
  34. }
  35. html[data-theme='dark'] .app-loading .app-loading-title {
  36. color: rgba(255, 255, 255, 0.85);
  37. }
  38. .app-loading {
  39. display: flex;
  40. width: 100%;
  41. height: 100%;
  42. justify-content: center;
  43. align-items: center;
  44. flex-direction: column;
  45. background-color: #f4f7f9;
  46. }
  47. .app-loading .app-loading-wrap {
  48. position: absolute;
  49. top: 50%;
  50. left: 50%;
  51. display: flex;
  52. -webkit-transform: translate3d(-50%, -50%, 0);
  53. transform: translate3d(-50%, -50%, 0);
  54. justify-content: center;
  55. align-items: center;
  56. flex-direction: column;
  57. }
  58. .app-loading .dots {
  59. display: flex;
  60. padding: 98px;
  61. justify-content: center;
  62. align-items: center;
  63. }
  64. .app-loading .app-loading-title {
  65. display: flex;
  66. margin-top: 30px;
  67. font-size: 30px;
  68. color: rgba(0, 0, 0, 0.85);
  69. justify-content: center;
  70. align-items: center;
  71. }
  72. .app-loading .app-loading-logo {
  73. display: block;
  74. width: 90px;
  75. margin: 0 auto;
  76. margin-bottom: 20px;
  77. }
  78. .dot {
  79. position: relative;
  80. display: inline-block;
  81. width: 48px;
  82. height: 48px;
  83. margin-top: 30px;
  84. font-size: 32px;
  85. transform: rotate(45deg);
  86. box-sizing: border-box;
  87. animation: antRotate 1.2s infinite linear;
  88. }
  89. .dot i {
  90. position: absolute;
  91. display: block;
  92. width: 20px;
  93. height: 20px;
  94. background-color: #0065cc;
  95. border-radius: 100%;
  96. opacity: 0.3;
  97. transform: scale(0.75);
  98. animation: antSpinMove 1s infinite linear alternate;
  99. transform-origin: 50% 50%;
  100. }
  101. .dot i:nth-child(1) {
  102. top: 0;
  103. left: 0;
  104. }
  105. .dot i:nth-child(2) {
  106. top: 0;
  107. right: 0;
  108. -webkit-animation-delay: 0.4s;
  109. animation-delay: 0.4s;
  110. }
  111. .dot i:nth-child(3) {
  112. right: 0;
  113. bottom: 0;
  114. -webkit-animation-delay: 0.8s;
  115. animation-delay: 0.8s;
  116. }
  117. .dot i:nth-child(4) {
  118. bottom: 0;
  119. left: 0;
  120. -webkit-animation-delay: 1.2s;
  121. animation-delay: 1.2s;
  122. }
  123. @keyframes antRotate {
  124. to {
  125. -webkit-transform: rotate(405deg);
  126. transform: rotate(405deg);
  127. }
  128. }
  129. @-webkit-keyframes antRotate {
  130. to {
  131. -webkit-transform: rotate(405deg);
  132. transform: rotate(405deg);
  133. }
  134. }
  135. @keyframes antSpinMove {
  136. to {
  137. opacity: 1;
  138. }
  139. }
  140. @-webkit-keyframes antSpinMove {
  141. to {
  142. opacity: 1;
  143. }
  144. }
  145. </style>
  146. <!-- <div id="first-screen-loading" class="app-loading">
  147. <div class="app-loading-wrap"> -->
  148. <!-- <img src="/resource/img/logo.png" class="app-loading-logo" alt="Logo" /> -->
  149. <!-- <div class="app-loading-dots">
  150. <span class="dot dot-spin"><i></i><i></i><i></i><i></i></span>
  151. </div> -->
  152. <!-- <div class="app-loading-title"><%= title %></div> -->
  153. <!-- </div>
  154. </div> -->
  155. </div>
  156. <script type="module" src="/src/main.ts"></script>
  157. </body>
  158. </html>