From 5b3e505e9bc9f77be37dfed13c88596f474f8ef7 Mon Sep 17 00:00:00 2001 From: jsasg <735273025@qq.com> Date: Wed, 31 Dec 2025 17:06:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E8=A7=86=E9=A2=91=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E8=AF=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/view/mobile/topic_laptop/index.html | 10 +++++----- app/index/view/pc/topic_laptop/index.html | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/index/view/mobile/topic_laptop/index.html b/app/index/view/mobile/topic_laptop/index.html index a56d293c..dccd5729 100644 --- a/app/index/view/mobile/topic_laptop/index.html +++ b/app/index/view/mobile/topic_laptop/index.html @@ -1082,7 +1082,7 @@ const allVideos = document.querySelectorAll('.fs-video'); const fsBox = document.querySelector('.fs-box'); let isVideoPlaying = false; - let videoTip = null; + // let videoTip = null; // 初始化视频提示 // const initVideoTip = () => @@ -1103,7 +1103,7 @@ video.pause(); // 仅暂停,删除display修改 }); isVideoPlaying = false; - if (videoTip) videoTip.style.display = 'none'; + // if (videoTip) videoTip.style.display = 'none'; } // 播放指定视频(仅播放,无显隐) @@ -1117,17 +1117,17 @@ video.play().then(() => { isVideoPlaying = true; - if (videoTip) videoTip.style.display = 'none'; + // if (videoTip) videoTip.style.display = 'none'; }).catch((err) => { console.log('视频自动播放失败:', err); - if (videoTip) videoTip.style.display = 'block'; + // if (videoTip) videoTip.style.display = 'block'; // 点击视频手动播放(仅执行一次) video.addEventListener('click', () => { video.play(); isVideoPlaying = true; - if (videoTip) videoTip.style.display = 'none'; + // if (videoTip) videoTip.style.display = 'none'; }, { once: true }); }); }; diff --git a/app/index/view/pc/topic_laptop/index.html b/app/index/view/pc/topic_laptop/index.html index 3b3f7a7f..07b27ada 100644 --- a/app/index/view/pc/topic_laptop/index.html +++ b/app/index/view/pc/topic_laptop/index.html @@ -1037,7 +1037,7 @@ const allVideos = document.querySelectorAll('.fs-video'); const fsBox = document.querySelector('.fs-box'); let isVideoPlaying = false; - let videoTip = null; + // let videoTip = null; // 初始化视频提示 // const initVideoTip = () => { @@ -1060,7 +1060,7 @@ if (img) img.style.display = 'block'; }); isVideoPlaying = false; - if (videoTip) videoTip.style.display = 'none'; + // if (videoTip) videoTip.style.display = 'none'; } // 播放指定视频 @@ -1075,7 +1075,7 @@ video.muted = true; video.play().then(() => { isVideoPlaying = true; - if (videoTip) videoTip.style.display = 'none'; + // if (videoTip) videoTip.style.display = 'none'; }).catch((err) => { console.log('视频自动播放失败:', err); video.style.display = 'block'; @@ -1085,7 +1085,7 @@ video.addEventListener('click', () => { video.play(); isVideoPlaying = true; - if (videoTip) videoTip.style.display = 'none'; + // if (videoTip) videoTip.style.display = 'none'; }, { once: true }); }); };