index.html 9.2 KB

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