index.html 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  1. <!DOCTYPE html>
  2. <html lang="zh_CN" 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="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0" />
  8. <title><%= title %></title>
  9. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" />
  10. <!-- <link rel="preload" as="script" href="/js/config.js"> -->
  11. <link rel="icon" id="faviconIcon" href="/logo.png" />
  12. <!-- 全局配置 -->
  13. <script src="/js/config.js"></script>
  14. <script src="/js/liveplayer-lib.min.js"></script>
  15. <script src="/js/webrtcstreamer.js"></script>
  16. <script src="/js/adapter.min.js"></script>
  17. <script type="text/javascript" src="http://182.92.126.35:9050/web-apps/apps/api/documents/api.js"></script>
  18. </head>
  19. <body style="background-color: #09172C">
  20. <script>
  21. (() => {
  22. var htmlRoot = document.getElementById('htmlRoot');
  23. var theme = window.localStorage.getItem('__APP__DARK__MODE__');
  24. if (htmlRoot && theme) {
  25. htmlRoot.setAttribute('data-theme', theme);
  26. theme = htmlRoot = null;
  27. }
  28. })();
  29. </script>
  30. <div id="app">
  31. <style>
  32. html[data-theme='dark'] .app-loading {
  33. background-color: #2c344a;
  34. }
  35. html[data-theme='dark'] .app-loading .app-loading-title {
  36. color: rgba(255, 255, 255, 0.85);
  37. }
  38. .app-loading {
  39. display: flex;
  40. width: 100%;
  41. height: 100%;
  42. justify-content: center;
  43. align-items: center;
  44. flex-direction: column;
  45. /* background-color: #f4f7f9; */
  46. background-image: url('./src/assets/images/vent/loading-bg.png');
  47. background-size: cover;
  48. background-repeat: no-repeat;
  49. background-color: #09172C;
  50. }
  51. .app-loading .app-loading-wrap {
  52. position: absolute;
  53. top: 50%;
  54. left: 50%;
  55. display: flex;
  56. -webkit-transform: translate3d(-50%, -50%, 0);
  57. transform: translate3d(-50%, -50%, 0);
  58. justify-content: center;
  59. align-items: center;
  60. flex-direction: column;
  61. }
  62. .app-loading .dots {
  63. display: flex;
  64. padding: 98px;
  65. justify-content: center;
  66. align-items: center;
  67. }
  68. .app-loading .app-loading-title {
  69. display: flex;
  70. margin-top: 30px;
  71. font-size: 30px;
  72. color: rgba(255, 255, 255, 0.85);
  73. justify-content: center;
  74. align-items: center;
  75. }
  76. .app-loading .app-loading-logo {
  77. display: block;
  78. width: 90px;
  79. margin: 0 auto;
  80. margin-bottom: 20px;
  81. }
  82. .dot {
  83. position: relative;
  84. display: inline-block;
  85. width: 48px;
  86. height: 48px;
  87. margin-top: 30px;
  88. font-size: 32px;
  89. transform: rotate(45deg);
  90. box-sizing: border-box;
  91. animation: antRotate 1.2s infinite linear;
  92. }
  93. .dot i {
  94. position: absolute;
  95. display: block;
  96. width: 20px;
  97. height: 20px;
  98. background-color: #0065cc;
  99. border-radius: 100%;
  100. opacity: 0.3;
  101. transform: scale(0.75);
  102. animation: antSpinMove 1s infinite linear alternate;
  103. transform-origin: 50% 50%;
  104. }
  105. .dot i:nth-child(1) {
  106. top: 0;
  107. left: 0;
  108. }
  109. .dot i:nth-child(2) {
  110. top: 0;
  111. right: 0;
  112. -webkit-animation-delay: 0.4s;
  113. animation-delay: 0.4s;
  114. }
  115. .dot i:nth-child(3) {
  116. right: 0;
  117. bottom: 0;
  118. -webkit-animation-delay: 0.8s;
  119. animation-delay: 0.8s;
  120. }
  121. .dot i:nth-child(4) {
  122. bottom: 0;
  123. left: 0;
  124. -webkit-animation-delay: 1.2s;
  125. animation-delay: 1.2s;
  126. }
  127. @keyframes antRotate {
  128. to {
  129. -webkit-transform: rotate(405deg);
  130. transform: rotate(405deg);
  131. }
  132. }
  133. @-webkit-keyframes antRotate {
  134. to {
  135. -webkit-transform: rotate(405deg);
  136. transform: rotate(405deg);
  137. }
  138. }
  139. @keyframes antSpinMove {
  140. to {
  141. opacity: 1;
  142. }
  143. }
  144. @-webkit-keyframes antSpinMove {
  145. to {
  146. opacity: 1;
  147. }
  148. }
  149. #cssLoader1.main-wrap .child-common {
  150. width: 8px;
  151. height: 50px;
  152. margin-right: 5px;
  153. /* margin-right: 3px; */
  154. background-color: #3df7ff;
  155. -webkit-animation: animate1 1s infinite;
  156. animation: animate1 1s infinite;
  157. float: left;
  158. }
  159. #cssLoader1.main-wrap .child1 {
  160. margin-right: 5px;
  161. }
  162. #cssLoader1.main-wrap .child10 {
  163. -webkit-animation-delay: 0.9s;
  164. animation-delay: 0.9s;
  165. }
  166. #cssLoader1.main-wrap .child9 {
  167. -webkit-animation-delay: 0.8s;
  168. animation-delay: 0.8s;
  169. }
  170. #cssLoader1.main-wrap .child8 {
  171. -webkit-animation-delay: 0.7s;
  172. animation-delay: 0.7s;
  173. }
  174. #cssLoader1.main-wrap .child7 {
  175. -webkit-animation-delay: 0.6s;
  176. animation-delay: 0.6s;
  177. }
  178. #cssLoader1.main-wrap .child6 {
  179. -webkit-animation-delay: 0.5s;
  180. animation-delay: 0.5s;
  181. }
  182. #cssLoader1.main-wrap .child5 {
  183. -webkit-animation-delay: 0.4s;
  184. animation-delay: 0.4s;
  185. }
  186. #cssLoader1.main-wrap .child4 {
  187. -webkit-animation-delay: 0.3s;
  188. animation-delay: 0.3s;
  189. }
  190. #cssLoader1.main-wrap .child3 {
  191. -webkit-animation-delay: 0.2s;
  192. animation-delay: 0.2s;
  193. }
  194. #cssLoader1.main-wrap .child2 {
  195. -webkit-animation-delay: 0.1s;
  196. animation-delay: 0.1s;
  197. }
  198. @-webkit-keyframes animate1 {
  199. 50% {
  200. -ms-transform: scaleY(0);
  201. -webkit-transform: scaleY(0);
  202. transform: scaleY(0);
  203. }
  204. }
  205. @keyframes animate1 {
  206. 50% {
  207. -ms-transform: scaleY(0);
  208. -webkit-transform: scaleY(0);
  209. transform: scaleY(0);
  210. }
  211. }
  212. /*loader1 css ends*/
  213. cssLoader17 {
  214. position: relative;
  215. width: 2.5em;
  216. height: 2.5em;
  217. transform: rotate(165deg);
  218. }
  219. .cssLoader17:before,
  220. .cssLoader17:after {
  221. content: '';
  222. position: absolute;
  223. top: 50%;
  224. left: 50%;
  225. display: block;
  226. width: 0.5em;
  227. height: 0.5em;
  228. border-radius: 0.25em;
  229. transform: translate(-50%, -50%);
  230. }
  231. .cssLoader17:before {
  232. animation: before 2s infinite;
  233. }
  234. .cssLoader17:after {
  235. animation: after 2s infinite;
  236. }
  237. @keyframes before {
  238. 0% {
  239. width: 0.5em;
  240. box-shadow: 1em -0.5em rgba(225, 20, 98, 0.75), -1em 0.5em rgba(111, 202, 220, 0.75);
  241. }
  242. 35% {
  243. width: 2.5em;
  244. box-shadow: 0 -0.5em rgba(225, 20, 98, 0.75), 0 0.5em rgba(111, 202, 220, 0.75);
  245. }
  246. 70% {
  247. width: 0.5em;
  248. box-shadow: -1em -0.5em rgba(225, 20, 98, 0.75), 1em 0.5em rgba(111, 202, 220, 0.75);
  249. }
  250. 100% {
  251. box-shadow: 1em -0.5em rgba(225, 20, 98, 0.75), -1em 0.5em rgba(111, 202, 220, 0.75);
  252. }
  253. }
  254. @keyframes after {
  255. 0% {
  256. height: 0.5em;
  257. box-shadow: 0.5em 1em rgba(61, 184, 143, 0.75), -0.5em -1em rgba(233, 169, 32, 0.75);
  258. }
  259. 35% {
  260. height: 2.5em;
  261. box-shadow: 0.5em 0 rgba(61, 184, 143, 0.75), -0.5em 0 rgba(233, 169, 32, 0.75);
  262. }
  263. 70% {
  264. height: 0.5em;
  265. box-shadow: 0.5em -1em rgba(61, 184, 143, 0.75), -0.5em 1em rgba(233, 169, 32, 0.75);
  266. }
  267. 100% {
  268. box-shadow: 0.5em 1em rgba(61, 184, 143, 0.75), -0.5em -1em rgba(233, 169, 32, 0.75);
  269. }
  270. }
  271. </style>
  272. <div class="app-loading">
  273. <div class="app-loading-wrap">
  274. <!-- <img src="/resource/img/logo.png" class="app-loading-logo" alt="Logo" /> -->
  275. <!-- <div class="app-loading-dots">
  276. <span class="dot dot-spin"><i></i><i></i><i></i><i></i></span>
  277. </div> -->
  278. <div id="cssLoader1" class="main-wrap">
  279. <div class="child-common child1"></div>
  280. <div class="child-common child2"></div>
  281. <div class="child-common child3"></div>
  282. <div class="child-common child4"></div>
  283. <div class="child-common child5"></div>
  284. <div class="child-common child6"></div>
  285. <div class="child-common child7"></div>
  286. <div class="child-common child8"></div>
  287. <div class="child-common child9"></div>
  288. <div class="child-common child10"></div>
  289. </div>
  290. <div class="app-loading-title"><%= title %></div>
  291. </div>
  292. </div>
  293. </div>
  294. <script type="module" src="/src/main.ts"></script>
  295. <!-- <script type="module" src="/src/utils/threejs/main.worker.ts"></script> -->
  296. </body>
  297. </html>