index.html 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. <!--
  2. * @Author: 半生瓜 1515706227@qq.com
  3. * @Date: 2024-04-21 17:20:21
  4. * @LastEditors: 半生瓜 1515706227@qq.com
  5. * @LastEditTime: 2024-05-16 01:34:43
  6. * @FilePath: \vue-element-plus-admin-mini\index.html
  7. * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  8. -->
  9. <!DOCTYPE html>
  10. <html lang="en">
  11. <head>
  12. <meta charset="UTF-8" />
  13. <link rel="icon" href="/favicon.ico" />
  14. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  15. <title><%= title %></title>
  16. <script>
  17. window.VITE_API_BASE_PATH='http://192.168.4.194:9098/X3D-server'
  18. window.JumpUrl='https://wisec.you07.com/#/'
  19. window.PreviewUrl='https://map.cup.edu.cn/'
  20. </script>
  21. </head>
  22. <body>
  23. <div id="app">
  24. <style>
  25. .app-loading {
  26. display: flex;
  27. width: 100%;
  28. height: 100%;
  29. justify-content: center;
  30. align-items: center;
  31. flex-direction: column;
  32. background: #f0f2f5;
  33. }
  34. .app-loading .app-loading-wrap {
  35. position: absolute;
  36. top: 50%;
  37. left: 50%;
  38. display: flex;
  39. -webkit-transform: translate3d(-50%, -50%, 0);
  40. transform: translate3d(-50%, -50%, 0);
  41. justify-content: center;
  42. align-items: center;
  43. flex-direction: column;
  44. }
  45. .app-loading .app-loading-title {
  46. margin-bottom: 30px;
  47. font-size: 20px;
  48. font-weight: bold;
  49. text-align: center;
  50. }
  51. .app-loading .app-loading-logo {
  52. width: 100px;
  53. margin: 0 auto 15px auto;
  54. }
  55. .app-loading .app-loading-item {
  56. position: relative;
  57. display: inline-block;
  58. width: 60px;
  59. height: 60px;
  60. vertical-align: middle;
  61. border-radius: 50%;
  62. }
  63. .app-loading .app-loading-outter {
  64. position: absolute;
  65. width: 100%;
  66. height: 100%;
  67. border: 4px solid #2d8cf0;
  68. border-bottom: 0;
  69. border-left-color: transparent;
  70. border-radius: 50%;
  71. animation: loader-outter 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
  72. }
  73. .app-loading .app-loading-inner {
  74. position: absolute;
  75. top: calc(50% - 20px);
  76. left: calc(50% - 20px);
  77. width: 40px;
  78. height: 40px;
  79. border: 4px solid #87bdff;
  80. border-right: 0;
  81. border-top-color: transparent;
  82. border-radius: 50%;
  83. animation: loader-inner 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
  84. }
  85. @-webkit-keyframes loader-outter {
  86. 0% {
  87. -webkit-transform: rotate(0deg);
  88. transform: rotate(0deg);
  89. }
  90. 100% {
  91. -webkit-transform: rotate(360deg);
  92. transform: rotate(360deg);
  93. }
  94. }
  95. @keyframes loader-outter {
  96. 0% {
  97. -webkit-transform: rotate(0deg);
  98. transform: rotate(0deg);
  99. }
  100. 100% {
  101. -webkit-transform: rotate(360deg);
  102. transform: rotate(360deg);
  103. }
  104. }
  105. @-webkit-keyframes loader-inner {
  106. 0% {
  107. -webkit-transform: rotate(0deg);
  108. transform: rotate(0deg);
  109. }
  110. 100% {
  111. -webkit-transform: rotate(-360deg);
  112. transform: rotate(-360deg);
  113. }
  114. }
  115. @keyframes loader-inner {
  116. 0% {
  117. -webkit-transform: rotate(0deg);
  118. transform: rotate(0deg);
  119. }
  120. 100% {
  121. -webkit-transform: rotate(-360deg);
  122. transform: rotate(-360deg);
  123. }
  124. }
  125. </style>
  126. <div class="app-loading">
  127. <div class="app-loading-wrap">
  128. <div class="app-loading-title">
  129. <img src="/logo.png" class="app-loading-logo" alt="Logo" />
  130. <div class="app-loading-title"><%= title %></div>
  131. </div>
  132. <div class="app-loading-item">
  133. <div class="app-loading-outter"></div>
  134. <div class="app-loading-inner"></div>
  135. </div>
  136. </div>
  137. </div>
  138. </div>
  139. <script type="module" src="/src/main.ts"></script>
  140. </body>
  141. </html>