feat: 提取交易日期

This commit is contained in:
zdl
2025-11-02 16:41:55 +08:00
parent 0110dc2fdc
commit 7ae4bc418f
2 changed files with 11 additions and 6 deletions

View File

@@ -96,14 +96,14 @@ const RelatedConceptsSection = ({ keywords, effectiveTradingDate, eventTime }) =
))} ))}
</Flex> </Flex>
{/* 详细模式:卡片网格(可折叠) */}
<Collapse in={isExpanded} animateOpacity>
{/* 交易日期信息 */} {/* 交易日期信息 */}
<TradingDateInfo <TradingDateInfo
effectiveTradingDate={effectiveTradingDate} effectiveTradingDate={effectiveTradingDate}
eventTime={eventTime} eventTime={eventTime}
/> />
{/* 详细模式:卡片网格(可折叠) */}
<Collapse in={isExpanded} animateOpacity>
{/* 详细概念卡片网格 */} {/* 详细概念卡片网格 */}
<SimpleGrid columns={{ base: 1, md: 2 }} spacing={4}> <SimpleGrid columns={{ base: 1, md: 2 }} spacing={4}>
{keywords.map((concept, index) => ( {keywords.map((concept, index) => (

View File

@@ -0,0 +1,5 @@
// src/views/Community/components/DynamicNewsDetail/index.js
// 统一导出 DynamicNewsDetailPanel 组件
export { default } from './DynamicNewsDetailPanel';
export { default as DynamicNewsDetailPanel } from './DynamicNewsDetailPanel';