index.html 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  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. <script src="/srs.sdk.js"></script>
  19. <title>%VITE_APP_TITLE%</title>
  20. </head>
  21. <body>
  22. <div id="app">
  23. <style>
  24. .app-loading {
  25. display: flex;
  26. width: 100%;
  27. height: 100%;
  28. justify-content: center;
  29. align-items: center;
  30. flex-direction: column;
  31. background: #f0f2f5;
  32. }
  33. .app-loading .app-loading-wrap {
  34. position: absolute;
  35. top: 50%;
  36. left: 50%;
  37. display: flex;
  38. -webkit-transform: translate3d(-50%, -50%, 0);
  39. transform: translate3d(-50%, -50%, 0);
  40. justify-content: center;
  41. align-items: center;
  42. flex-direction: column;
  43. }
  44. .app-loading .app-loading-title {
  45. margin-bottom: 30px;
  46. font-size: 20px;
  47. font-weight: bold;
  48. text-align: center;
  49. }
  50. .app-loading .app-loading-logo {
  51. width: 100px;
  52. margin: 0 auto 15px auto;
  53. }
  54. .app-loading .app-loading-item {
  55. position: relative;
  56. display: inline-block;
  57. width: 60px;
  58. height: 60px;
  59. vertical-align: middle;
  60. border-radius: 50%;
  61. }
  62. .app-loading .app-loading-outter {
  63. position: absolute;
  64. width: 100%;
  65. height: 100%;
  66. border: 4px solid #2d8cf0;
  67. border-bottom: 0;
  68. border-left-color: transparent;
  69. border-radius: 50%;
  70. animation: loader-outter 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
  71. }
  72. .app-loading .app-loading-inner {
  73. position: absolute;
  74. top: calc(50% - 20px);
  75. left: calc(50% - 20px);
  76. width: 40px;
  77. height: 40px;
  78. border: 4px solid #87bdff;
  79. border-right: 0;
  80. border-top-color: transparent;
  81. border-radius: 50%;
  82. animation: loader-inner 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
  83. }
  84. @-webkit-keyframes loader-outter {
  85. 0% {
  86. -webkit-transform: rotate(0deg);
  87. transform: rotate(0deg);
  88. }
  89. 100% {
  90. -webkit-transform: rotate(360deg);
  91. transform: rotate(360deg);
  92. }
  93. }
  94. @keyframes loader-outter {
  95. 0% {
  96. -webkit-transform: rotate(0deg);
  97. transform: rotate(0deg);
  98. }
  99. 100% {
  100. -webkit-transform: rotate(360deg);
  101. transform: rotate(360deg);
  102. }
  103. }
  104. @-webkit-keyframes loader-inner {
  105. 0% {
  106. -webkit-transform: rotate(0deg);
  107. transform: rotate(0deg);
  108. }
  109. 100% {
  110. -webkit-transform: rotate(-360deg);
  111. transform: rotate(-360deg);
  112. }
  113. }
  114. @keyframes loader-inner {
  115. 0% {
  116. -webkit-transform: rotate(0deg);
  117. transform: rotate(0deg);
  118. }
  119. 100% {
  120. -webkit-transform: rotate(-360deg);
  121. transform: rotate(-360deg);
  122. }
  123. }
  124. </style>
  125. <div class="app-loading">
  126. <div class="app-loading-wrap">
  127. <div class="app-loading-title">
  128. <img src="/logo.gif" class="app-loading-logo" alt="Logo" />
  129. <div class="app-loading-title">%VITE_APP_TITLE%</div>
  130. </div>
  131. <div class="app-loading-item">
  132. <div class="app-loading-outter"></div>
  133. <div class="app-loading-inner"></div>
  134. </div>
  135. </div>
  136. </div>
  137. </div>
  138. <script type="module" src="/src/main.ts"></script>
  139. </body>
  140. </html>