style(frontend): 全项目表格统一百分比布局并居中

This commit is contained in:
yml2213
2026-10-24 14:49:23 +08:00
parent a96229a106
commit ce8efa6bad
52 changed files with 346 additions and 145 deletions
@@ -18,11 +18,11 @@ import {
Popconfirm,
Select,
Space,
Table,
Tabs,
Tag,
Typography,
} from 'antd'
import PercentTable from '@/components/common/PercentTable'
import type { TableColumnsType, TabsProps } from 'antd'
import { useEffect, useMemo, useRef, useState } from 'react'
@@ -963,7 +963,7 @@ export default function AdminKuaishouIndustryPage() {
function renderVoucherTable(scrollX?: number) {
return (
<Table
<PercentTable
rowKey="id"
size="middle"
tableLayout="fixed"
@@ -1297,7 +1297,7 @@ export default function AdminKuaishouIndustryPage() {
查询售后
</Button>
</Space>
<Table
<PercentTable
rowKey={(row) => String(row.refundId || row.oid || JSON.stringify(row))}
columns={refundColumns}
dataSource={refundRows}