diff --git a/src/views/Company/components/CompanyOverview/DeepAnalysisTab/components/StrategyAnalysisCard.tsx b/src/views/Company/components/CompanyOverview/DeepAnalysisTab/components/StrategyAnalysisCard.tsx index e01ed7dc..ab61cecf 100644 --- a/src/views/Company/components/CompanyOverview/DeepAnalysisTab/components/StrategyAnalysisCard.tsx +++ b/src/views/Company/components/CompanyOverview/DeepAnalysisTab/components/StrategyAnalysisCard.tsx @@ -25,8 +25,6 @@ import type { Strategy } from '../types'; // 样式常量 - 避免每次渲染创建新对象 const CARD_STYLES = { bg: 'transparent', - border: '1px solid', - borderColor: 'yellow.600', shadow: 'md', } as const; @@ -48,6 +46,7 @@ const GRID_RESPONSIVE_COLSPAN = { base: 2, md: 1 } as const; interface StrategyAnalysisCardProps { strategy: Strategy; + cardBg?: string; } // 空状态组件 - 独立 memo 避免重复渲染 @@ -74,15 +73,13 @@ interface ContentItemProps { } const ContentItem = memo(({ title, content }) => ( - + {title} - - - {content} - - + + {content} + )); @@ -101,27 +98,29 @@ const StrategyAnalysisCard: React.FC = memo( - 战略分析 + 战略分析 {!hasData ? ( ) : ( - - - - - - - - + + + + + + + + + + )}