From caff57d1f171869cda7d337ba901049a8e2bbe18 Mon Sep 17 00:00:00 2001 From: zdl <3489966805@qq.com> Date: Fri, 26 Dec 2025 15:41:36 +0800 Subject: [PATCH] =?UTF-8?q?style(DeepAnalysisTab):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E7=BB=93=E6=9E=84=E5=88=86=E6=9E=90=E9=85=8D?= =?UTF-8?q?=E8=89=B2=E6=8F=90=E9=AB=98=E8=BE=A8=E8=AF=86=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - BusinessTreeItem: 营收占比、毛利率标签改为白色 - BusinessSegmentsCard: 内容文字从金色改为白色 - 小标题(业务描述/竞争地位/未来潜力)改为金色加粗 - 配色层次:金色加粗(小标题) → 白色(内容) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../atoms/BusinessTreeItem.tsx | 4 ++-- .../components/BusinessSegmentsCard.tsx | 21 ++++++++++--------- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/src/views/Company/components/CompanyOverview/DeepAnalysisTab/atoms/BusinessTreeItem.tsx b/src/views/Company/components/CompanyOverview/DeepAnalysisTab/atoms/BusinessTreeItem.tsx index b2366cf4..635f029c 100644 --- a/src/views/Company/components/CompanyOverview/DeepAnalysisTab/atoms/BusinessTreeItem.tsx +++ b/src/views/Company/components/CompanyOverview/DeepAnalysisTab/atoms/BusinessTreeItem.tsx @@ -58,10 +58,10 @@ const BusinessTreeItem: React.FC = ({ business, depth = 0 )} - + 营收占比: {formatPercentage(business.financial_metrics?.revenue_ratio)} - + 毛利率: {formatPercentage(business.financial_metrics?.gross_margin)} {business.growth_metrics?.revenue_growth !== undefined && ( diff --git a/src/views/Company/components/CompanyOverview/DeepAnalysisTab/components/BusinessSegmentsCard.tsx b/src/views/Company/components/CompanyOverview/DeepAnalysisTab/components/BusinessSegmentsCard.tsx index fb6974e9..4d5158b1 100644 --- a/src/views/Company/components/CompanyOverview/DeepAnalysisTab/components/BusinessSegmentsCard.tsx +++ b/src/views/Company/components/CompanyOverview/DeepAnalysisTab/components/BusinessSegmentsCard.tsx @@ -29,8 +29,9 @@ const THEME = { innerCardBg: 'gray.700', gold: '#F4D03F', goldLight: '#F0D78C', - textPrimary: '#F4D03F', - textSecondary: 'gray.400', + textTitle: '#F4D03F', // 标题用金色 + textContent: 'white', // 内容用白色,提高辨识度 + textSecondary: 'gray.400', // 小标题用灰色 border: 'rgba(212, 175, 55, 0.3)', }; @@ -53,7 +54,7 @@ const BusinessSegmentsCard: React.FC = ({ - 业务板块详情 + 业务板块详情 {businessSegments.length} 个板块 @@ -67,7 +68,7 @@ const BusinessSegmentsCard: React.FC = ({ - + {segment.segment_name}