From 77b62f1a57e862f1ed46d60945ff57e0b88b2841 Mon Sep 17 00:00:00 2001 From: chenshoulin Date: Sun, 18 Oct 2026 18:05:05 +0800 Subject: [PATCH] =?UTF-8?q?fix(ui):=20=E6=A0=87=E7=AD=BE=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E5=AD=97=E5=8F=B7=E9=99=8D=E5=88=B0=2012px=EF=BC=8C=E4=B8=8E?= =?UTF-8?q?=E5=90=8C=E6=8E=92=E6=8E=A7=E4=BB=B6=E5=AF=B9=E9=BD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 工具栏第一行里,标签按钮是唯一用 text-sm(14px)的控件,而优先级分段 和到期统计按钮都是 text-xs(12px),视觉上「标签」两个字明显偏大, 与右侧的「今日到期 / 逾期」不协调。 搜索框保持 14px —— 那是输入区,需要这个字号保证输入与占位文字的可读性; 按钮类控件统一 12px。 实测(Playwright 读取 computed font-size): - 修复前:搜索框 14px、优先级 12px、标签 14px、今日到期 12px、逾期 12px - 修复后:搜索框 14px,其余按钮全部 12px 验证:单元测试 480 个通过,lint 与构建无错误。 --- src/components/TagFilter.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/TagFilter.vue b/src/components/TagFilter.vue index 6247bd0..4e70f2c 100644 --- a/src/components/TagFilter.vue +++ b/src/components/TagFilter.vue @@ -44,7 +44,7 @@ onBeforeUnmount(() => {