index.html 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <!DOCTYPE html>
  2. <html lang="ZH-cn">
  3. <head>
  4. <script type="module" crossorigin src="./assets/polyfills-66a69750.js"></script>
  5. <meta charset="UTF-8">
  6. <link rel="icon" href="./favicon.ico" />
  7. <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
  8. <meta http-equiv="Cache-control" content="no-cache">
  9. <meta http-equiv="Cache" content="no-cache">
  10. <title>云教练</title>
  11. <script src="./flexible.js" charset="UTF-8"></script>
  12. <style>
  13. #loading {
  14. position: fixed;
  15. left: 50%;
  16. top: 50%;
  17. transform: translate(-50%, -50%);
  18. display: none;
  19. }
  20. #loading.show {
  21. display: block;
  22. }
  23. #update {
  24. position: fixed;
  25. left: 50%;
  26. top: 50%;
  27. transform: translate(-50%, -50%);
  28. display: none;
  29. }
  30. #update.show {
  31. display: block;
  32. }
  33. #update img {
  34. display: block;
  35. width: 2rem;
  36. height: 2rem;
  37. margin: auto;
  38. }
  39. #update span {
  40. display: block;
  41. margin: auto;
  42. margin-top: 0.8rem;
  43. color: rgba(0, 0, 0, .65);
  44. line-height: 1.8;
  45. }
  46. </style>
  47. <script>
  48. window.postMessageInstance = window.ORCHESTRA || (window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.ORCHESTRA);
  49. if (window.navigator && navigator.serviceWorker) {
  50. navigator.serviceWorker.getRegistrations()
  51. .then(function (registrations) {
  52. for (let registration of registrations) {
  53. registration.unregister();
  54. }
  55. });
  56. }
  57. function getBroswer() {
  58. var Sys = {};
  59. var ua = navigator.userAgent.toLowerCase();
  60. var s = (s = ua.match(/chrome\/([\d.]+)/)) ? (s[1] && (Sys.chrome = s[1].split('.')[0])) : 0
  61. if (Sys.chrome) return { broswer: "Chrome", version: Sys.chrome };
  62. return { broswer: "", version: "0" };
  63. }
  64. var broswer = getBroswer();
  65. window.addEventListener('DOMContentLoaded', function () {
  66. if (broswer.broswer === 'Chrome' && parseFloat(broswer.version) <= 50) {
  67. document.getElementById('update').className = 'show'
  68. }
  69. })
  70. </script>
  71. <script type="module" crossorigin src="./assets/index-685ed049.js"></script>
  72. <link rel="modulepreload" crossorigin href="./assets/index-369af630.js">
  73. <link rel="modulepreload" crossorigin href="./assets/index-619637fd.js">
  74. <link rel="modulepreload" crossorigin href="./assets/instruments-f42bb069.js">
  75. <link rel="modulepreload" crossorigin href="./assets/index-b74ae1ac.js">
  76. <link rel="modulepreload" crossorigin href="./assets/index-390e626a.js">
  77. <link rel="modulepreload" crossorigin href="./assets/plyr.min-424cfb91.js">
  78. <link rel="stylesheet" href="./assets/index-5bc23bc5.css">
  79. <link rel="stylesheet" href="./assets/index-d42b0794.css">
  80. <link rel="stylesheet" href="./assets/index-85f95688.css">
  81. <link rel="stylesheet" href="./assets/plyr-ad8ef5ae.css">
  82. <link rel="stylesheet" href="./assets/index-6503f7bd.css">
  83. <script type="module">import.meta.url;import("_").catch(()=>1);async function* g(){};window.__vite_is_modern_browser=true;</script>
  84. <script type="module">!function(){if(window.__vite_is_modern_browser)return;console.warn("vite: loading legacy chunks, syntax error above and the same error below should be ignored");var e=document.getElementById("vite-legacy-polyfill"),n=document.createElement("script");n.src=e.src,n.onload=function(){System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))},document.body.appendChild(n)}();</script>
  85. </head>
  86. <body>
  87. <div id="app"></div>
  88. <div id="update">
  89. <img src="./update.png" />
  90. <span>您的系统当前版本过低,请及时前往系统设置进行升级。</span>
  91. </div>
  92. <img id="loading" class="show" src="./loading.svg" alt="loading" />
  93. <script nomodule>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",(function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()}),!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script>
  94. <script nomodule crossorigin id="vite-legacy-polyfill" src="./assets/polyfills-legacy-3f8c006a.js"></script>
  95. <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/index-legacy-206519c5.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
  96. </body>
  97. </html>