From bf791949d0c60df4e05e206f3065cf1a255cd8bd Mon Sep 17 00:00:00 2001 From: hzm <934585316@qq.com> Date: Fri, 27 Feb 2026 09:57:26 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B0=83=E6=95=B4=E9=BB=98=E8=AE=A4PC?= =?UTF-8?q?=E5=88=97=E5=AE=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/PcFundTable.jsx | 16 +++++++++++----- app/globals.css | 6 +++--- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/app/components/PcFundTable.jsx b/app/components/PcFundTable.jsx index d32ee1c..a3f4e61 100644 --- a/app/components/PcFundTable.jsx +++ b/app/components/PcFundTable.jsx @@ -113,8 +113,8 @@ export default function PcFundTable({ { accessorKey: 'fundName', header: '基金名称', - size: 240, - minSize: 100, + size: 265, + minSize: 140, enablePinning: true, cell: (info) => { const original = info.row.original || {}; @@ -180,6 +180,8 @@ export default function PcFundTable({ { accessorKey: 'yesterdayChangePercent', header: '昨日涨跌幅', + size: 135, + minSize: 100, cell: (info) => { const original = info.row.original || {}; const value = original.yesterdayChangeValue; @@ -204,8 +206,8 @@ export default function PcFundTable({ { accessorKey: 'estimateChangePercent', header: '估值涨跌幅', - size: 100, - minSize: 80, + size: 135, + minSize: 100, cell: (info) => { const original = info.row.original || {}; const value = original.estimateChangeValue; @@ -231,6 +233,8 @@ export default function PcFundTable({ { accessorKey: 'holdingAmount', header: '持仓金额', + size: 135, + minSize: 100, cell: (info) => { const original = info.row.original || {}; if (original.holdingAmountValue == null) { @@ -288,6 +292,8 @@ export default function PcFundTable({ { accessorKey: 'todayProfit', header: '当日收益', + size: 135, + minSize: 100, cell: (info) => { const original = info.row.original || {}; const value = original.todayProfitValue; @@ -307,7 +313,7 @@ export default function PcFundTable({ { accessorKey: 'holdingProfit', header: '持有收益', - size: 140, + size: 135, minSize: 100, cell: (info) => { const original = info.row.original || {}; diff --git a/app/globals.css b/app/globals.css index 223ad9d..69f4106 100644 --- a/app/globals.css +++ b/app/globals.css @@ -804,7 +804,7 @@ input[type="number"] { } .table-header-row-scroll { - padding: 16px 24px; + padding: 16px 14px; background: rgba(255, 255, 255, 0.05); border-bottom: 1px solid var(--border); } @@ -897,7 +897,7 @@ input[type="number"] { grid-template-columns: 2.2fr 0.8fr 1fr 1fr 1.2fr 1.2fr 1.2fr 0.5fr; align-items: center; gap: 12px; - padding: 12px 24px !important; + padding: 12px 14px !important; border-bottom: 1px solid var(--border); } @@ -913,7 +913,7 @@ input[type="number"] { display: grid; grid-template-columns: 2.2fr 0.8fr 1fr 1fr 1.2fr 1.2fr 1.2fr 0.5fr; gap: 12px; - padding: 16px 24px; + padding: 16px 14px; background: #2a394b; border-bottom: 1px solid var(--border); }