1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8" />
- <link rel="icon" href="/favicon.ico" />
- <meta name="Description" content="考试云平台 -- 由武汉启明泰和软件服务有限公司提供" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <title>网考学生端</title>
- <script>
- // 重命名 Electron 提供的 require 详细请参考:https://www.w3cschool.cn/electronmanual/electronmanual-electron-faq.html
- if (typeof require != "undefined") {
- window.nodeRequire = require;
- window.proceess = process;
- delete window.require;
- delete window.exports;
- delete window.module;
- delete window.process;
- }
- </script>
- <script src="https://static.geetest.com/static/tools/gt.js"></script>
- <style>
- #app-placeholder {
- position: absolute;
- top: 0;
- left: 0;
- }
- </style>
- </head>
- <body>
- <div id="app-placeholder">
- <div style="
- height: 120px;
- font-size: 40px;
- text-align: center;
- width: 100vw;
- ">
- 程序加载中...
- </div>
- <div class="js-close" style="display: none; justify-content: center; align-items: center;">
- 加载太慢?
- <button style="border: 1px solid; padding: 2px 4px; border-radius: 5px;">关闭</button>
- </div>
- <script>
- //加载超过30秒还没有加载完JS,就显示关闭按钮,可退出应用
- setTimeout(() => {
- const closeBtn = document.querySelector('#app-placeholder .js-close');
- if (closeBtn) {
- closeBtn.style.display = "flex";
- closeBtn.addEventListener('click', () => window.close());
- }
- }, 30 * 1000);
- </script>
- </div>
- <div id="app" onpaste="false" oncopy="false" oncut="false"></div>
- <!-- baidu tongji -->
- <script>
- var _hmt = _hmt || [];
- // TODO: 开发过程中注释掉
- (function () {
- var hm = document.createElement("script");
- hm.src = "https://hm.baidu.com/hm.js?d00b10467bcf422aeadda1f7074f32d3";
- var s = document.getElementsByTagName("script")[0];
- s.parentNode.insertBefore(hm, s);
- })();
- </script>
- <script type="module" src="/src/main.ts"></script>
- </body>
- </html>
|