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/grain.html |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/igds-dzhwk-web/src/main/resources/templates/dzhwk/grain.html b/igds-dzhwk-web/src/main/resources/templates/dzhwk/grain.html
index ea1a421..1c5f3da 100644
--- a/igds-dzhwk-web/src/main/resources/templates/dzhwk/grain.html
+++ b/igds-dzhwk-web/src/main/resources/templates/dzhwk/grain.html
@@ -10,6 +10,13 @@
     <title>鐢靛瓙璐т綅鍗$郴缁�-浠撳偍淇濈浣滀笟</title>
 
     <link rel="stylesheet" th:href="@{/dzhwk/style.css}"/>
+    <style>
+        .m-pic1 .pic iframe{
+            display: block;
+            width: 100%;
+            height: 853px;
+        }
+    </style>
 </head>
 
 <body class="">
@@ -30,8 +37,10 @@
             <div class="m-safeguardl">
                 <div class="col-l g-boxl1">
                     <div class="m-picl">
+
                         <div class="pic">
-                            <img th:src="@{/img/dzhwk/imgl1.jpg}" alt="">
+<!--                            <img th:src="@{/img/dzhwk/imgl1.jpg}" alt="">-->
+                            <iframe src="../dzhwk/grain-check1" style="width: 100%;height: 853px;display: block;" frameborder="0" allowfullscreen></iframe>
                         </div>
                     </div>
                 </div>
@@ -108,6 +117,12 @@
 <script th:src="@{/js/jquery.min.js}"></script>
 <script th:src="@{/dzhwk/common.js}"></script>
 <script th:inline="javascript">
+    var flag = [[${flag}]];
+
+    //鐩戝惉鎿嶄綔
+    document.addEventListener('mousemove', resetTimeout);  //榧犳爣绉诲姩
+    document.addEventListener('click', resetTimeout);      //榧犳爣鐐瑰嚮
+    document.addEventListener('touchstart', resetTimeout); //瑙﹀睆
 
     timeFormate();
     setInterval(function () {

--
Gitblit v1.9.3