index.html 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  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 name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"/>
  9. <meta
  10. name="keywords"
  11. content="中星管理系统 基于 vue3 + CompositionAPI + typescript + vite3 + element plus 的后台开源免费管理系统!"
  12. />
  13. <meta
  14. name="description"
  15. content="中星管理系统 基于 vue3 + CompositionAPI + typescript + vite3 + element plus 的后台开源免费管理系统!"
  16. />
  17. <title>%VITE_APP_TITLE%</title>
  18. </head>
  19. <body>
  20. <div id="app">
  21. <style>
  22. .app-loading {
  23. display: flex;
  24. width: 100%;
  25. height: 100%;
  26. justify-content: center;
  27. align-items: center;
  28. flex-direction: column;
  29. background: #f0f2f5;
  30. }
  31. .app-loading .app-loading-wrap {
  32. position: absolute;
  33. top: 50%;
  34. left: 50%;
  35. display: flex;
  36. -webkit-transform: translate3d(-50%, -50%, 0);
  37. transform: translate3d(-50%, -50%, 0);
  38. justify-content: center;
  39. align-items: center;
  40. flex-direction: column;
  41. }
  42. .app-loading .app-loading-title {
  43. margin-bottom: 30px;
  44. font-size: 20px;
  45. font-weight: bold;
  46. text-align: center;
  47. }
  48. .app-loading .app-loading-logo {
  49. width: 100px;
  50. margin: 0 auto 15px auto;
  51. animation: app-loading-logo 5s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
  52. }
  53. @-webkit-keyframes app-loading-logo {
  54. 0% {
  55. -webkit-transform: rotate(0deg);
  56. transform: rotate(0deg);
  57. }
  58. 100% {
  59. -webkit-transform: rotate(360deg);
  60. transform: rotate(360deg);
  61. }
  62. }
  63. @keyframes app-loading-logo {
  64. 0% {
  65. -webkit-transform: rotate(0deg);
  66. transform: rotate(0deg);
  67. }
  68. 100% {
  69. -webkit-transform: rotate(360deg);
  70. transform: rotate(360deg);
  71. }
  72. }
  73. .app-loading .app-loading-item {
  74. position: relative;
  75. display: inline-block;
  76. width: 60px;
  77. height: 60px;
  78. vertical-align: middle;
  79. border-radius: 50%;
  80. }
  81. .app-loading .app-loading-outter {
  82. position: absolute;
  83. width: 100%;
  84. height: 100%;
  85. border: 4px solid #2d8cf0;
  86. border-bottom: 0;
  87. border-left-color: transparent;
  88. border-radius: 50%;
  89. animation: loader-outter 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
  90. }
  91. .app-loading .app-loading-inner {
  92. position: absolute;
  93. top: calc(50% - 20px);
  94. left: calc(50% - 20px);
  95. width: 40px;
  96. height: 40px;
  97. border: 4px solid #87bdff;
  98. border-right: 0;
  99. border-top-color: transparent;
  100. border-radius: 50%;
  101. animation: loader-inner 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
  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="/zxlogo.png" 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>