feat(consignment): 寄售匹配成功后向卖家端与客服后台透出买家加好友资料

This commit is contained in:
yml2213
2026-09-17 20:46:45 +08:00
parent eff45bb9a8
commit c5d1e2c375
9 changed files with 327 additions and 2 deletions
@@ -1107,6 +1107,52 @@ export default function ConsignmentInventoryPanel() {
<Text type="secondary">未匹配工单</Text>
)}
</Descriptions.Item>
{viewingItem.buyerInfo ? (
<Descriptions.Item label="匹配买家资料" span={2}>
<Space direction="vertical" size={8} style={{ width: '100%' }}>
<Space size={16} wrap>
{viewingItem.buyerInfo.gameNickname ? (
<span>
买家角色名:
<Text strong copyable>
{viewingItem.buyerInfo.gameNickname}
</Text>
</span>
) : null}
{viewingItem.buyerInfo.gameId ? (
<span>
角色数字ID:
<Text strong copyable>
{viewingItem.buyerInfo.gameId}
</Text>
</span>
) : null}
{viewingItem.buyerInfo.serverZone ? (
<Tag color="blue">{viewingItem.buyerInfo.serverZone}</Tag>
) : null}
{viewingItem.buyerInfo.system ? (
<Tag color="cyan">{viewingItem.buyerInfo.system}</Tag>
) : null}
</Space>
{viewingItem.buyerInfo.screenshots &&
viewingItem.buyerInfo.screenshots.length > 0 ? (
<div>
<Text type="secondary" style={{ fontSize: 12 }}>
买家主页截图(加好友核对用):
</Text>
<div style={{ marginTop: 4 }}>
<ConsignmentEvidenceGallery
images={viewingItem.buyerInfo.screenshots}
emptyText="无买家截图"
max={6}
size={70}
/>
</div>
</div>
) : null}
</Space>
</Descriptions.Item>
) : null}
<Descriptions.Item label="登录方式">
{(viewingItem.credentialsJson as any)?.loginMethod || '-'}
</Descriptions.Item>