From 9a6b4313a81b766a4c32f3423313796f5cd89a2f Mon Sep 17 00:00:00 2001 From: yml2213 Date: Sat, 10 Oct 2026 19:04:09 +0800 Subject: [PATCH] =?UTF-8?q?fix(order):=20=E7=A7=BB=E9=99=A4=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E5=88=97=E8=A1=A8=E5=86=97=E9=95=BF=E7=9A=84=E4=B9=B0?= =?UTF-8?q?=E5=AE=B6=E4=BF=A1=E6=81=AF=E5=88=97=EF=BC=8C=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E5=A4=9A=E5=B9=B3=E5=8F=B0=E8=A1=A8=E6=A0=BC=E5=AF=86=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除订单列表中的「买家信息」列,消除抖音等虚拟品类中超长加密 open_id / 匿名买家造成的垂直与水平排版挤压 - 紧凑化表格宽度(scroll 960px),提升列表浏览效率 - 详情页继续保留完整买家原始载荷供追溯 验证方式:前端类型检查及 132 项单测全通过,前端打包构建通过 --- .../src/pages/admin/AdminOrdersPage.tsx | 37 +------------------ 1 file changed, 1 insertion(+), 36 deletions(-) diff --git a/apps/frontend/src/pages/admin/AdminOrdersPage.tsx b/apps/frontend/src/pages/admin/AdminOrdersPage.tsx index f6475e94..63cc66fd 100644 --- a/apps/frontend/src/pages/admin/AdminOrdersPage.tsx +++ b/apps/frontend/src/pages/admin/AdminOrdersPage.tsx @@ -5,7 +5,6 @@ import { ReloadOutlined, SearchOutlined, ShopOutlined, - UserOutlined, } from '@ant-design/icons' import { App, @@ -237,40 +236,6 @@ export default function AdminOrdersPage() { ) }, }, - { - title: '买家信息', - minWidth: 140, - render: (_, row) => { - const buyerName = row.buyerName || '' - const buyerId = row.buyerId || '' - const contact = row.receiverContact || '' - - if (!buyerName && !buyerId && !contact) { - return - - } - - return ( -
-
- - - {buyerName || '匿名买家'} - -
- {buyerId ? ( - - ID: {buyerId} - - ) : null} - {contact && contact !== buyerName ? ( - - {contact} - - ) : null} -
- ) - }, - }, { title: '商品 / 规格', minWidth: 260, @@ -562,7 +527,7 @@ export default function AdminOrdersPage() { loading={query.isLoading || query.isFetching || !hasBootstrappedFilters} columns={columns} dataSource={data?.items || []} - scroll={{ x: 1100 }} + scroll={{ x: 960 }} pagination={buildAdminTablePagination({ current: data?.pagination.page || page, pageSize: data?.pagination.pageSize || pageSize,