From fd6fcdc232165afa24d89ff4e77eaa1098d2637d Mon Sep 17 00:00:00 2001
From: czt <czt18638530771@163.com>
Date: 星期四, 22 五月 2025 19:53:12 +0800
Subject: [PATCH] 电子货位卡-嵌入平房仓粮情页面

---
 igds-dzhwk-web/src/main/resources/templates/dzhwk/index.html |    7 ++++++-
 1 files changed, 6 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..2f4edd0 100644
--- a/igds-dzhwk-web/src/main/resources/templates/dzhwk/index.html
+++ b/igds-dzhwk-web/src/main/resources/templates/dzhwk/index.html
@@ -1120,6 +1120,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 +1151,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