浏览代码

新开发整合首页

shaogen1995 7 月之前
父节点
当前提交
352e53f0b8
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      整合首页/index.html

+ 2 - 0
整合首页/index.html

@@ -192,6 +192,7 @@
       mainDom.style.opacity = '0'
 
       lodingBoxDom.style.opacity = '1'
+      lodingBoxDom.style.pointerEvents = 'auto'
 
       const url = v.getAttribute('key')
       const iframeDom = document.createElement('iframe')
@@ -202,6 +203,7 @@
       iframeDom.onload = () => {
         setTimeout(() => {
           lodingBoxDom.style.opacity = '0'
+          lodingBoxDom.style.pointerEvents = 'none'
           openBoxDom.style.opacity = '1'
           openBoxDom.style.pointerEvents = 'auto'
         }, 100);