From 4243a5f0e69641a25c332962011ea31e30c3d40a Mon Sep 17 00:00:00 2001 From: chenxing Date: Mon, 21 Sep 2026 08:49:05 +0800 Subject: [PATCH] =?UTF-8?q?fix(form):=20=E4=B8=8A=E4=BC=A0=E9=99=84?= =?UTF-8?q?=E4=BB=B6=E7=82=B9=E5=87=BB=E6=97=A0=E5=8F=8D=E5=BA=94=20+=20?= =?UTF-8?q?=E4=BA=8B=E9=A1=B9=E5=8D=A1=E7=89=87=E5=B0=81=E9=9D=A2=E5=B1=95?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - DynamicForm 上传字段:label 内 view-ui-plus + @@ -377,4 +379,28 @@ watch( margin-right: 8px; border-radius: 4px; } +.dyn-file-btn { + display: inline-block; + cursor: pointer; +} +.dyn-file-btn-inner { + display: inline-flex; + align-items: center; + gap: 4px; + padding: 0 7px; + border: 1px solid #dcdee2; + border-radius: 4px; + background: #fff; + color: #515a6e; + font-size: 12px; + line-height: 26px; + cursor: pointer; + user-select: none; + transition: color 0.2s, border-color 0.2s; +} +.dyn-file-btn:hover .dyn-file-btn-inner { + color: #2d8cf0; + border-color: #2d8cf0; +} + diff --git a/src/views/Hall.vue b/src/views/Hall.vue index 85649ca..8b87f24 100644 --- a/src/views/Hall.vue +++ b/src/views/Hall.vue @@ -95,6 +95,11 @@ function apply(item: HallItem) { }); } +/** 封面地址不可达时隐藏占位,避免裂图图标 */ +function hideCover(e: Event) { + (e.target as HTMLImageElement).style.display = "none"; +} + onMounted(async () => { siteCode.value = resolveSite(route.query.siteCode); await loadFilters(); @@ -139,6 +144,13 @@ onMounted(async () => {
+
{{ item.title }}
{{ item.summary || "暂无事项说明" }}
@@ -233,6 +245,13 @@ onMounted(async () => { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07); transform: translateY(-2px); } +.item-cover { + width: 100%; + height: 96px; + object-fit: cover; + border-radius: calc(var(--sh-radius) - 4px); + margin-bottom: 10px; +} .item-title { font-size: 16px; font-weight: 600;