|
@@ -55,7 +55,7 @@
|
|
|
} */
|
|
|
|
|
|
.imgWrap {
|
|
|
- margin-top: 141px;
|
|
|
+ margin-top: 300px;
|
|
|
text-align: center;
|
|
|
/* width: 456px;
|
|
|
position: absolute;
|
|
@@ -84,6 +84,8 @@
|
|
|
line-height: 30px;
|
|
|
cursor: pointer;
|
|
|
margin-top: 32px;
|
|
|
+ list-style: none outside none;
|
|
|
+ text-decoration: none;
|
|
|
}
|
|
|
</style>
|
|
|
|
|
@@ -181,7 +183,6 @@
|
|
|
// };
|
|
|
|
|
|
if (!isChrome()) {
|
|
|
- console.log(1)
|
|
|
// 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>");
|
|
|
document.writeln(" <div class='imgWrap'><h1>当前浏览器版本过低</h1><p class='subMsg'>为了保证良好的上课体验,推荐您使用谷歌浏览器</p> <button class='subBtn' onclick='gotoLinlk()'>下载谷歌浏览器</button>");
|
|
|
document.execCommand("Stop");
|
|
@@ -192,10 +193,13 @@
|
|
|
// }
|
|
|
|
|
|
} else {
|
|
|
+ console.log(getChromeVersion(), 'getChromeVersion')
|
|
|
if (getChromeVersion() < 90) {
|
|
|
- console.log(2)
|
|
|
- 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>");
|
|
|
+
|
|
|
+ document.writeln(" <div class='imgWrap'><h1>当前浏览器版本过低</h1><p class='subMsg'>为了保证良好的上课体验,推荐您使用谷歌浏览器</p> <button class='subBtn' onclick='gotoLinlk()'>下载谷歌浏览器</button>");
|
|
|
document.execCommand("Stop");
|
|
|
+ window.stop()
|
|
|
+ console.log('Stop')
|
|
|
}
|
|
|
|
|
|
// if (IsFF()) {
|