From e556a51b93f6492bb861d1674547d1da8911e822 Mon Sep 17 00:00:00 2001 From: soehi <811446351@qq.com> Date: Tue, 3 Nov 2026 10:05:14 +0800 Subject: [PATCH] fix: clarify member activity statistics and their scope --- dist/assets/styles.css | 17 +++++++++++++++-- dist/index.html | 25 ++++++++++++++++++++++--- dist/js/app.js | 15 +++++++++------ 3 files changed, 46 insertions(+), 11 deletions(-) diff --git a/dist/assets/styles.css b/dist/assets/styles.css index bba0260..a2aa521 100644 --- a/dist/assets/styles.css +++ b/dist/assets/styles.css @@ -237,9 +237,19 @@ textarea { width: 100%; resize: vertical; } } .mcard b { display: block; } .mcard .muted { margin-top: 2px; } -.mcard-stats { display: flex; gap: 14px; margin-top: 12px; } -.mcard-stats div b { font-size: 16px; } +.mcard-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); } +.mcard-stats div b { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; } +.mcard-stats small { margin-left: 4px; font-size: 11px; color: var(--muted); font-weight: 400; } .mcard-stats div span { display: block; font-size: 12px; color: var(--muted); } +.stats-help { margin: 0 0 22px; color: var(--muted); font-size: 13px; } +.stats-help summary { width: fit-content; cursor: pointer; padding: 6px 0; border-radius: 4px; } +.stats-help summary:hover { color: var(--primary); } +.stats-help summary:focus-visible { outline: 3px solid #28664f80; outline-offset: 4px; } +.stats-help dl { margin: 10px 0; display: grid; gap: 10px; } +.stats-help dl > div { display: flex; align-items: baseline; gap: 16px; } +.stats-help dt { min-width: 4em; color: var(--ink); font-weight: 600; } +.stats-help dd { margin: 0; line-height: 1.7; } +.stats-help p { margin: 10px 0 0; line-height: 1.7; } .mcard-bio { margin-top: 10px; font-size: 13px; color: #3d4351; } /* ---------- 个人主页 ---------- */ @@ -518,6 +528,9 @@ button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px s .meta-item { max-width: 100%; } .acard-actions .btn { min-height: 42px; } .member-grid { grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); } + #members-table { table-layout: fixed; } + #members-table th, #members-table td { padding: 12px 8px; font-size: 13px; overflow-wrap: anywhere; } + .stats-help summary { min-height: 44px; display: list-item; align-content: center; } .form-row { flex-direction: column; gap: 0; } .form-card { padding: 22px; } .modal-mask { padding: 16px 10px; } diff --git a/dist/index.html b/dist/index.html index 6503130..ce3586e 100644 --- a/dist/index.html +++ b/dist/index.html @@ -5,7 +5,7 @@
三项存在重叠,不能相加;发起活动时也会自动生成一条活动记录。
+| 姓名 | 部门 | 参加数 | ||
|---|---|---|---|---|
| 姓名 | 部门 | 活动记录 | 已出席 | 发起活动 |
活动记录、已出席和发起活动存在重叠,不能相加;发起活动时也会自动生成一条活动记录。
+