| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260 | 
							- <!DOCTYPE html>
 
- <html lang="zh-CN">
 
- <head>
 
-   <meta charset="UTF-8" />
 
-   <link rel="icon" href="/favicon.ico" />
 
-   <meta name="viewport"
 
-     content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover">
 
-   <meta http-equiv="Cache-control" content="no-cache">
 
-   <meta http-equiv="Cache" content="no-cache">
 
-   <meta name="apple-mobile-web-app-capable" content="yes" />
 
-   <!-- 设置苹果工具栏颜色 -->
 
-   <meta name="apple-mobile-web-app-status-bar-style" content="black" />
 
-   <!-- 忽略页面中的数字识别为电话,忽略email识别 -->
 
-   <meta name="format-detection" content="telphone=no, email=no" />
 
-   <!-- 启用360浏览器的极速模式(webkit) -->
 
-   <meta name="renderer" content="webkit" />
 
-   <!-- 避免IE使用兼容模式 -->
 
-   <meta http-equiv="X-UA-Compatible" content="IE=edge" />
 
-   <meta name="HandheldFriendly" content="true" />
 
-   <!-- 设置在apple上以应用模式启动时,是否全屏 -->
 
-   <meta name="apple-touch-fullscreen" content="yes" />
 
-   <!-- windows phone 点击无高光 -->
 
-   <meta name="msapplication-tap-highlight" content="no" />
 
-   <meta name="referrer" content="no-referrer" />
 
-   <title>音乐数字课堂</title>
 
-   <style>
 
-     body {
 
-       background: #f1f5ff;
 
-       width: 100%;
 
-     }
 
-     .bgImg {
 
-       width: 456px;
 
-       height: 522px;
 
-     }
 
-     .btnImg {
 
-       width: 288px;
 
-       position: absolute;
 
-       left: 50%;
 
-       margin-left: -144px;
 
-       bottom: 31px;
 
-       cursor: pointer;
 
-       z-index: 100;
 
-     }
 
-     .imgWrap {
 
-       width: 456px;
 
-       height: 522px;
 
-       margin: 140px auto 0;
 
-       position: relative;
 
-       z-index: 100;
 
-     }
 
-     /* margin-top: 300px; */
 
-     .textWrap {
 
-       margin-top: 140px;
 
-       text-align: center;
 
-       width: 500px;
 
-       position: absolute;
 
-       top: 141px;
 
-       left: 50%;
 
-       margin-left: -288px;
 
-     }
 
-     .subMsg {
 
-       margin-top: 32px;
 
-       font-size: 22px;
 
-       line-height: 30px;
 
-       color: #777;
 
-     }
 
-     .subBtn {
 
-       width: 231px;
 
-       height: 62px;
 
-       background: #198CFE;
 
-       border-radius: 18px;
 
-       border: none;
 
-       font-size: 22px;
 
-       font-weight: 600;
 
-       color: #FFFFFF;
 
-       line-height: 30px;
 
-       cursor: pointer;
 
-       margin-top: 32px;
 
-       list-style: none outside none;
 
-       text-decoration: none;
 
-     }
 
-   </style>
 
-   <script type="text/javascript">
 
-     function gotoLinlk() {
 
-       console.log('点击')
 
-       var agent = navigator.userAgent.toLowerCase();
 
-       var isMac = function () { return /macintosh|mac os x/i.test(navigator.userAgent); }();
 
-       if (agent.indexOf("win32") >= 0 || agent.indexOf("wow32") >= 0) {
 
-         window.open('https://appstore.ks3-cn-beijing.ksyuncs.com/ChromeStandaloneSetup32.exe');
 
-       }
 
-       if (agent.indexOf("win64") >= 0 || agent.indexOf("wow64") >= 0) {
 
-         window.open('https://appstore.ks3-cn-beijing.ksyuncs.com/ChromeStandaloneSetup64.exe');
 
-       }
 
-       if (isMac) {
 
-         window.open('https://appstore.ks3-cn-beijing.ksyuncs.com/googlechrome-mac.dmg');
 
-       }
 
-     }
 
-     const check360 = () => {
 
-       console.log(navigator)
 
-       const result = false;
 
-       for (const key in navigator.plugins) {
 
-         // np-mswmp.dll只在360浏览器下存在
 
-         // if (navigator.plugins[key].filename == 'internal-nacl-plugin') {
 
-         //   console.log('来到插件')
 
-         //   return !result;
 
-         // }
 
-         if (navigator.plugins[key].filename == 'np-mswmp.dll') {
 
-           console.log('来到插件')
 
-           return !result;
 
-         }
 
-       }
 
-       return result;
 
-     };
 
-     function getChromeVersion() {
 
-       var arr = navigator.userAgent.split(' ');
 
-       var chromeVersion = '';
 
-       for (var i = 0; i < arr.length; i++) {
 
-         if (/chrome/i.test(arr[i])) chromeVersion = arr[i];
 
-       }
 
-       if (chromeVersion) {
 
-         return Number(chromeVersion.split('/')[1].split('.')[0]);
 
-       } else {
 
-         return false;
 
-       }
 
-     };
 
-     function IsFF() {
 
-       var sAgent = window.navigator.userAgent.toLowerCase();
 
-       if (sAgent.indexOf("firefox") != -1) {
 
-         return true;
 
-       }
 
-       return false;
 
-     }
 
