From d083ab3aa292b0de1eddf6d4388f657847261bf3 Mon Sep 17 00:00:00 2001 From: zdl <3489966805@qq.com> Date: Fri, 26 Dec 2025 18:50:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=9B=88=E5=88=A9?= =?UTF-8?q?=E9=A2=84=E6=B5=8B=E8=AF=A6=E7=BB=86=E8=A1=A8=E6=A0=BC=E6=82=AC?= =?UTF-8?q?=E5=81=9C=E8=83=8C=E6=99=AF=E8=89=B2=E6=9C=AA=E7=94=9F=E6=95=88?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加通用行悬停 CSS 规则覆盖所有单元格 - 确保偶数行和奇数行悬停背景色一致 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/views/Company/components/ForecastReport/constants.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/views/Company/components/ForecastReport/constants.ts b/src/views/Company/components/ForecastReport/constants.ts index 270261c5..df9de8f1 100644 --- a/src/views/Company/components/ForecastReport/constants.ts +++ b/src/views/Company/components/ForecastReport/constants.ts @@ -129,6 +129,11 @@ export const DETAIL_TABLE_STYLES = ` background: rgba(156, 163, 175, 0.15) !important; } + /* 所有行悬停背景色 - 统一浅灰色 */ + .forecast-detail-table .ant-table-tbody > tr:hover > td { + background: rgba(156, 163, 175, 0.15) !important; + } + /* 指标标签样式 - 统一字体字号和粗细 */ .forecast-detail-table .metric-tag { background: rgba(212, 175, 55, 0.15);