index.html 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  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="广州非繁科技有限公司商城管理系统"
  12. />
  13. <meta
  14. name="description"
  15. content="广州非繁科技有限公司商城管理系统"
  16. />
  17. <title>%VITE_APP_TITLE%</title>
  18. <!-- <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. animation: app-loading-logo 5s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
  53. }
  54. @-webkit-keyframes app-loading-logo {
  55. 0% {
  56. -webkit-transform: rotate(0deg);
  57. transform: rotate(0deg);
  58. }
  59. 100% {
  60. -webkit-transform: rotate(360deg);
  61. transform: rotate(360deg);
  62. }
  63. }
  64. @keyframes app-loading-logo {
  65. 0% {
  66. -webkit-transform: rotate(0deg);
  67. transform: rotate(0deg);
  68. }
  69. 100% {
  70. -webkit-transform: rotate(360deg);
  71. transform: rotate(360deg);
  72. }
  73. }
  74. .app-loading .app-loading-item {
  75. position: relative;
  76. display: inline-block;
  77. width: 60px;
  78. height: 60px;
  79. vertical-align: middle;
  80. border-radius: 50%;
  81. }
  82. .app-loading .app-loading-outter {
  83. position: absolute;
  84. width: 100%;
  85. height: 100%;
  86. border: 4px solid #2d8cf0;
  87. border-bottom: 0;
  88. border-left-color: transparent;
  89. border-radius: 50%;
  90. animation: loader-outter 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
  91. }
  92. .app-loading .app-loading-inner {
  93. position: absolute;
  94. top: calc(50% - 20px);
  95. left: calc(50% - 20px);
  96. width: 40px;
  97. height: 40px;
  98. border: 4px solid #87bdff;
  99. border-right: 0;
  100. border-top-color: transparent;
  101. border-radius: 50%;
  102. animation: loader-inner 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
  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="/zxlogo.png" 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>