colexiu-report-share.html 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  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. <!-- <link rel="preconnect" href="https://fonts.loli.net"> -->
  10. <!-- <link href="https://fonts.loli.net/css2?family=Roboto:wght@700&display=swap" rel="stylesheet"> -->
  11. <script>
  12. this.globalThis || (this.globalThis = this)
  13. </script>
  14. <script type="text/javascript">document.write(unescape("%3Cspan id='cnzz_stat_icon_1279349593'%3E%3C/span%3E%3Cscript src='https://s9.cnzz.com/z_stat.php%3Fid%3D1279349593%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>
  15. <script type="text/javascript">
  16. // if (window.location.hostname !== 'mstuonline.dayaedu.com') {
  17. // document.write(unescape("%3Cscript%20src%3D%22https%3A//cdn.jsdelivr.net/npm/eruda@2.4.1/eruda.min.js%22%3E%3C/script%3E"))
  18. // }
  19. if (window._czc) {
  20. window._czc.push(["_setAutoPageView", false])
  21. }
  22. </script>
  23. <script>
  24. // if (window.location.hostname !== 'mstuonline.dayaedu.com') {
  25. // eruda.init()
  26. // }
  27. if(window.navigator && navigator.serviceWorker) {
  28. navigator.serviceWorker.getRegistrations()
  29. .then(function(registrations) {
  30. for(let registration of registrations) {
  31. registration.unregister();
  32. }
  33. });
  34. }
  35. function getBroswer(){
  36. var Sys = {};
  37. var ua = navigator.userAgent.toLowerCase();
  38. var s;
  39. (s = ua.match(/edge\/([\d.]+)/)) ? Sys.edge = s[1] :
  40. (s = ua.match(/rv:([\d.]+)\) like gecko/)) ? Sys.ie = s[1] :
  41. (s = ua.match(/msie ([\d.]+)/)) ? Sys.ie = s[1] :
  42. (s = ua.match(/firefox\/([\d.]+)/)) ? Sys.firefox = s[1] :
  43. (s = ua.match(/chrome\/([\d.]+)/)) ? Sys.chrome = s[1] :
  44. (s = ua.match(/opera.([\d.]+)/)) ? Sys.opera = s[1] :
  45. (s = ua.match(/version\/([\d.]+).*safari/)) ? Sys.safari = s[1] : 0;
  46. if (Sys.edge) return { broswer : "Edge", version : Sys.edge };
  47. if (Sys.ie) return { broswer : "IE", version : Sys.ie };
  48. if (Sys.firefox) return { broswer : "Firefox", version : Sys.firefox };
  49. if (Sys.chrome) return { broswer : "Chrome", version : Sys.chrome };
  50. if (Sys.opera) return { broswer : "Opera", version : Sys.opera };
  51. if (Sys.safari) return { broswer : "Safari", version : Sys.safari };
  52. return { broswer : "", version : "0" };
  53. }
  54. var broswer = getBroswer();
  55. window.addEventListener('DOMContentLoaded', function() {
  56. if (broswer.broswer === 'Chrome' && parseFloat(broswer.version) <= 50) {
  57. document.getElementById('update').className = 'show'
  58. document.getElementById('loading').className = ''
  59. }
  60. })
  61. // console.log("broswer:"+abc.broswer+" version:"+abc.version);
  62. </script>
  63. <title>酷乐秀学院</title>
  64. <style>
  65. #loading{
  66. position: fixed;
  67. left: 50%;
  68. top: 50%;
  69. transform: translate(-50%, -50%);
  70. visibility: hidden;
  71. opacity: 0;
  72. transition: opacity .3s;
  73. text-align: center;
  74. color: #1e293b;
  75. }
  76. #loading > div{
  77. display: none;
  78. font-size: 0.64rem;
  79. }
  80. #loading a{
  81. color: #01c1b5;
  82. text-decoration: none;
  83. }
  84. #loading.show {
  85. visibility: visible;
  86. opacity: 1;
  87. }
  88. #cnzz_stat_icon_1279349593{
  89. display: none;
  90. }
  91. #update{
  92. margin-top: 2.66667rem;
  93. opacity: 0;
  94. visibility: hidden;
  95. transform: opacity .3s;
  96. position: absolute;
  97. top: 0;
  98. left: 50%;
  99. transform: translateX(-50%);
  100. }
  101. #update.show{
  102. opacity: 1;
  103. visibility: visible;
  104. }
  105. #update img{
  106. display: block;
  107. margin: auto;
  108. width: 4rem;
  109. height: 4rem;
  110. }
  111. #update span{
  112. display: block;
  113. max-width: 90%;
  114. margin: auto;
  115. margin-top: 0.8rem;
  116. color: rgba(0, 0, 0, .65);
  117. line-height: 1.8;
  118. }
  119. </style>
  120. <script type="module" crossorigin src="/orchestra-music-score/assets/colexiu-report-share.524e9581.js"></script>
  121. <link rel="modulepreload" href="/orchestra-music-score/assets/App.948dcab3.js">
  122. <link rel="modulepreload" href="/orchestra-music-score/assets/lib-flexible.08f197e6.js">
  123. <link rel="modulepreload" href="/orchestra-music-score/assets/music.b35eb5be.js">
  124. <link rel="modulepreload" href="/orchestra-music-score/assets/arrow-left.0b8863bd.js">
  125. <link rel="modulepreload" href="/orchestra-music-score/assets/index.74ae2283.js">
  126. <link rel="modulepreload" href="/orchestra-music-score/assets/index.8c9e6646.js">
  127. <link rel="modulepreload" href="/orchestra-music-score/assets/state.135a4bdf.js">
  128. <link rel="modulepreload" href="/orchestra-music-score/assets/wx_bg.fc243df2.js">
  129. <link rel="stylesheet" href="/orchestra-music-score/assets/App.ea9326b4.css">
  130. <link rel="stylesheet" href="/orchestra-music-score/assets/arrow-left.c6e43979.css">
  131. <link rel="stylesheet" href="/orchestra-music-score/assets/index.6e0505d3.css">
  132. <link rel="stylesheet" href="/orchestra-music-score/assets/index.34aba1e2.css">
  133. <link rel="stylesheet" href="/orchestra-music-score/assets/colexiu-report-share.b2f28b0e.css">
  134. <link rel="stylesheet" href="/orchestra-music-score/assets/index.fe7dacd8.css">
  135. <script type="module">try{import("_").catch(()=>1);}catch(e){}window.__vite_is_dynamic_import_support=true;</script>
  136. <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>
  137. </head>
  138. <body>
  139. <div id="app"></div>
  140. <div id="loading" class="show">
  141. <img src="/orchestra-music-score/loading.svg" alt="loading"/>
  142. <div>请求时间过长,请检查网络环境 <a href="javascript:;" onclick="_back()">点击返回</a></div>
  143. </div>
  144. <script>
  145. const _onlyPostmessage = (function () {
  146. 'use strict';
  147. const getRandomKey = () => {
  148. return '' + new Date().getTime() + Math.floor(Math.random() * 1000000);
  149. };
  150. /**
  151. * @param instanceKey 实例函数key
  152. */
  153. var onlyPostmessage = (instanceKey) => {
  154. var _a, _b;
  155. const win = window;
  156. win.originalPostMessage = win.originalPostMessage || window.postMessage;
  157. const instance = win[instanceKey] || ((_b = (_a = win.webkit) === null || _a === void 0 ? void 0 : _a.messageHandlers) === null || _b === void 0 ? void 0 : _b[instanceKey]);
  158. return function (data) {
  159. if (instance) {
  160. const uuid = getRandomKey();
  161. data.content = data.content ? Object.assign(Object.assign({}, data.content), { uuid }) : { uuid };
  162. instance.postMessage(JSON.stringify(data));
  163. console.log('send:', JSON.stringify(data));
  164. }
  165. };
  166. };
  167. return onlyPostmessage;
  168. })();
  169. window._setupMessage = _onlyPostmessage('COLEXIU');
  170. ;(function() {
  171. try {
  172. setTimeout(() => {
  173. var tips = document.querySelector('#loading div')
  174. if (tips) {
  175. tips.style.display = 'block'
  176. }
  177. }, 10 * 1000)
  178. } catch (error) {}
  179. })()
  180. function _back() {
  181. window._setupMessage({
  182. api: 'back',
  183. })
  184. }
  185. </script>
  186. <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>
  187. <script nomodule id="vite-legacy-polyfill" src="/orchestra-music-score/assets/polyfills-legacy.e0323776.js"></script>
  188. <script nomodule id="vite-legacy-entry" data-src="/orchestra-music-score/assets/colexiu-report-share-legacy.c2fce627.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>
  189. </body>
  190. </html>