refactor: 调整事件详情面板中相关股票和相关概念的显示顺序
修改内容: - 将"相关股票"移到"相关概念"之前显示 - 优化用户体验,优先展示用户更关心的股票信息 新的显示顺序: 1. 事件描述 2. 相关股票 ← 现在排在前面 3. 相关概念 ← 现在排在后面 4. 历史事件对比 5. 传导链分析 修改文件: - src/views/Community/components/DynamicNewsDetail/DynamicNewsDetailPanel.js 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -196,13 +196,6 @@ const DynamicNewsDetailPanel = ({ event }) => {
|
|||||||
{/* 事件描述 */}
|
{/* 事件描述 */}
|
||||||
<EventDescriptionSection description={event.description} />
|
<EventDescriptionSection description={event.description} />
|
||||||
|
|
||||||
{/* 相关概念 */}
|
|
||||||
<RelatedConceptsSection
|
|
||||||
eventTitle={event.title}
|
|
||||||
effectiveTradingDate={event.trading_date || event.created_at}
|
|
||||||
eventTime={event.created_at}
|
|
||||||
/>
|
|
||||||
|
|
||||||
{/* 相关股票(可折叠) - 懒加载 */}
|
{/* 相关股票(可折叠) - 懒加载 */}
|
||||||
<CollapsibleSection
|
<CollapsibleSection
|
||||||
title="相关股票"
|
title="相关股票"
|
||||||
@@ -226,6 +219,13 @@ const DynamicNewsDetailPanel = ({ event }) => {
|
|||||||
)}
|
)}
|
||||||
</CollapsibleSection>
|
</CollapsibleSection>
|
||||||
|
|
||||||
|
{/* 相关概念 */}
|
||||||
|
<RelatedConceptsSection
|
||||||
|
eventTitle={event.title}
|
||||||
|
effectiveTradingDate={event.trading_date || event.created_at}
|
||||||
|
eventTime={event.created_at}
|
||||||
|
/>
|
||||||
|
|
||||||
{/* 历史事件对比(可折叠) - 懒加载 */}
|
{/* 历史事件对比(可折叠) - 懒加载 */}
|
||||||
<CollapsibleSection
|
<CollapsibleSection
|
||||||
title="历史事件对比"
|
title="历史事件对比"
|
||||||
|
|||||||
Reference in New Issue
Block a user