update ui

This commit is contained in:
2025-11-13 16:07:14 +08:00
parent 1d9b50a94e
commit 5aa0507a65
4 changed files with 1086 additions and 9 deletions

View File

@@ -24,6 +24,7 @@ import {
// 导入组件
import DynamicNewsCard from './components/DynamicNewsCard';
import HotEventsSection from './components/HotEventsSection';
import HeroPanel from './components/HeroPanel';
// 导入自定义 Hooks
import { useEventData } from './hooks/useEventData';
@@ -175,11 +176,9 @@ const Community = () => {
</HStack>
</Alert>
)}
{/* 热点事件区域 */}
<HotEventsSection
events={hotEvents}
onEventClick={communityEvents.trackNewsArticleClicked}
/>
{/* 顶部说明面板:产品介绍 + 沪深指数 + 热门概念词云 */}
<HeroPanel />
{/* 实时要闻·动态追踪 - 横向滚动 */}
<DynamicNewsCard
@@ -198,6 +197,12 @@ const Community = () => {
trackRelatedStockClicked: communityEvents.trackRelatedStockClicked,
}}
/>
{/* 热点事件区域 - 移至底部 */}
<HotEventsSection
events={hotEvents}
onEventClick={communityEvents.trackNewsArticleClicked}
/>
</Container>
</Box>
);