From 0ac131a3b7caa0b6e07bc6321feccc21b0b1f496 Mon Sep 17 00:00:00 2001 From: hailin Date: Sun, 1 Mar 2026 02:41:31 -0800 Subject: [PATCH] =?UTF-8?q?fix(admin-web):=20=E9=92=B1=E5=8C=85=E6=B5=81?= =?UTF-8?q?=E6=B0=B4=E8=A1=A8=E6=A0=BC=E5=A4=87=E6=B3=A8=E5=88=97=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=B8=8D=E5=85=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 各列均为 flex:1 等宽导致备注内容被 ellipsis 截断, 调整各列 flex 比例并允许备注列换行显示完整文本。 Co-Authored-By: Claude Opus 4.6 --- .../users/[id]/user-detail.module.scss | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/frontend/admin-web/src/app/(dashboard)/users/[id]/user-detail.module.scss b/frontend/admin-web/src/app/(dashboard)/users/[id]/user-detail.module.scss index 5cb60ac6..ea069eab 100644 --- a/frontend/admin-web/src/app/(dashboard)/users/[id]/user-detail.module.scss +++ b/frontend/admin-web/src/app/(dashboard)/users/[id]/user-detail.module.scss @@ -775,6 +775,27 @@ overflow: hidden; text-overflow: ellipsis; + // 流水ID - 窄 + &:nth-child(1) { flex: 0.6; } + // 类型 + &:nth-child(2) { flex: 1.2; } + // 资产 - 窄 + &:nth-child(3) { flex: 0.5; } + // 金额 + &:nth-child(4) { flex: 0.8; } + // 余额快照 - 窄 + &:nth-child(5) { flex: 0.8; } + // 关联订单 - 宽 + &:nth-child(6) { flex: 1.4; } + // 备注 - 最宽,允许换行 + &:nth-child(7) { + flex: 2; + white-space: normal; + word-break: break-all; + } + // 时间 + &:nth-child(8) { flex: 1.2; } + .ledgerTable__header & { font-weight: $font-weight-medium; color: $text-secondary;