colexiu.html 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. <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>小酷AI</title>
  10. <link rel="icon" href="./favicon.ico" />
  11. <script src="./flexible.js" charset="UTF-8"></script>
  12. <style>
  13. #loading {
  14. position: fixed;
  15. left: 50%;
  16. top: 50%;
  17. transform: translate(-50%, -50%);
  18. display: none;
  19. }
  20. #loading.show {
  21. display: block;
  22. }
  23. </style>
  24. <script>
  25. function _postMessage(data, callback) {
  26. const instance = window.COLEXIU || (window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.COLEXIU)
  27. if (instance) {
  28. console.log('h5发送开启全屏loading')
  29. instance.postMessage(JSON.stringify(data))
  30. }
  31. }
  32. _postMessage({
  33. api: 'cloudLoading',
  34. content: {
  35. show: true,
  36. type: 'fullscreen',
  37. },
  38. })
  39. </script>
  40. <script type="module" crossorigin src="./js/colexiu-4c65718c.js"></script>
  41. <link rel="modulepreload" crossorigin href="./js/index-efe400a0.js">
  42. <link rel="modulepreload" crossorigin href="./js/index-ba3dbe61.js">
  43. <link rel="modulepreload" crossorigin href="./js/index-60ea108e.js">
  44. <link rel="modulepreload" crossorigin href="./js/index-5c47aa74.js">
  45. <link rel="stylesheet" href="./css/index-52f81eaa.css">
  46. <link rel="stylesheet" href="./css/colexiu-62f31c4f.css">
  47. <script type="module">import.meta.url;import("_").catch(()=>1);async function* g(){};window.__vite_is_modern_browser=true;</script>
  48. <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>
  49. </head>
  50. <body>
  51. <div id="app"></div>
  52. <img id="loading" class="show" src="./loading.svg" alt="loading" />
  53. <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>
  54. <script nomodule crossorigin id="vite-legacy-polyfill" src="./js/polyfills-legacy-9145ce0f.js"></script>
  55. <script nomodule crossorigin id="vite-legacy-entry" data-src="./js/colexiu-legacy-7e95e064.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
  56. </body>
  57. </html>