index.html 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover">
  6. <title>研报</title>
  7. <script src="/jweixin-1.6.0.js"></script>
  8. <script src="/jquery-3.6.0.min.js"></script>
  9. <style>
  10. body{
  11. width: 100vw;
  12. min-height: 100vh;
  13. position: relative;
  14. background-color: #ffffff;
  15. margin: 0;
  16. }
  17. .loading-model {
  18. width: 100vw;
  19. height: 100vh;
  20. display: flex;
  21. justify-content: center;
  22. align-items: center;
  23. position: absolute;
  24. top: 0;
  25. z-index: -1;
  26. color: #007aff;
  27. }
  28. .loading {
  29. width: 50px;
  30. height: 50px;
  31. background: url('./src/assets/img/layoutLoading.png') no-repeat center center;
  32. margin: 0 auto 20px;
  33. background-size: cover;
  34. -webkit-animation: load 1.1s infinite linear;
  35. }
  36. @-webkit-keyframes load {
  37. from {
  38. transform: rotate(0deg);
  39. }
  40. to {
  41. transform: rotate(360deg);
  42. }
  43. }
  44. </style>
  45. </head>
  46. <body>
  47. <div class="loading-model" id="loadingModel">
  48. <div>
  49. <div class="loading"></div>
  50. <div class="loading-text">资源加载中,请稍候...</div>
  51. </div>
  52. </div>
  53. <div id="app"></div>
  54. <script type="module" src="/src/main.js"></script>
  55. <script type="module">
  56. import { registerEtaComp } from '/public/eta_comp.js'
  57. registerEtaComp()
  58. </script>
  59. </body>
  60. </html>