diff --git a/assets/style.css b/assets/style.css index fff8e96..053ac90 100644 --- a/assets/style.css +++ b/assets/style.css @@ -843,6 +843,10 @@ input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; padding display: flex; align-items: center; justify-content: center; height: 96px; font-size: 30px; background: var(--bg-soft); } +/* 批 8:详情页附件墙里的图标格 —— 和图片缩略图一样占满 4:3 格子 */ +.photo-card .attachment-icon { + height: 100%; aspect-ratio: 4 / 3; font-size: 34px; +} .attachment-meta { padding: 9px 11px; display: flex; align-items: center; gap: 6px; } .attachment-name { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; diff --git a/templates/nodes/show.php b/templates/nodes/show.php index 539522d..ff86373 100644 --- a/templates/nodes/show.php +++ b/templates/nodes/show.php @@ -57,7 +57,7 @@ if (!empty($node['duration_minutes'])) {
编辑节点 - 📷 照片 () + 📎 附件 () 返回活动
@@ -144,33 +144,55 @@ if (!empty($node['duration_minutes'])) {

照片与附件()

- +
- - - - <?= e($attRow['file_name']) ?> - + + + + + <?= e($attName) ?> + + + + + + + - count($showPhotos)): ?> + count($showAtts)): ?> - +张 + +个
@@ -178,11 +200,8 @@ $showPhotos = array_slice($photoRows, 0, 12);
- 📷 管理照片() + 📎 管理附件() - 0): ?> - 另有 个非图片附件 -