fix(admin-web): 隐藏钱包流水表格的类型和关联订单列

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-03-01 02:49:59 -08:00
parent 0ac131a3b7
commit 292c6518ba
2 changed files with 8 additions and 20 deletions

View File

@ -673,11 +673,9 @@ export default function UserDetailPage() {
<div className={styles.ledgerTable}> <div className={styles.ledgerTable}>
<div className={styles.ledgerTable__header}> <div className={styles.ledgerTable__header}>
<div className={styles.ledgerTable__cell}>ID</div> <div className={styles.ledgerTable__cell}>ID</div>
<div className={styles.ledgerTable__cell}></div>
<div className={styles.ledgerTable__cell}></div> <div className={styles.ledgerTable__cell}></div>
<div className={styles.ledgerTable__cell}></div> <div className={styles.ledgerTable__cell}></div>
<div className={styles.ledgerTable__cell}></div> <div className={styles.ledgerTable__cell}></div>
<div className={styles.ledgerTable__cell}></div>
<div className={styles.ledgerTable__cell}></div> <div className={styles.ledgerTable__cell}></div>
<div className={styles.ledgerTable__cell}></div> <div className={styles.ledgerTable__cell}></div>
</div> </div>
@ -687,9 +685,6 @@ export default function UserDetailPage() {
walletData.items.map((item) => ( walletData.items.map((item) => (
<div key={item.entryId} className={styles.ledgerTable__row}> <div key={item.entryId} className={styles.ledgerTable__row}>
<div className={styles.ledgerTable__cell}>{item.entryId}</div> <div className={styles.ledgerTable__cell}>{item.entryId}</div>
<div className={styles.ledgerTable__cell}>
{entryTypeLabels[item.entryType] || item.entryType}
</div>
<div className={styles.ledgerTable__cell}> <div className={styles.ledgerTable__cell}>
{assetTypeLabels[item.assetType] || item.assetType} {assetTypeLabels[item.assetType] || item.assetType}
</div> </div>
@ -704,9 +699,6 @@ export default function UserDetailPage() {
<div className={styles.ledgerTable__cell}> <div className={styles.ledgerTable__cell}>
{formatAmount(item.balanceAfter)} {formatAmount(item.balanceAfter)}
</div> </div>
<div className={styles.ledgerTable__cell}>
{item.refOrderId || item.refTxHash || '-'}
</div>
<div className={styles.ledgerTable__cell}> <div className={styles.ledgerTable__cell}>
{item.memo || '-'} {item.memo || '-'}
</div> </div>

View File

@ -775,26 +775,22 @@
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
// 流水ID - // 流水ID
&:nth-child(1) { flex: 0.6; } &:nth-child(1) { flex: 0.6; }
// 类型 // 资产
&:nth-child(2) { flex: 1.2; } &:nth-child(2) { flex: 0.5; }
// 资产 -
&:nth-child(3) { flex: 0.5; }
// 金额 // 金额
&:nth-child(3) { flex: 0.8; }
// 余额快照
&:nth-child(4) { flex: 0.8; } &:nth-child(4) { flex: 0.8; }
// 余额快照 -
&:nth-child(5) { flex: 0.8; }
// 关联订单 -
&:nth-child(6) { flex: 1.4; }
// 备注 - 最宽允许换行 // 备注 - 最宽允许换行
&:nth-child(7) { &:nth-child(5) {
flex: 2; flex: 2.5;
white-space: normal; white-space: normal;
word-break: break-all; word-break: break-all;
} }
// 时间 // 时间
&:nth-child(8) { flex: 1.2; } &:nth-child(6) { flex: 1.2; }
.ledgerTable__header & { .ledgerTable__header & {
font-weight: $font-weight-medium; font-weight: $font-weight-medium;