instrument.html 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <script type="module" crossorigin src="./js/polyfills-5546505b.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>酷乐秀</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") && !location.href.includes('isHideLoading=true')) {
  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-9c068536.js"></script>
  42. <link rel="stylesheet" href="./css/instrument-f8ff6f88.css">
  43. <script type="module">import.meta.url;import("_").catch(()=>1);async function* g(){};window.__vite_is_modern_browser=true;</script>
  44. <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>
  45. </head>
  46. <body>
  47. <div id="app"></div>
  48. <!-- <img id="loading" class="show" src="/loading.svg" alt="loading" /> -->
  49. <!-- <script>
  50. // 处理课堂乐器老师端打开听音练习时去掉加载动画
  51. if (location.href.indexOf('view-figner') >= 0 && location.href.indexOf('platform=pc') >= 0 && location.href.indexOf('linkSource=class') < 0 && !location.href.includes("simple-detail")) {
  52. var _loading = document.getElementById("loading");
  53. _loading && document.body.removeChild(_loading);
  54. }
  55. </script> -->
  56. <!-- <script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>
  57. <script>
  58. // VConsole will be exported to `window.VConsole` by default.
  59. var vConsole = new window.VConsole();
  60. </script> -->
  61. <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>
  62. <script nomodule crossorigin id="vite-legacy-polyfill" src="./js/polyfills-legacy-7ea27e1e.js"></script>
  63. <script nomodule crossorigin id="vite-legacy-entry" data-src="./js/instrument-legacy-f808dbc5.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
  64. </body>
  65. </html>