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