diff --git a/src/views/Community/components/EventCard/HorizontalDynamicNewsEventCard.js b/src/views/Community/components/EventCard/HorizontalDynamicNewsEventCard.js index b8228cad..ae7143c1 100644 --- a/src/views/Community/components/EventCard/HorizontalDynamicNewsEventCard.js +++ b/src/views/Community/components/EventCard/HorizontalDynamicNewsEventCard.js @@ -22,7 +22,7 @@ import dayjs from 'dayjs'; import ImportanceStamp from './ImportanceStamp'; import EventTimeline from './EventTimeline'; import EventFollowButton from './EventFollowButton'; -import StockChangeIndicators from '../../../../components/StockChangeIndicators'; +import EventPriceDisplay from './EventPriceDisplay'; import KeywordsCarousel from './KeywordsCarousel'; /** @@ -38,7 +38,6 @@ import KeywordsCarousel from './KeywordsCarousel'; * @param {Function} props.onToggleFollow - 切换关注事件 * @param {Object} props.timelineStyle - 时间轴样式配置 * @param {string} props.borderColor - 边框颜色 - * @param {string} props.indicatorSize - 涨幅指标尺寸 ('default' | 'comfortable' | 'large') * @param {string} props.layout - 布局模式 ('vertical' | 'four-row'),影响时间轴竖线高度 */ const HorizontalDynamicNewsEventCard = React.memo(({ @@ -52,7 +51,6 @@ const HorizontalDynamicNewsEventCard = React.memo(({ onToggleFollow, timelineStyle, borderColor: timelineBorderColor, - indicatorSize = 'comfortable', layout = 'vertical', }) => { const importance = getImportanceConfig(event.importance); @@ -245,12 +243,12 @@ const HorizontalDynamicNewsEventCard = React.memo(({ - {/* 第二行:涨跌幅数据 */} -