index.html 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <!DOCTYPE html>
  2. <html lang="zh">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <link rel="icon" href="./favicon.ico" />
  6. <meta
  7. name="viewport"
  8. content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover"
  9. />
  10. <meta name="apple-mobile-web-app-capable" content="yes" />
  11. <!-- 设置苹果工具栏颜色 -->
  12. <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  13. <!-- 忽略页面中的数字识别为电话,忽略email识别 -->
  14. <meta name="format-detection" content="telphone=no, email=no" />
  15. <!-- 启用360浏览器的极速模式(webkit) -->
  16. <meta name="renderer" content="webkit" />
  17. <!-- 避免IE使用兼容模式 -->
  18. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  19. <meta name="HandheldFriendly" content="true" />
  20. <!-- uc强制竖屏 -->
  21. <meta name="screen-orientation" content="portrait" />
  22. <!-- QQ强制竖屏 -->
  23. <meta name="x5-orientation" content="portrait" />
  24. <!-- UC强制全屏 -->
  25. <meta name="full-screen" content="yes" />
  26. <!-- QQ强制全屏 -->
  27. <meta name="x5-fullscreen" content="true" />
  28. <!-- UC应用模式 -->
  29. <meta name="browsermode" content="application" />
  30. <!-- QQ应用模式 -->
  31. <meta name="x5-page-mode" content="app" />
  32. <!-- 设置在apple上以应用模式启动时,是否全屏 -->
  33. <meta name="apple-touch-fullscreen" content="yes" />
  34. <!-- windows phone 点击无高光 -->
  35. <meta name="msapplication-tap-highlight" content="no" />
  36. <title>酷乐秀</title>
  37. <script>
  38. if(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i.test(navigator.userAgent) || window.innerWidth < 1000){
  39. if (/(localhost|192)/ig.test(location.origin)) {
  40. location.href = 'https://dev.colexiu.com/mobile'
  41. } else {
  42. location.href = location.origin + '/mobile'
  43. }
  44. }
  45. </script>
  46. <script type="module" crossorigin src="./assets/index.a559d154.js"></script>
  47. <link rel="modulepreload" href="./assets/vendor.af53403a.js">
  48. <link rel="stylesheet" href="./assets/index.f760cddd.css">
  49. <script type="module">!function(){try{new Function("m","return import(m)")}catch(o){console.warn("vite: loading legacy build because dynamic import is unsupported, syntax error above 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. <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 id="vite-legacy-polyfill" src="./assets/polyfills-legacy.1241678d.js"></script>
  55. <script nomodule id="vite-legacy-entry" data-src="./assets/index-legacy.ae6b81dc.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
  56. </body>
  57. </html>