From aa2051a2327c079105110f5424f3a44ffaa0c7bb Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期五, 25 八月 2023 10:11:08 +0800
Subject: [PATCH] 延期整改

---
 src/main/resources/templates/tr/hiddenDangerCheck/dangerReport/detailNotJudge.html |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/main/resources/templates/tr/hiddenDangerCheck/dangerReport/detailNotJudge.html b/src/main/resources/templates/tr/hiddenDangerCheck/dangerReport/detailNotJudge.html
index 29adaa0..393bda5 100644
--- a/src/main/resources/templates/tr/hiddenDangerCheck/dangerReport/detailNotJudge.html
+++ b/src/main/resources/templates/tr/hiddenDangerCheck/dangerReport/detailNotJudge.html
@@ -108,7 +108,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>
@@ -160,11 +160,12 @@
         imageUrlArray.forEach(function(url, index) {
             var img = document.createElement('img');
             img.setAttribute('src', url);
-            img.setAttribute('style', 'width: 100px; height: 100px; cursor: pointer;');
+            img.setAttribute('style', 'width: 100px; height: 100px; cursor: pointer;margin-right: 10px');
             img.setAttribute('title', '查看图片');
             img.setAttribute('data-id', ids);
             img.addEventListener('click', function() {
-                showPicture(this.getAttribute('data-id'), 'preRectifyPhoto');
+                // showPicture(this.getAttribute('data-id'), 'preRectifyPhoto');
+                openPicture(url)
             });
             imageContainer.appendChild(img);
         });
@@ -175,6 +176,9 @@
         var urlLast = showPictureUrl.replace("{type}", type).replace("{id}", id);
         $.operate.openDetailInfo("查看图片", urlLast);
     }
+    function openPicture(url) {
+        window.open(url)
+    }
 
 </script>
 </body>

--
Gitblit v1.9.2