colexiu-report.html 5.8 KB

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