fix(admin-web): 隐藏钱包流水表格的类型和关联订单列
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
0ac131a3b7
commit
292c6518ba
|
|
@ -673,11 +673,9 @@ export default function UserDetailPage() {
|
|||
<div className={styles.ledgerTable}>
|
||||
<div className={styles.ledgerTable__header}>
|
||||
<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>
|
||||
|
|
@ -687,9 +685,6 @@ export default function UserDetailPage() {
|
|||
walletData.items.map((item) => (
|
||||
<div key={item.entryId} className={styles.ledgerTable__row}>
|
||||
<div className={styles.ledgerTable__cell}>{item.entryId}</div>
|
||||
<div className={styles.ledgerTable__cell}>
|
||||
{entryTypeLabels[item.entryType] || item.entryType}
|
||||
</div>
|
||||
<div className={styles.ledgerTable__cell}>
|
||||
{assetTypeLabels[item.assetType] || item.assetType}
|
||||
</div>
|
||||
|
|
@ -704,9 +699,6 @@ export default function UserDetailPage() {
|
|||
<div className={styles.ledgerTable__cell}>
|
||||
{formatAmount(item.balanceAfter)}
|
||||
</div>
|
||||
<div className={styles.ledgerTable__cell}>
|
||||
{item.refOrderId || item.refTxHash || '-'}
|
||||
</div>
|
||||
<div className={styles.ledgerTable__cell}>
|
||||
{item.memo || '-'}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue