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