Browse Source

新开发整合首页

shaogen1995 7 months ago
parent
commit
352e53f0b8
1 changed files with 2 additions and 0 deletions
  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);