orchestra.html 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <script type="module" crossorigin src="./js/polyfills-e26b5460.js"></script>
  5. <meta charset="UTF-8" />
  6. <!-- <link rel="icon" type="image/svg+xml" href="/vite.svg" /> -->
  7. <meta name="viewport"
  8. content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover" />
  9. <title>管乐团云练习</title>
  10. <script>
  11. function _postMessage(data, callback) {
  12. const instance = window.ORCHESTRA || (window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.ORCHESTRA)
  13. if (instance) {
  14. console.log('h5发送开启全屏loading')
  15. instance.postMessage(JSON.stringify(data))
  16. }
  17. }
  18. _postMessage({
  19. api: 'cloudLoading',
  20. content: {
  21. show: true,
  22. type: 'fullscreen',
  23. },
  24. })
  25. </script>
  26. <!-- <link rel="icon" href="/favicon.ico" /> -->
  27. <script src="./flexible.js" charset="UTF-8"></script>
  28. <script src="./helpers/lottie.min.js" charset="UTF-8"></script>
  29. <style>
  30. #loading {
  31. position: fixed;
  32. z-index: 100;
  33. top: 50%;
  34. left: 50%;
  35. width: 100Px;
  36. height: 100Px;
  37. transform: translate(-50%, -50%);
  38. pointer-events: none;
  39. transition: opacity .3s;
  40. }
  41. </style>
  42. <script type="module" crossorigin src="./js/orchestra-94aae999.js"></script>
  43. <link rel="modulepreload" crossorigin href="./js/index-55077c86.js">
  44. <link rel="modulepreload" crossorigin href="./js/index-4e527f52.js">
  45. <link rel="modulepreload" crossorigin href="./js/index-d65a5a33.js">
  46. <link rel="modulepreload" crossorigin href="./js/index-36dd4a84.js">
  47. <link rel="modulepreload" crossorigin href="./js/index-52ff60c8.js">
  48. <link rel="stylesheet" href="./css/index-52f81eaa.css">
  49. <link rel="stylesheet" href="./css/index-85f95688.css">
  50. <link rel="stylesheet" href="./css/orchestra-8bc1a9c0.css">
  51. <script type="module">import.meta.url;import("_").catch(()=>1);async function* g(){};window.__vite_is_modern_browser=true;</script>
  52. <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>
  53. </head>
  54. <body>
  55. <div id="app"></div>
  56. <div id="loading"></div>
  57. <script>
  58. lottie.loadAnimation({
  59. container: document.getElementById('loading'),
  60. renderer: 'svg',
  61. width: '30px',
  62. height: '30px',
  63. loop: true,
  64. autoplay: true,
  65. path: './loading.json'
  66. });
  67. </script>
  68. <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>
  69. <script nomodule crossorigin id="vite-legacy-polyfill" src="./js/polyfills-legacy-1067395b.js"></script>
  70. <script nomodule crossorigin id="vite-legacy-entry" data-src="./js/orchestra-legacy-fb6c02ab.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
  71. </body>
  72. </html>