index.html 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <!DOCTYPE html>
  2. <html lang="zh-cmn-Hans" id="htmlRoot" data-theme="light">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"/>
  6. <meta content="webkit" name="renderer"/>
  7. <meta
  8. content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0"
  9. name="viewport"
  10. />
  11. <link href="/favicon.ico" rel="icon"/>
  12. <title><%= title %></title>
  13. </head>
  14. <body>
  15. <div id="appProvider" style="display: none"></div>
  16. <div id="app">
  17. <style>
  18. .first-loading-wrap {
  19. display: flex;
  20. width: 100%;
  21. height: 100vh;
  22. justify-content: center;
  23. align-items: center;
  24. flex-direction: column;
  25. }
  26. .first-loading-wrap > h1 {
  27. font-size: 128px
  28. }
  29. .first-loading-wrap .loading-wrap {
  30. padding: 98px;
  31. display: flex;
  32. justify-content: center;
  33. align-items: center
  34. }
  35. .dot {
  36. animation: antRotate 1.2s infinite linear;
  37. transform: rotate(45deg);
  38. position: relative;
  39. display: inline-block;
  40. font-size: 32px;
  41. width: 32px;
  42. height: 32px;
  43. box-sizing: border-box
  44. }
  45. .dot i {
  46. width: 14px;
  47. height: 14px;
  48. position: absolute;
  49. display: block;
  50. background-color: #1890ff;
  51. border-radius: 100%;
  52. transform: scale(.75);
  53. transform-origin: 50% 50%;
  54. opacity: .3;
  55. animation: antSpinMove 1s infinite linear alternate
  56. }
  57. .dot i:nth-child(1) {
  58. top: 0;
  59. left: 0
  60. }
  61. .dot i:nth-child(2) {
  62. top: 0;
  63. right: 0;
  64. -webkit-animation-delay: .4s;
  65. animation-delay: .4s
  66. }
  67. .dot i:nth-child(3) {
  68. right: 0;
  69. bottom: 0;
  70. -webkit-animation-delay: .8s;
  71. animation-delay: .8s
  72. }
  73. .dot i:nth-child(4) {
  74. bottom: 0;
  75. left: 0;
  76. -webkit-animation-delay: 1.2s;
  77. animation-delay: 1.2s
  78. }
  79. @keyframes antRotate {
  80. to {
  81. -webkit-transform: rotate(405deg);
  82. transform: rotate(405deg)
  83. }
  84. }
  85. @-webkit-keyframes antRotate {
  86. to {
  87. -webkit-transform: rotate(405deg);
  88. transform: rotate(405deg)
  89. }
  90. }
  91. @keyframes antSpinMove {
  92. to {
  93. opacity: 1
  94. }
  95. }
  96. @-webkit-keyframes antSpinMove {
  97. to {
  98. opacity: 1
  99. }
  100. }</style>
  101. <div class="first-loading-wrap">
  102. <div class="loading-wrap">
  103. <span class="dot dot-spin"><i></i><i></i><i></i><i></i></span>
  104. </div>
  105. </div>
  106. </div>
  107. <script>var globalThis = window;</script>
  108. <script src="/src/main.ts" type="module"></script>
  109. <script src="https://lf-package-cn.feishucdn.com/obj/feishu-static/lark/passport/qrcode/LarkSSOSDKWebQRCode-1.0.3.js"></script>
  110. </body>
  111. </html>