instrument.html 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <script type="module" crossorigin src="./js/polyfills-0de28a55.js"></script>
  5. <meta charset="UTF-8" />
  6. <meta name="viewport"
  7. content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover" />
  8. <title>AI学练</title>
  9. <link rel="icon" href="./favicon.ico?v=1" />
  10. <script src="./flexible.js" charset="UTF-8"></script>
  11. <style>
  12. #loading {
  13. position: fixed;
  14. left: 50%;
  15. top: 50%;
  16. transform: translate(-50%, -50%);
  17. display: none;
  18. }
  19. #loading.show {
  20. display: block;
  21. }
  22. </style>
  23. <script>
  24. function _postMessage(data, callback) {
  25. const instance = window.COLEXIU || (window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.COLEXIU)
  26. if (instance) {
  27. instance.postMessage(JSON.stringify(data))
  28. }
  29. }
  30. // APP的全屏loading动画
  31. if (!location.href.includes('iscurseplay=play') && !location.href.includes('isPreView=true') && !location.href.includes("simple-detail")) {
  32. _postMessage({
  33. api: 'cloudLoading',
  34. content: {
  35. show: true,
  36. type: 'fullscreen',
  37. },
  38. })
  39. }
  40. </script>
  41. <script type="module" crossorigin src="./js/instrument-648873cf.js"></script>
  42. <link rel="modulepreload" crossorigin href="./js/index-efe400a0.js">
  43. <link rel="stylesheet" href="./css/index-52f81eaa.css">
  44. <link rel="stylesheet" href="./css/instrument-118f68d3.css">
  45. <script type="module">import.meta.url;import("_").catch(()=>1);async function* g(){};window.__vite_is_modern_browser=true;</script>
  46. <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>
  47. </head>
  48. <body>
  49. <div id="app"></div>
  50. <!-- <img id="loading" class="show" src="/loading.svg" alt="loading" /> -->
  51. <!-- <script>
  52. // 处理课堂乐器老师端打开听音练习时去掉加载动画
  53. if (location.href.indexOf('view-figner') >= 0 && location.href.indexOf('platform=pc') >= 0 && location.href.indexOf('linkSource=class') < 0 && !location.href.includes("simple-detail")) {
  54. var _loading = document.getElementById("loading");
  55. _loading && document.body.removeChild(_loading);
  56. }
  57. </script> -->
  58. <!-- <script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>
  59. <script>
  60. // VConsole will be exported to `window.VConsole` by default.
  61. var vConsole = new window.VConsole();
  62. </script> -->
  63. <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>
  64. <script nomodule crossorigin id="vite-legacy-polyfill" src="./js/polyfills-legacy-9145ce0f.js"></script>
  65. <script nomodule crossorigin id="vite-legacy-entry" data-src="./js/instrument-legacy-04d12a6e.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
  66. </body>
  67. </html>