From 292c6518ba768e7d05e0dadc3c0436c1db8cdf0f Mon Sep 17 00:00:00 2001 From: hailin Date: Sun, 1 Mar 2026 02:49:59 -0800 Subject: [PATCH] =?UTF-8?q?fix(admin-web):=20=E9=9A=90=E8=97=8F=E9=92=B1?= =?UTF-8?q?=E5=8C=85=E6=B5=81=E6=B0=B4=E8=A1=A8=E6=A0=BC=E7=9A=84=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E5=92=8C=E5=85=B3=E8=81=94=E8=AE=A2=E5=8D=95=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 --- .../src/app/(dashboard)/users/[id]/page.tsx | 8 -------- .../users/[id]/user-detail.module.scss | 20 ++++++++----------- 2 files changed, 8 insertions(+), 20 deletions(-) diff --git a/frontend/admin-web/src/app/(dashboard)/users/[id]/page.tsx b/frontend/admin-web/src/app/(dashboard)/users/[id]/page.tsx index 5baf07a0..5dc486d8 100644 --- a/frontend/admin-web/src/app/(dashboard)/users/[id]/page.tsx +++ b/frontend/admin-web/src/app/(dashboard)/users/[id]/page.tsx @@ -673,11 +673,9 @@ export default function UserDetailPage() {
流水ID
-
类型
资产
金额
余额快照
-
关联订单
备注
时间
@@ -687,9 +685,6 @@ export default function UserDetailPage() { walletData.items.map((item) => (
{item.entryId}
-
- {entryTypeLabels[item.entryType] || item.entryType} -
{assetTypeLabels[item.assetType] || item.assetType}
@@ -704,9 +699,6 @@ export default function UserDetailPage() {
{formatAmount(item.balanceAfter)}
-
- {item.refOrderId || item.refTxHash || '-'} -
{item.memo || '-'}
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 ea069eab..1dc8af24 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,26 +775,22 @@ overflow: hidden; text-overflow: ellipsis; - // 流水ID - 窄 + // 流水ID &:nth-child(1) { flex: 0.6; } - // 类型 - &:nth-child(2) { flex: 1.2; } - // 资产 - 窄 - &:nth-child(3) { flex: 0.5; } + // 资产 + &:nth-child(2) { flex: 0.5; } // 金额 + &:nth-child(3) { flex: 0.8; } + // 余额快照 &:nth-child(4) { flex: 0.8; } - // 余额快照 - 窄 - &:nth-child(5) { flex: 0.8; } - // 关联订单 - 宽 - &:nth-child(6) { flex: 1.4; } // 备注 - 最宽,允许换行 - &:nth-child(7) { - flex: 2; + &:nth-child(5) { + flex: 2.5; white-space: normal; word-break: break-all; } // 时间 - &:nth-child(8) { flex: 1.2; } + &:nth-child(6) { flex: 1.2; } .ledgerTable__header & { font-weight: $font-weight-medium;