index.html 4.0 KB

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