diff --git a/src/views/Community/components/EventCard/DynamicNewsEventCard.js b/src/views/Community/components/EventCard/DynamicNewsEventCard.js index 71806135..cfc31d3a 100644 --- a/src/views/Community/components/EventCard/DynamicNewsEventCard.js +++ b/src/views/Community/components/EventCard/DynamicNewsEventCard.js @@ -193,8 +193,11 @@ const DynamicNewsEventCard = ({ const periodLabel = getPeriodLabel(tradingPeriod); return ( - - + + {/* 右上角:重要性印章(放在卡片外层) */} + + + {/* 事件卡片 */} onEventClick?.(event)} > - {/* 右上角:重要性印章 */} - - - {/* 时间标签 - 在卡片上方,宽度自适应,左对齐 */} 0) { - const importanceLabel = importance.map(imp => `${imp}级`).join(', '); + const importanceMap = { 'S': '极高', 'A': '高', 'B': '中', 'C': '低' }; + const importanceLabel = importance.map(imp => importanceMap[imp] || imp).join(', '); tags.push({ key: 'importance', label: `重要性: ${importanceLabel}` }); } @@ -681,10 +682,10 @@ const UnifiedSearchBox = ({ placeholder="全部" maxTagCount={3} > - - - - + + + +