instrument.html 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <script type="module" crossorigin src="./assets/polyfills-66a69750.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. console.info(location.href)
  31. if (!location.href.includes('iscurseplay=play')) {
  32. _postMessage({
  33. api: 'cloudLoading',
  34. content: {
  35. show: true,
  36. type: 'fullscreen',
  37. },
  38. })
  39. }
  40. </script>
  41. <script type="module" crossorigin src="./assets/instrument-93b17a51.js"></script>
  42. <link rel="modulepreload" crossorigin href="./assets/index-369af630.js">
  43. <link rel="modulepreload" crossorigin href="./assets/vue3-lottie.es-65ac3410.js">
  44. <link rel="modulepreload" crossorigin href="./assets/index-619637fd.js">
  45. <link rel="modulepreload" crossorigin href="./assets/instruments-f42bb069.js">
  46. <link rel="modulepreload" crossorigin href="./assets/index-631905e4.js">
  47. <link rel="stylesheet" href="./assets/index-5bc23bc5.css">
  48. <link rel="stylesheet" href="./assets/index-d42b0794.css">
  49. <link rel="stylesheet" href="./assets/instrument-9dc10c12.css">
  50. <script type="module">import.meta.url;import("_").catch(()=>1);async function* g(){};window.__vite_is_modern_browser=true;</script>
  51. <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>
  52. </head>
  53. <body>
  54. <div id="app"></div>
  55. <img id="loading" class="show" src="./loading.svg" alt="loading" />
  56. <script>
  57. // 处理课堂乐器老师端打开听音练习时去掉加载动画
  58. if (location.href.indexOf('view-figner') >= 0 && location.href.indexOf('platform=pc') >= 0) {
  59. var _loading = document.getElementById("loading");
  60. _loading && document.body.removeChild(_loading);
  61. }
  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="./assets/polyfills-legacy-3f8c006a.js"></script>
  65. <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/instrument-legacy-5cc83ac2.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
  66. </body>
  67. </html>