From 15eda57297979bed2071e4dc165f656182f2eead Mon Sep 17 00:00:00 2001
From: czt <czt18638530771@163.com>
Date: 星期二, 27 五月 2025 19:15:35 +0800
Subject: [PATCH] 优化页面

---
 igds-dzhwk-web/src/main/resources/templates/dzhwk/index.html |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/igds-dzhwk-web/src/main/resources/templates/dzhwk/index.html b/igds-dzhwk-web/src/main/resources/templates/dzhwk/index.html
index 0feef15..868723c 100644
--- a/igds-dzhwk-web/src/main/resources/templates/dzhwk/index.html
+++ b/igds-dzhwk-web/src/main/resources/templates/dzhwk/index.html
@@ -108,6 +108,7 @@
                             <li class="li1">
                                 <div class="con">
                                     <div class="videobox">
+<!--                                        <video th:src="${videoUrl}" class="img"-->
                                         <video src="http://player.alicdn.com/video/aliyunmedia.mp4" class="img"
                                                poster="/img/dzhwk/imgl4.jpg" muted preload controls
                                                webkit-playsinline="true" playsinline="true">鎮ㄧ殑娴忚鍣ㄤ笉鏀寔video鏍囩
@@ -1120,6 +1121,7 @@
 <script th:src="@{/dzhwk/swiper-bundle.min.js}"></script>
 <script th:src="@{/dzhwk/common.js}"></script>
 <script th:inline="javascript">
+    var flag = [[${flag}]];
     var swiper = new Swiper('.m-swiperl1 .swiper', {
         slidesPerView: 1,
         // autoplay: {
@@ -1150,7 +1152,11 @@
     setInterval(function () {
         timeFormate()
     }, 1000);
-</script>
 
+    //鐩戝惉鎿嶄綔
+    document.addEventListener('mousemove', resetTimeout);  //榧犳爣绉诲姩
+    document.addEventListener('click', resetTimeout);      //榧犳爣鐐瑰嚮
+    document.addEventListener('touchstart', resetTimeout); //瑙﹀睆
+</script>
 </body>
 </html>
\ No newline at end of file

--
Gitblit v1.9.3