index.html 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <link rel="icon" href="/favicon.ico" />
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  8. <meta
  9. name="keywords"
  10. content="管理系统 基于 vue3 + CompositionAPI + typescript + vite3 + element plus 的后台开源免费管理系统!"
  11. />
  12. <meta
  13. name="description"
  14. content="管理系统 基于 vue3 + CompositionAPI + typescript + vite3 + element plus 的后台开源免费管理系统!"
  15. />
  16. <script src="/adapter.min.js"></script>
  17. <script src="/webrtcstreamer.js"></script>
  18. <title>%VITE_APP_TITLE%</title>
  19. </head>
  20. <body>
  21. <div id="app">
  22. <style>
  23. .app-loading {
  24. display: flex;
  25. width: 100%;
  26. height: 100%;
  27. justify-content: center;
  28. align-items: center;
  29. flex-direction: column;
  30. background: #f0f2f5;
  31. }
  32. .app-loading .app-loading-wrap {
  33. position: absolute;
  34. top: 50%;
  35. left: 50%;
  36. display: flex;
  37. -webkit-transform: translate3d(-50%, -50%, 0);
  38. transform: translate3d(-50%, -50%, 0);
  39. justify-content: center;
  40. align-items: center;
  41. flex-direction: column;
  42. }
  43. .app-loading .app-loading-title {
  44. margin-bottom: 30px;
  45. font-size: 20px;
  46. font-weight: bold;
  47. text-align: center;
  48. }
  49. .app-loading .app-loading-logo {
  50. width: 100px;
  51. margin: 0 auto 15px auto;
  52. }
  53. .app-loading .app-loading-item {
  54. position: relative;
  55. display: inline-block;
  56. width: 60px;
  57. height: 60px;
  58. vertical-align: middle;
  59. border-radius: 50%;
  60. }
  61. .app-loading .app-loading-outter {
  62. position: absolute;
  63. width: 100%;
  64. height: 100%;
  65. border: 4px solid #2d8cf0;
  66. border-bottom: 0;
  67. border-left-color: transparent;
  68. border-radius: 50%;
  69. animation: loader-outter 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
  70. }
  71. .app-loading .app-loading-inner {
  72. position: absolute;
  73. top: calc(50% - 20px);
  74. left: calc(50% - 20px);
  75. width: 40px;
  76. height: 40px;
  77. border: 4px solid #87bdff;
  78. border-right: 0;
  79. border-top-color: transparent;
  80. border-radius: 50%;
  81. animation: loader-inner 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
  82. }
  83. @-webkit-keyframes loader-outter {
  84. 0% {
  85. -webkit-transform: rotate(0deg);
  86. transform: rotate(0deg);
  87. }
  88. 100% {
  89. -webkit-transform: rotate(360deg);
  90. transform: rotate(360deg);
  91. }
  92. }
  93. @keyframes loader-outter {
  94. 0% {
  95. -webkit-transform: rotate(0deg);
  96. transform: rotate(0deg);
  97. }
  98. 100% {
  99. -webkit-transform: rotate(360deg);
  100. transform: rotate(360deg);
  101. }
  102. }
  103. @-webkit-keyframes loader-inner {
  104. 0% {
  105. -webkit-transform: rotate(0deg);
  106. transform: rotate(0deg);
  107. }
  108. 100% {
  109. -webkit-transform: rotate(-360deg);
  110. transform: rotate(-360deg);
  111. }
  112. }
  113. @keyframes loader-inner {
  114. 0% {
  115. -webkit-transform: rotate(0deg);
  116. transform: rotate(0deg);
  117. }
  118. 100% {
  119. -webkit-transform: rotate(-360deg);
  120. transform: rotate(-360deg);
  121. }
  122. }
  123. </style>
  124. <div class="app-loading">
  125. <div class="app-loading-wrap">
  126. <div class="app-loading-title">
  127. <img src="/logo.gif" class="app-loading-logo" alt="Logo" />
  128. <div class="app-loading-title">%VITE_APP_TITLE%</div>
  129. </div>
  130. <div class="app-loading-item">
  131. <div class="app-loading-outter"></div>
  132. <div class="app-loading-inner"></div>
  133. </div>
  134. </div>
  135. </div>
  136. </div>
  137. <script type="module" src="/src/main.ts"></script>
  138. </body>
  139. </html>