Browse Source

新开发整合首页

shaogen1995 7 tháng trước cách đây
mục cha
commit
352e53f0b8
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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);