-     const isChrome = () => {
 
-       const isChromium = window.chrome,
 
-         winNav = window.navigator,
 
-         vendorName = winNav.vendor,
 
-         isOpera = winNav.userAgent.indexOf('OPR') > -1,
 
-         isIEedge = winNav.userAgent.indexOf('Edge') > -1,
 
-         isIOSChrome = winNav.userAgent.match('CriOS'),
 
-         // QQ
 
-         isQQBriwser =
 
-           winNav.userAgent.indexOf('QQBrowser') > -1 ||
 
-           winNav.userAgent.indexOf('QQ') > -1,
 
-         // 搜狗
 
-         isSouggou =
 
-           winNav.userAgent.indexOf('se 2.x') > -1 ||
 
-           winNav.userAgent.indexOf('MetaSr') > -1,
 
-         // 360
 
-         is360 = check360(),
 
-         // 遨游
 
-         isMaxthon = winNav.userAgent.indexOf('Maxthon') > -1,
 
-         // 是否为2345浏览器
 
-         is2345Explorer = winNav.userAgent.includes('2345Explorer'),
 
-         // 世界之窗
 
-         isTheWorld = winNav.userAgent.indexOf('TheWorld') > -1,
 
-         // 猎豹
 
-         isLiebao = winNav.userAgent.indexOf('LBBROWSER') > -1;
 
-       console.log(winNav.userAgent)
 
-       console.log(isQQBriwser, isSouggou, is360, isMaxthon, is2345Explorer, isTheWorld, isLiebao)
 
-       if (isIOSChrome) {
 
-         return true;
 
-       } else if (
 
-         isChromium !== null &&
 
-         typeof isChromium !== 'undefined' &&
 
-         vendorName === 'Google Inc.' &&
 
-         isOpera === false &&
 
-         isIEedge === false &&
 
-         isQQBriwser === false &&
 
-         isSouggou === false &&
 
-         is360 === false &&
 
-         isMaxthon === false &&
 
-         is2345Explorer === false &&
 
-         isTheWorld === false &&
 
-         isLiebao === false
 
-       ) {
 
-         return true;
 
-       } else {
 
-         return false;
 
-       }
 
-     };
 
-     function IEVersion() {
 
-       var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
 
-       var isIE = userAgent.indexOf("compatible") > -1 && userAgent.indexOf("MSIE") > -1; //判断是否IE<11浏览器
 
-       var isEdge = userAgent.indexOf("Edge") > -1 && !isIE; //判断是否IE的Edge浏览器
 
-       var isIE11 = userAgent.indexOf('Trident') > -1 && userAgent.indexOf("rv:11.0") > -1;
 
-       if (isIE) {
 
-         var reIE = new RegExp("MSIE (\\d+\\.\\d+);");
 
-         reIE.test(userAgent);
 
-         var fIEVersion = parseFloat(RegExp["$1"]);
 
-         if (fIEVersion == 7) {
 
-           return 7;
 
-         } else if (fIEVersion == 8) {
 
-           return 8;
 
-         } else if (fIEVersion == 9) {
 
-           return 9;
 
-         } else if (fIEVersion == 10) {
 
-           return 10;
 
-         } else {
 
-           return 6;//IE版本<=7
 
-         }
 
-       } else if (isEdge) {
 
-         return 'edge';//edge
 
-       } else if (isIE11) {
 
-         return 11; //IE11
 
-       } else {
 
-         return -1;//不是ie浏览器
 
-       }
 
-     }
 
-     (function (window) {
 
-       if (!isChrome()) {
 
-         // document.writeln("<div class='imgWrap'><img src='https://gyt.ks3-cn-beijing.ksyuncs.com/basic/1688699993534.png' class='bgImg' alt=''><img src='https://gyt.ks3-cn-beijing.ksyuncs.com/basic/1688699779209.png' class='btnImg' alt=''></div>");
 
-         if (IEVersion() < 9 && IEVersion() != -1) {
 
-           document.writeln(" <div class='textWrap'><h1>当前浏览器版本过低</h1><p class='subMsg'>为了保证良好的上课体验,推荐您使用谷歌浏览器</p> <button class='subBtn' onclick='gotoLinlk()'>下载谷歌浏览器</button>");
 
-           document.execCommand("Stop");
 
-         } else {
 
-           document.writeln(" <div class='imgWrap'><img onabort='this.src=this.src' src='https://gyt.ks3-cn-beijing.ksyuncs.com/basic/1688699993534.png' class='bgImg' alt=''><img src='https://gyt.ks3-cn-beijing.ksyuncs.com/basic/1688699779209.png'  onabort='this.src=this.src' onclick='gotoLinlk()' class='btnImg' alt=''></div>");
 
-           document.execCommand("Stop");
 
-           window.stop()
 
-         }
 
-       } else {
 
-         if (getChromeVersion() < 90) {
 
-           document.writeln(" <div class='imgWrap'><img src='https://gyt.ks3-cn-beijing.ksyuncs.com/basic/1688699993534.png' class='bgImg' alt=''><img src='https://gyt.ks3-cn-beijing.ksyuncs.com/basic/1688699779209.png' onclick='gotoLinlk()' class='btnImg' alt=''></div>");
 
-           document.execCommand("Stop");
 
-           window.stop()
 
-           console.log('Stop')
 
-         }
 
-         // if (IsFF()) {
 
-       }
 
-     })(window);
 
-   </script>
 
- </head>
 
- <!-- 按钮 https://gyt.ks3-cn-beijing.ksyuncs.com/basic/1688699779209.png -->
 
- <!-- 背景 https://gyt.ks3-cn-beijing.ksyuncs.com/basic/1688699993534.png -->
 
- <body class="myBody">
 
-   <div id="app"></div>
 
-   <script type="module" src="/src/main.ts"></script>
 
- </body>
 
- </html>
 
 
  |