colexiu.html 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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>小酷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="./assets/colexiu-c6efcba3.js"></script>
  41. <link rel="modulepreload" crossorigin href="./assets/index-369af630.js">
  42. <link rel="modulepreload" crossorigin href="./assets/index-619637fd.js">
  43. <link rel="modulepreload" crossorigin href="./assets/vue3-lottie.es-65ac3410.js">
  44. <link rel="modulepreload" crossorigin href="./assets/index-390e626a.js">
  45. <link rel="stylesheet" href="./assets/index-5bc23bc5.css">
  46. <link rel="stylesheet" href="./assets/index-d42b0794.css">
  47. <link rel="stylesheet" href="./assets/colexiu-4a62fa3a.css">
  48. <script type="module">import.meta.url;import("_").catch(()=>1);async function* g(){};window.__vite_is_modern_browser=true;</script>
  49. <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>
  50. </head>
  51. <body>
  52. <div id="app"></div>
  53. <img id="loading" class="show" src="./loading.svg" alt="loading" />
  54. <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>
  55. <script nomodule crossorigin id="vite-legacy-polyfill" src="./assets/polyfills-legacy-3f8c006a.js"></script>
  56. <script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/colexiu-legacy-5e71ad08.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
  57. </body>
  58. </html>