index.html 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. <!DOCTYPE html>
  2. <html lang="en" id="htmlRoot">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  6. <meta name="renderer" content="webkit" />
  7. <meta name="keywords" content="南溪生命线" />
  8. <meta name="description" content="南溪生命线" />
  9. <meta http-equiv="Expires" content="0" />
  10. <meta http-equiv="Cache-control" content="no-cache" />
  11. <meta http-equiv="Cache" content="no-cache" />
  12. <meta
  13. name="viewport"
  14. content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0"
  15. />
  16. <!-- hk -->
  17. <script src="/HikVision/jquery-1.12.4.min.js"></script>
  18. <script src="/HikVision/jsencrypt.min.js"></script>
  19. <script src="/HikVision/jsWebControl-1.0.0.min.js"></script>
  20. <script src="./MicroFrontend.js"></script>
  21. <script src="/zlplayer/zlplayer.min.js"></script>
  22. <title>南溪生命线</title>
  23. <link rel="icon" href="/favicon.ico" />
  24. </head>
  25. <body>
  26. <script>
  27. (() => {
  28. var htmlRoot = document.getElementById('htmlRoot');
  29. var theme = window.localStorage.getItem('__APP__DARK__MODE__');
  30. if (htmlRoot && theme) {
  31. htmlRoot.setAttribute('data-theme', theme);
  32. theme = htmlRoot = null;
  33. }
  34. })();
  35. </script>
  36. <div id="app">
  37. <style>
  38. html[data-theme='dark'] .app-loading {
  39. background-color: #2c344a;
  40. }
  41. html[data-theme='dark'] .app-loading .app-loading-title {
  42. color: rgba(255, 255, 255, 0.85);
  43. }
  44. .app-loading {
  45. display: flex;
  46. width: 100%;
  47. height: 100%;
  48. justify-content: center;
  49. align-items: center;
  50. flex-direction: column;
  51. background-color: #f4f7f9;
  52. }
  53. .app-loading .app-loading-wrap {
  54. position: absolute;
  55. top: 50%;
  56. left: 50%;
  57. display: flex;
  58. -webkit-transform: translate3d(-50%, -50%, 0);
  59. transform: translate3d(-50%, -50%, 0);
  60. justify-content: center;
  61. align-items: center;
  62. flex-direction: column;
  63. }
  64. .app-loading .dots {
  65. display: flex;
  66. padding: 98px;
  67. justify-content: center;
  68. align-items: center;
  69. }
  70. .app-loading .app-loading-title {
  71. display: flex;
  72. margin-top: 30px;
  73. font-size: 30px;
  74. color: rgba(0, 0, 0, 0.85);
  75. justify-content: center;
  76. align-items: center;
  77. }
  78. .app-loading .app-loading-logo {
  79. display: block;
  80. width: 90px;
  81. margin: 0 auto;
  82. margin-bottom: 20px;
  83. }
  84. .dot {
  85. position: relative;
  86. display: inline-block;
  87. width: 48px;
  88. height: 48px;
  89. margin-top: 30px;
  90. font-size: 32px;
  91. transform: rotate(45deg);
  92. box-sizing: border-box;
  93. animation: antRotate 1.2s infinite linear;
  94. }
  95. .dot i {
  96. position: absolute;
  97. display: block;
  98. width: 20px;
  99. height: 20px;
  100. background-color: #0065cc;
  101. border-radius: 100%;
  102. opacity: 0.3;
  103. transform: scale(0.75);
  104. animation: antSpinMove 1s infinite linear alternate;
  105. transform-origin: 50% 50%;
  106. }
  107. .dot i:nth-child(1) {
  108. top: 0;
  109. left: 0;
  110. }
  111. .dot i:nth-child(2) {
  112. top: 0;
  113. right: 0;
  114. -webkit-animation-delay: 0.4s;
  115. animation-delay: 0.4s;
  116. }
  117. .dot i:nth-child(3) {
  118. right: 0;
  119. bottom: 0;
  120. -webkit-animation-delay: 0.8s;
  121. animation-delay: 0.8s;
  122. }
  123. .dot i:nth-child(4) {
  124. bottom: 0;
  125. left: 0;
  126. -webkit-animation-delay: 1.2s;
  127. animation-delay: 1.2s;
  128. }
  129. @keyframes antRotate {
  130. to {
  131. -webkit-transform: rotate(405deg);
  132. transform: rotate(405deg);
  133. }
  134. }
  135. @-webkit-keyframes antRotate {
  136. to {
  137. -webkit-transform: rotate(405deg);
  138. transform: rotate(405deg);
  139. }
  140. }
  141. @keyframes antSpinMove {
  142. to {
  143. opacity: 1;
  144. }
  145. }
  146. @-webkit-keyframes antSpinMove {
  147. to {
  148. opacity: 1;
  149. }
  150. }
  151. </style>
  152. <!-- <div id="first-screen-loading" class="app-loading">
  153. <div class="app-loading-wrap"> -->
  154. <!-- <img src="/resource/img/logo.png" class="app-loading-logo" alt="Logo" /> -->
  155. <!-- <div class="app-loading-dots">
  156. <span class="dot dot-spin"><i></i><i></i><i></i><i></i></span>
  157. </div> -->
  158. <!-- <div class="app-loading-title"><%= title %></div> -->
  159. <!-- </div>
  160. </div> -->
  161. </div>
  162. <script type="module" src="/src/main.ts"></script>
  163. </body>
  164. </html>