From b3de26a4f625f901080e92b0d73e1e90141d6d0a Mon Sep 17 00:00:00 2001
From: sgj <1442489573@qq.com>
Date: 星期六, 06 十二月 2025 09:38:57 +0800
Subject: [PATCH] 图片回显修改
---
fzzy-igdss-web/src/main/resources/templates/eventInfo/eventInfo.html | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/fzzy-igdss-web/src/main/resources/templates/eventInfo/eventInfo.html b/fzzy-igdss-web/src/main/resources/templates/eventInfo/eventInfo.html
index 490cd29..4148cf0 100644
--- a/fzzy-igdss-web/src/main/resources/templates/eventInfo/eventInfo.html
+++ b/fzzy-igdss-web/src/main/resources/templates/eventInfo/eventInfo.html
@@ -39,8 +39,8 @@
</div>
<!-- 浜嬩欢鍗$墖 -->
<div th:each="eventInfo : ${eventInfoList}" class="gallery-item">
- <img th:src="@{/logo-sm.png}" th:alt="${eventInfo.id}"
- th:data-url="@{/logo-sm.png}" th:data-id="${eventInfo.id}"
+ <img th:src="${eventInfo.imgName ?: '/logo-sm.png'}" th:alt="${eventInfo.id}"
+ th:data-url="${eventInfo.imgName ?: '/logo-sm.png'}" th:data-id="${eventInfo.id}"
class="gallery-img" onclick="showEventInfoPreview(this.getAttribute('data-url'))">
<div class="gallery-info">
<div class="gallery-header">
--
Gitblit v1.9.3