mo 1 ano atrás
pai
commit
405969218d
1 arquivos alterados com 35 adições e 2 exclusões
  1. 35 2
      index.html

+ 35 - 2
index.html

@@ -46,12 +46,44 @@
     cursor: pointer;
   }
 
-  .imgWrap {
+  /* .imgWrap {
     width: 456px;
     position: absolute;
     top: 141px;
     left: 50%;
     margin-left: -288px;
+  } */
+
+  .imgWrap {
+    margin-top: 141px;
+    text-align: center;
+    /* width: 456px;
+        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-family: PingFangSC-Semibold, PingFang SC;
+    font-weight: 600;
+    color: #FFFFFF;
+    line-height: 30px;
+    cursor: pointer;
+    margin-top: 32px;
   }
 </style>
 <!-- 按钮 https://gyt.ks3-cn-beijing.ksyuncs.com/basic/1688699779209.png -->
@@ -136,7 +168,8 @@
 
       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'><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'>下载谷歌浏览器</button>");
         document.execCommand("Stop");
         // if (IsFF()) {
         //   window.stop()