From be56a282f2008a36f91955f25d8858114e6a1fa7 Mon Sep 17 00:00:00 2001 From: wucm667 Date: Fri, 13 Feb 2026 15:59:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9AStatCard=20=E6=95=B0?= =?UTF-8?q?=E5=80=BC=E6=BA=A2=E5=87=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加 title 属性,鼠标悬停时显示完整数值 - 添加 truncate 类防止数值溢出 - 优化长数值的显示效果 --- frontend/src/components/common/StatCard.vue | 2 +- frontend/src/style.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/common/StatCard.vue b/frontend/src/components/common/StatCard.vue index 203a2fa8..d7c40a2e 100644 --- a/frontend/src/components/common/StatCard.vue +++ b/frontend/src/components/common/StatCard.vue @@ -6,7 +6,7 @@

{{ title }}

-

{{ formattedValue }}

+

{{ formattedValue }}