index.html 9.1 KB

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