index.html 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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">
  6. <meta name="viewport" content="width=device-width,initial-scale=1.0">
  7. <link rel="icon" href="/favicon.ico">
  8. <link rel="icon" type="image/svg+xml" href="/vite.svg" />
  9. <link rel="stylesheet" href="./leaflet/leaflet.css">
  10. <link rel="stylesheet" href="./iClient-leaflet/iclient-leaflet.min.css">
  11. <script src="./leaflet/leaflet.js"></script>
  12. <script src="./iClient-leaflet/iclient-leaflet.js"></script>
  13. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  14. <title>Snowy</title>
  15. <style>
  16. .dot {
  17. animation: antRotate 1.2s infinite linear;
  18. transform: rotate(45deg);
  19. position: relative;
  20. display: inline-block;
  21. font-size: 32px;
  22. width: 32px;
  23. height: 32px;
  24. box-sizing: border-box
  25. }
  26. .dot i {
  27. width: 14px;
  28. height: 14px;
  29. position: absolute;
  30. display: block;
  31. background-color: #1890ff;
  32. border-radius: 100%;
  33. transform: scale(.75);
  34. transform-origin: 50% 50%;
  35. opacity: .3;
  36. animation: antSpinMove 1s infinite linear alternate
  37. }
  38. .dot i:nth-child(1) {
  39. top: 0;
  40. left: 0
  41. }
  42. .dot i:nth-child(2) {
  43. top: 0;
  44. right: 0;
  45. -webkit-animation-delay: .4s;
  46. animation-delay: .4s
  47. }
  48. .dot i:nth-child(3) {
  49. right: 0;
  50. bottom: 0;
  51. -webkit-animation-delay: .8s;
  52. animation-delay: .8s
  53. }
  54. .dot i:nth-child(4) {
  55. bottom: 0;
  56. left: 0;
  57. -webkit-animation-delay: 1.2s;
  58. animation-delay: 1.2s
  59. }
  60. @keyframes antRotate {
  61. to {
  62. -webkit-transform: rotate(405deg);
  63. transform: rotate(405deg)
  64. }
  65. }
  66. @-webkit-keyframes antRotate {
  67. to {
  68. -webkit-transform: rotate(405deg);
  69. transform: rotate(405deg)
  70. }
  71. }
  72. @keyframes antSpinMove {
  73. to {
  74. opacity: 1
  75. }
  76. }
  77. @-webkit-keyframes antSpinMove {
  78. to {
  79. opacity: 1
  80. }
  81. }
  82. .app-loading {
  83. position: absolute;
  84. top: 0px;
  85. left: 0px;
  86. right: 0px;
  87. bottom: 0px;
  88. display: flex;
  89. justify-content: center;
  90. align-items: center;
  91. flex-direction: column;
  92. background: #fff;
  93. }
  94. .app-loading__logo {
  95. margin-bottom: 30px;
  96. }
  97. .app-loading__logo img {
  98. width: 90px;
  99. vertical-align: bottom;
  100. }
  101. .app-loading__title {
  102. font-size: 24px;
  103. color: #333;
  104. margin-top: 30px;
  105. }
  106. @keyframes loader {
  107. 0% {
  108. transform: rotate(0deg);
  109. }
  110. 100% {
  111. transform: rotate(360deg);
  112. }
  113. }
  114. </style>
  115. </head>
  116. <body>
  117. <noscript>
  118. <strong>We're sorry but Snowy2.0 doesn't work properly without JavaScript
  119. enabled. Please enable it to continue.</strong>
  120. </noscript>
  121. <div id="app" class="admin-ui">
  122. <div class="app-loading">
  123. <div class="app-loading__logo">
  124. <img src="/img/logo.png" />
  125. </div>
  126. <div><span class="dot dot-spin"><i></i><i></i><i></i><i></i></span></div>
  127. <div class="app-loading__title">Snowy</div>
  128. </div>
  129. </div>
  130. <script type="module" src="/src/main.js"></script>
  131. </body>
  132. </html>