style(MarketDataView): 缩小页面间距

- Container py: 6 → 4
- VStack spacing: 6 → 4

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
zdl
2025-12-19 17:02:01 +08:00
parent 08842b9097
commit 11544909d3
6 changed files with 31 additions and 10 deletions

View File

@@ -72,6 +72,7 @@ const BasicInfoTab: React.FC<BasicInfoTabProps> = ({
onTabChange={onTabChange}
themePreset="blackGold"
compact
size="sm"
contentPadding={0}
/>
);

View File

@@ -75,6 +75,7 @@ const DeepAnalysisTab: React.FC<DeepAnalysisTabProps> = ({
onTabChange={onTabChange}
componentProps={{}}
themePreset="blackGold"
size="sm"
/>
<LoadingState message="加载数据中..." height="200px" />
</CardBody>
@@ -99,6 +100,7 @@ const DeepAnalysisTab: React.FC<DeepAnalysisTabProps> = ({
onToggleSegment,
}}
themePreset="blackGold"
size="sm"
/>
</CardBody>
</Card>

View File

@@ -59,6 +59,7 @@ const DynamicTracking = ({ stockCode: propStockCode }) => {
index={activeTab}
onTabChange={(index) => setActiveTab(index)}
isLazy
size="sm"
/>
</Box>
);

View File

@@ -213,6 +213,7 @@ const FinancialPanorama: React.FC<FinancialPanoramaProps> = ({ stockCode: propSt
componentProps={componentProps}
themePreset="blackGold"
isLazy
size="sm"
onTabChange={handleTabChange}
rightElement={
<PeriodSelector

View File

@@ -125,8 +125,8 @@ const MarketDataView: React.FC<MarketDataViewProps> = ({ stockCode: propStockCod
return (
<Box bg={'#1A202C'} minH="100vh" color={theme.textPrimary}>
<Container maxW="container.xl" py={6}>
<VStack align="stretch" spacing={6}>
<Container maxW="container.xl" py={4}>
<VStack align="stretch" spacing={4}>
{/* 股票概览 */}
{summary && <StockSummaryCard summary={summary} theme={theme} />}
@@ -153,6 +153,7 @@ const MarketDataView: React.FC<MarketDataViewProps> = ({ stockCode: propStockCod
index={activeTab}
onTabChange={handleTabChange}
isLazy
size="sm"
/>
</VStack>
</Container>