diff --git a/src/views/Company/components/FinancialPanorama/utils/chartOptions.ts b/src/views/Company/components/FinancialPanorama/utils/chartOptions.ts index 451108b1..357a21b6 100644 --- a/src/views/Company/components/FinancialPanorama/utils/chartOptions.ts +++ b/src/views/Company/components/FinancialPanorama/utils/chartOptions.ts @@ -127,7 +127,10 @@ export const getComparisonChartOption = ( }, }, legend: { - data: ['营业收入', '净利润'], + data: [ + { name: '营业收入', itemStyle: { color: '#EF4444' } }, + { name: '净利润', itemStyle: { color: fui.gold } }, + ], bottom: 0, textStyle: { color: '#A0AEC0', diff --git a/src/views/Company/components/ForecastReport/constants.ts b/src/views/Company/components/ForecastReport/constants.ts index ee9c7372..7146db92 100644 --- a/src/views/Company/components/ForecastReport/constants.ts +++ b/src/views/Company/components/ForecastReport/constants.ts @@ -129,22 +129,24 @@ export const DETAIL_TABLE_STYLES = ` background: #242d3d !important; } - /* 指标标签样式 */ + /* 指标标签样式 - 统一字体字号和粗细 */ .forecast-detail-table .metric-tag { background: rgba(212, 175, 55, 0.15); border-color: rgba(212, 175, 55, 0.3); color: #D4AF37; + font-size: 13px; font-weight: 500; } - /* 重要指标行高亮 */ + /* 重要指标行高亮 - 保持字体字号一致,仅背景色区分 */ .forecast-detail-table .important-row { background: rgba(212, 175, 55, 0.06) !important; } .forecast-detail-table .important-row .metric-tag { background: rgba(212, 175, 55, 0.25); color: #FFD700; - font-weight: 600; + font-size: 13px; + font-weight: 500; } /* 斑马纹 - 奇数行 */