index.html 10 KB

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