feat: UI调整
This commit is contained in:
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user