index.html 1.7 KB

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