colexiu-report.html 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. <!DOCTYPE html>
  2. <html lang="ZH-cn">
  3. <head>
  4. <meta charset="UTF-8">
  5. <link rel="icon" href="/orchestra-music-score/favicon.ico" />
  6. <meta name="description" content="酷乐秀APP,器乐学习的不二选择">
  7. <title>评测记录</title>
  8. <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
  9. <script src="/orchestra-music-score/helpers/lottie.min.js"></script>
  10. <link href="/orchestra-music-score/vant.css" rel="stylesheet">
  11. <script>
  12. this.globalThis || (this.globalThis = this)
  13. </script>
  14. <script>
  15. function getBroswer() {
  16. var Sys = {};
  17. var ua = navigator.userAgent.toLowerCase();
  18. var s;
  19. (s = ua.match(/edge\/([\d.]+)/)) ? Sys.edge = s[1] :
  20. (s = ua.match(/rv:([\d.]+)\) like gecko/)) ? Sys.ie = s[1] :
  21. (s = ua.match(/msie ([\d.]+)/)) ? Sys.ie = s[1] :
  22. (s = ua.match(/firefox\/([\d.]+)/)) ? Sys.firefox = s[1] :
  23. (s = ua.match(/chrome\/([\d.]+)/)) ? Sys.chrome = s[1] :
  24. (s = ua.match(/opera.([\d.]+)/)) ? Sys.opera = s[1] :
  25. (s = ua.match(/version\/([\d.]+).*safari/)) ? Sys.safari = s[1] : 0;
  26. if (Sys.edge) return { broswer: "Edge", version: Sys.edge };
  27. if (Sys.ie) return { broswer: "IE", version: Sys.ie };
  28. if (Sys.firefox) return { broswer: "Firefox", version: Sys.firefox };
  29. if (Sys.chrome) return { broswer: "Chrome", version: Sys.chrome };
  30. if (Sys.opera) return { broswer: "Opera", version: Sys.opera };
  31. if (Sys.safari) return { broswer: "Safari", version: Sys.safari };
  32. return { broswer: "", version: "0" };
  33. }
  34. var broswer = getBroswer();
  35. window.addEventListener('DOMContentLoaded', function () {
  36. if (broswer.broswer === 'Chrome' && parseFloat(broswer.version) <= 50) {
  37. document.getElementById('update').className = 'show'
  38. document.getElementById('loading').className = ''
  39. }
  40. })
  41. function _postMessage(data, callback) {
  42. const instance = window.ORCHESTRA || (window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.ORCHESTRA)
  43. if (instance) {
  44. const uuid = '' + Date.now() + Math.floor(Math.random() * 1000000)
  45. data.content = data.content ? { ...data.content, uuid } : { uuid }
  46. console.log('h5发送:', JSON.stringify(data))
  47. instance.postMessage(JSON.stringify(data))
  48. }
  49. }
  50. // 安卓的状态栏
  51. _postMessage({
  52. api: 'setStatusBarVisibility',
  53. content: {
  54. isVisibility: 0,
  55. },
  56. })
  57. _postMessage({
  58. api: 'setTitleBarVisibility',
  59. content: {
  60. status: 0,
  61. },
  62. })
  63. </script>
  64. <style>
  65. #lottieWebWrap{
  66. position: fixed;
  67. top: 0;
  68. left: 0;
  69. width: 100vw;
  70. height: 100vh;
  71. display: flex;
  72. justify-content: center;
  73. align-items: center;
  74. z-index: 100;
  75. pointer-events: none;
  76. transition: opacity .3s;
  77. }
  78. #lottieWeb {
  79. width: 100Px;
  80. height: 100Px;
  81. }
  82. </style>
  83. <script type="module" crossorigin src="/orchestra-music-score/assets/colexiu-report.0ce5b6d6.js"></script>
  84. <link rel="modulepreload" href="/orchestra-music-score/assets/App.ff7af9c5.js">
  85. <link rel="modulepreload" href="/orchestra-music-score/assets/lib-flexible.08f197e6.js">
  86. <link rel="modulepreload" href="/orchestra-music-score/assets/music.b35eb5be.js">
  87. <link rel="modulepreload" href="/orchestra-music-score/assets/arrow-left.8c8e43ad.js">
  88. <link rel="modulepreload" href="/orchestra-music-score/assets/index.ca561c9e.js">
  89. <link rel="modulepreload" href="/orchestra-music-score/assets/index.e30f9d51.js">
  90. <link rel="modulepreload" href="/orchestra-music-score/assets/state.c2100eaa.js">
  91. <link rel="stylesheet" href="/orchestra-music-score/assets/App.bb421443.css">
  92. <link rel="stylesheet" href="/orchestra-music-score/assets/index.34aba1e2.css">
  93. <link rel="stylesheet" href="/orchestra-music-score/assets/arrow-left.c6e43979.css">
  94. <link rel="stylesheet" href="/orchestra-music-score/assets/index.6e0505d3.css">
  95. <link rel="stylesheet" href="/orchestra-music-score/assets/colexiu-report.fdd70890.css">
  96. <script type="module">try{import("_").catch(()=>1);}catch(e){}window.__vite_is_dynamic_import_support=true;</script>
  97. <script type="module">!function(){if(window.__vite_is_dynamic_import_support)return;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>
  98. </head>
  99. <body>
  100. <div id="app"></div>
  101. <div id="lottieWebWrap">
  102. <div id="lottieWeb"></div>
  103. </div>
  104. <script>
  105. lottie.loadAnimation({
  106. container: document.getElementById('lottieWeb'),
  107. renderer: 'svg',
  108. width: '30px',
  109. height: '30px',
  110. loop: true,
  111. autoplay: true,
  112. path: '/orchestra-music-score/loading.json'
  113. });
  114. window.addEventListener('load', function () {
  115. const loadingEle = document.getElementById('lottieWebWrap')
  116. loadingEle.style.opacity = '0'
  117. setTimeout(() => {
  118. loadingEle.style.display = 'none'
  119. }, 1000)
  120. })
  121. </script>
  122. <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>
  123. <script nomodule id="vite-legacy-polyfill" src="/orchestra-music-score/assets/polyfills-legacy.e0323776.js"></script>
  124. <script nomodule id="vite-legacy-entry" data-src="/orchestra-music-score/assets/colexiu-report-legacy.3c2cc832.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
  125. </body>
  126. </html>