feat: UI调整

This commit is contained in:
zdl
2025-12-10 10:09:24 +08:00
parent 9423094af2
commit 3382dd1036
9 changed files with 200 additions and 108 deletions

View File

@@ -66,21 +66,21 @@ const CompanyIndex = () => {
return (
<Container maxW="container.xl" py={0} bg='#1A202C'>
<VStack align="stretch" spacing={0}>
{/* 页面头部:标题、搜索、自选股按钮 */}
{/* 页面头部:标题、搜索 */}
<CompanyHeader
stockCode={stockCode}
inputCode={inputCode}
onInputChange={setInputCode}
onSearch={handleSearch}
onKeyPress={handleKeyPress}
isInWatchlist={isInWatchlist}
isWatchlistLoading={isWatchlistLoading}
onWatchlistToggle={handleWatchlistToggle}
bgColor="#1A202C"
/>
{/* 股票行情卡片:价格、关键指标、主力动态 */}
<StockQuoteCard />
{/* 股票行情卡片:价格、关键指标、主力动态、自选股按钮 */}
<StockQuoteCard
isInWatchlist={isInWatchlist}
isWatchlistLoading={isWatchlistLoading}
onWatchlistToggle={handleWatchlistToggle}
/>
{/* Tab 切换区域:概览、行情、财务、预测 */}
<CompanyTabs stockCode={stockCode} onTabChange={trackTabChanged} bgColor="#1A202C"/>