From 8f860f53c3c62c645f33018291d82266dd43a578 Mon Sep 17 00:00:00 2001
From: 16639036659 <577530412@qq.com>
Date: 星期五, 25 八月 2023 09:49:11 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/main/resources/templates/tr/hiddenDangerCheck/dangerReport/detailNotDanger.html |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/main/resources/templates/tr/hiddenDangerCheck/dangerReport/detailNotDanger.html b/src/main/resources/templates/tr/hiddenDangerCheck/dangerReport/detailNotDanger.html
index cc0c2f2..145d2c0 100644
--- a/src/main/resources/templates/tr/hiddenDangerCheck/dangerReport/detailNotDanger.html
+++ b/src/main/resources/templates/tr/hiddenDangerCheck/dangerReport/detailNotDanger.html
@@ -109,7 +109,7 @@
                              th:src="*{preRectifyPhoto}"
                              onclick="showPicture(this.getAttribute('data-id'),'preRectifyPhoto')"
                              th:data-id="${hiddenDangerCheckPoint.id}">
-                        <div class="image-container"></div>
+                        <div class="image-container" style="display: flex;align-items: flex-start"></div>
                     </div>
                 </div>
             </div>
@@ -161,7 +161,7 @@
         imageUrlArray.forEach(function(url, index) {
             var img = document.createElement('img');
             img.setAttribute('src', url);
-            img.setAttribute('style', 'width: 100px; height: 100px; cursor: pointer;margin: 10px');
+            img.setAttribute('style', 'width: 100px; height: 100px; cursor: pointer;margin-right: 10px');
             img.setAttribute('title', '查看图片');
             img.setAttribute('data-id', ids);
             img.addEventListener('click', function() {
@@ -172,15 +172,15 @@
         });
     });
 
+    function openPicture(url) {
+        window.open(url)
+    }
+
     /* 图片--查看 */
     function showPicture(id,type) {
         var showPictureUrl = "/tr/hiddenDangerCheck/dangerBase/showPicture/{type}/{id}";
         var urlLast = showPictureUrl.replace("{type}", type).replace("{id}", id);
         $.operate.openDetailInfo("查看图片", urlLast);
-    }
-
-    function openPicture(url) {
-        window.open(url)
     }
 
 </script>

--
Gitblit v1.9.2