orchestra.html 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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. <!-- <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="./assets/orchestra-0e9ef479.js"></script>
  43. <link rel="modulepreload" crossorigin href="./assets/index-369af630.js">
  44. <link rel="modulepreload" crossorigin href="./assets/index-619637fd.js">
  45. <link rel="modulepreload" crossorigin href="./assets/vue3-lottie.es-65ac3410.js">
  46. <link rel="modulepreload" crossorigin href="./assets/index-b74ae1ac.js">
  47. <link rel="modulepreload" crossorigin href="./assets/index-390e626a.js">
  48. <link rel="modulepreload" crossorigin href="./assets/index-631905e4.js">
  49. <link rel="stylesheet" href="./assets/index-5bc23bc5.css">
  50. <link rel="stylesheet" href="./assets/index-d42b0794.css">
  51. <link rel="stylesheet" href="./assets/index-85f95688.css">
  52. <link rel="stylesheet" href="./assets/orchestra-a4d083a1.css">
  53. <script type="module">import.meta.url;import("_").catch(()=>1);async function* g(){};window.__vite_is_modern_browser=true;</script>
  54. <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>
  55. </head>
  56. <body>
  57. <div id="app"></div>
  58. <div id="loading"></div>
  59. <script>
  60. lottie.loadAnimation({
  61. container: document.getElementById('loading'),
  62. renderer: 'svg',
  63. width: '30px',
  64. height: '30px',
  65. loop: true,
  66. autoplay: true,
  67. path: './loading.json'
  68. });
  69. </script>
  70. <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>
  71. <script nomodule crossorigin id="vite-legacy-polyfill" src="./assets/polyfills-legacy-3f8c006a.js"></script>
  72. <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/orchestra-legacy-97b5e929.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
  73. </body>
  74. </html>