index.html 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. align-items: center;
  22. justify-content: center;
  23. position: absolute;
  24. top: 0;
  25. z-index: -1;
  26. }
  27. .loading {
  28. width: 100px;
  29. height: 100px;
  30. border: 10px solid #176af8;
  31. border-bottom: #cccccc 10px solid;
  32. border-radius: 50%;
  33. -webkit-animation: load 1.1s infinite linear;
  34. }
  35. @-webkit-keyframes load {
  36. from {
  37. transform: rotate(0deg);
  38. }
  39. to {
  40. transform: rotate(360deg);
  41. }
  42. }
  43. </style>
  44. </head>
  45. <script type="module">
  46. import { registerEtaComp } from '/public/eta_comp.js'
  47. registerEtaComp()
  48. </script>
  49. <body>
  50. <div class="loading-model" id="#loadingModel">
  51. <div class="loading"></div>
  52. <div class="loading-text">资源加载中,请稍候...</div>
  53. </div>
  54. <div id="app"></div>
  55. <script type="module" src="/src/main.js"></script>
  56. </body>
  57. </html>