feat(卖家记录页): 调整显示用户名
This commit is contained in:
parent
e534029935
commit
35d50533f5
@ -97,7 +97,12 @@
|
|||||||
<span>{{ record.userName.charAt(0) }}</span>
|
<span>{{ record.userName.charAt(0) }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="record-details">
|
<div class="record-details">
|
||||||
<h4>{{ record.userName }}</h4>
|
<div style="display: flex; align-items: center">
|
||||||
|
<h4>User</h4>
|
||||||
|
<h4>{{ record.userName }}</h4>
|
||||||
|
<h4>...</h4>
|
||||||
|
</div>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<span style="display: flex; align-items: center">
|
<span style="display: flex; align-items: center">
|
||||||
<span>ID</span>
|
<span>ID</span>
|
||||||
@ -216,7 +221,7 @@ const fetchRecords = async () => {
|
|||||||
id: item.id,
|
id: item.id,
|
||||||
account: item.account,
|
account: item.account,
|
||||||
userId: item.acceptUserId,
|
userId: item.acceptUserId,
|
||||||
userName: `User${item.acceptUserId.toString().slice(-6)}...`, // 显示最后6位
|
userName: `${item.acceptUserId.toString().slice(-6)}`, // 显示最后6位
|
||||||
amount: getAmountDisplay(item.type, item.quantity),
|
amount: getAmountDisplay(item.type, item.quantity),
|
||||||
time: formatUTCCustom(item.createTime),
|
time: formatUTCCustom(item.createTime),
|
||||||
type: item.type,
|
type: item.type,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user