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