index.html 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <link rel="icon" href="/favicon.ico?v=1" />
  6. <meta name="viewport"
  7. content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover">
  8. <meta http-equiv="Cache-control" content="no-cache">
  9. <meta http-equiv="Cache" content="no-cache">
  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. <meta name="referrer" content="no-referrer" />
  37. <title>音乐数字课堂</title>
  38. <script src="/jweixin-1.3.2.js"></script>
  39. <script src="/flexible.js" charset="UTF-8"></script>
  40. </head>
  41. <body>
  42. <div id="app"></div>
  43. <script type="module" src="/src/main.ts"></script>
  44. <script type="text/javascript">
  45. // var url = window.location.origin + '/_AMapService'
  46. window._AMapSecurityConfig = {
  47. serviceHost: 'https://online.dayaedu.com/_AMapService'
  48. }
  49. // window._AMapSecurityConfig = {
  50. // serviceHost: 'http://192.168.3.120:8001/_AMapService',
  51. // // 例如 :serviceHost:'http://1.1.1.1:80/_AMapService',
  52. // }
  53. </script>
  54. </body>
  55. </html>