From 771deb221ec3ca2d067e6af32b6c05dd8942ae6a Mon Sep 17 00:00:00 2001 From: yml2213 Date: Fri, 18 Sep 2026 18:38:43 +0800 Subject: [PATCH] =?UTF-8?q?style(worker-consignment):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E5=AF=84=E5=8D=96=E5=8D=A1=E7=89=87=E6=88=AA=E5=9B=BE=E5=B1=95?= =?UTF-8?q?=E7=A4=BA=E4=B8=BA=E7=B4=A7=E5=87=91=E5=8D=95=E8=A1=8C=E5=B9=B6?= =?UTF-8?q?=E6=8E=92=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 将提报商品截图与赠送凭证截图重构为同一行紧凑胶囊栏,减少上下两行占用空间; 2. 分别保留商品截图与赠送凭证的张数、缩略图与大图预览画廊,视觉更精致。 --- .../pages/worker/WorkerConsignmentPage.tsx | 94 ++++++++++--------- 1 file changed, 48 insertions(+), 46 deletions(-) diff --git a/apps/frontend/src/pages/worker/WorkerConsignmentPage.tsx b/apps/frontend/src/pages/worker/WorkerConsignmentPage.tsx index 7bb750d1..d03b4957 100644 --- a/apps/frontend/src/pages/worker/WorkerConsignmentPage.tsx +++ b/apps/frontend/src/pages/worker/WorkerConsignmentPage.tsx @@ -1103,52 +1103,54 @@ function ConsignmentRecordCard({ ) : null} ) : null} - {shots.length > 0 ? ( -
- - - 提报商品截图(共 {shots.length} 张): - - - - {shots.map((src, i) => ( - - ))} - - -
- ) : null} - {giftShots.length > 0 ? ( -
- - - 已提交赠送凭证(共 {giftShots.length} 张截图,等待客服验收): - -
- - - {giftShots.map((src, i) => ( - - ))} - - -
- {record.giftEvidenceNote ? ( - - 赠送备注:{record.giftEvidenceNote} - + {shots.length > 0 || giftShots.length > 0 ? ( +
+ {shots.length > 0 ? ( +
+ + + 商品截图({shots.length}) + + + + {shots.map((src, i) => ( + + ))} + + +
+ ) : null} + {giftShots.length > 0 ? ( +
+ + + 赠送凭证({giftShots.length}) + + + + {giftShots.map((src, i) => ( + + ))} + + + {record.giftEvidenceNote ? ( + + {record.giftEvidenceNote} + + ) : null} +
) : null}
) : null}