From 8e2bf84dc036d17eeb02bb86e319e8614c0e0d0d Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期四, 24 八月 2023 14:56:57 +0800
Subject: [PATCH] 图片多传和查看

---
 src/main/resources/templates/tr/hiddenDangerCheck/dangerReport/detailYesDanger.html |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/templates/tr/hiddenDangerCheck/dangerReport/detailYesDanger.html b/src/main/resources/templates/tr/hiddenDangerCheck/dangerReport/detailYesDanger.html
index 0e53535..4e7b271 100644
--- a/src/main/resources/templates/tr/hiddenDangerCheck/dangerReport/detailYesDanger.html
+++ b/src/main/resources/templates/tr/hiddenDangerCheck/dangerReport/detailYesDanger.html
@@ -162,7 +162,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>
@@ -214,7 +214,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() {

--
Gitblit v1.9.2