소스 검색

新开发整合首页

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);