index.html 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <script src="https://g.alicdn.com/dingding/dinglogin/0.0.5/ddLogin.js"></script>
  5. <meta charset="UTF-8" />
  6. <link rel="icon" href="/favicon.ico" />
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  8. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  9. <meta
  10. name="keywords"
  11. content="DeepOil"
  12. />
  13. <meta
  14. name="description"
  15. content="DeepOil"
  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. }
  52. .app-loading .app-loading-item {
  53. position: relative;
  54. display: inline-block;
  55. width: 60px;
  56. height: 60px;
  57. vertical-align: middle;
  58. border-radius: 50%;
  59. }
  60. .app-loading .app-loading-outter {
  61. position: absolute;
  62. width: 100%;
  63. height: 100%;
  64. border: 4px solid #2d8cf0;
  65. border-bottom: 0;
  66. border-left-color: transparent;
  67. border-radius: 50%;
  68. animation: loader-outter 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
  69. }
  70. .app-loading .app-loading-inner {
  71. position: absolute;
  72. top: calc(50% - 20px);
  73. left: calc(50% - 20px);
  74. width: 40px;
  75. height: 40px;
  76. border: 4px solid #87bdff;
  77. border-right: 0;
  78. border-top-color: transparent;
  79. border-radius: 50%;
  80. animation: loader-inner 1s cubic-bezier(0.42, 0.61, 0.58, 0.41) infinite;
  81. }
  82. @-webkit-keyframes loader-outter {
  83. 0% {
  84. -webkit-transform: rotate(0deg);
  85. transform: rotate(0deg);
  86. }
  87. 100% {
  88. -webkit-transform: rotate(360deg);
  89. transform: rotate(360deg);
  90. }
  91. }
  92. @keyframes loader-outter {
  93. 0% {
  94. -webkit-transform: rotate(0deg);
  95. transform: rotate(0deg);
  96. }
  97. 100% {
  98. -webkit-transform: rotate(360deg);
  99. transform: rotate(360deg);
  100. }
  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="/logo.gif" 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>