feat(worker-platform): 优化打手我的寄卖卡片资料展示,前置展示打手自身上架账号资料

1. 后端 consignment-worker-service 在我的寄卖列表中解析并返回打手上架时填写的 sellerInfo(角色名、数字ID、区服系统、微信号/QQ、寄卖留言等);
2. 前端新增 ConsignmentSellerInfoBlock 卖家资料区块,提供角色名/ID高亮与一键复制功能;
3. 寄卖卡片布局升级为前置展示【我的寄卖账号资料】、后置展示【买家加好友资料】,多号上架时号主与买家清晰对应,彻底杜绝登错号加错人。
This commit is contained in:
yml2213
2026-09-19 14:19:35 +08:00
parent 0b4ee964ed
commit d40b5a4c1c
5 changed files with 277 additions and 11 deletions
+4 -2
View File
@@ -23,7 +23,7 @@ import type {
WorkerUser,
WorkerWalletLedger,
} from '@/types/worker-platform'
import type { ConsignmentBuyerInfo } from '@/types/consignment'
import type { ConsignmentBuyerInfo, ConsignmentSellerInfo } from '@/types/consignment'
import { getWorkerDeviceId } from '@/utils/worker-auth'
@@ -450,11 +450,13 @@ export type WorkerConsignmentRecord = {
/** 赠送冷却截止时间,前端拿它做倒计时 */
giftAvailableAt: string | null
friendAddedAt: string | null
/** 卖家自己寄卖时填写的账号/角色资料 */
sellerInfo?: ConsignmentSellerInfo | null
/** 匹配工单的买家资料(用于加好友) */
buyerInfo?: ConsignmentBuyerInfo | null
}
export type { ConsignmentBuyerInfo } from '@/types/consignment'
export type { ConsignmentBuyerInfo, ConsignmentSellerInfo } from '@/types/consignment'
export type WorkerConsignmentListResponse = {
publishDepositFen: number