diff --git a/src/views/Community/components/EventDailyStats.js b/src/views/Community/components/EventDailyStats.js
index 740c6b7a..d59b5069 100644
--- a/src/views/Community/components/EventDailyStats.js
+++ b/src/views/Community/components/EventDailyStats.js
@@ -465,6 +465,21 @@ const EventDailyStats = () => {
)}
+ {/* 今天按钮 - 仅在查看历史时显示 */}
+ {!isToday && (
+ setSelectedDate('')}
+ >
+ 今天
+
+ )}
{
);
};
+/**
+ * 右侧 Tab 面板 - 连板情绪监测 / 综合日历
+ */
+const RightPanelTabs = () => {
+ const [activeTab, setActiveTab] = useState('comet');
+
+ return (
+
+ {/* Tab 切换头 */}
+
+ setActiveTab('comet')}
+ >
+
+
+ 连板情绪监测
+
+
+ setActiveTab('calendar')}
+ >
+
+
+ 事件日历
+
+
+
+
+ {/* Tab 内容区域 */}
+
+ {activeTab === 'comet' ? (
+
+ ) : (
+
+ )}
+
+
+ );
+};
+
/**
* 使用说明弹窗组件
*/
@@ -2710,36 +2785,16 @@ const HeroPanel = () => {
- {/* AI舆情时空决策驾驶舱 - 左侧连板情绪,中间今日统计,右侧日历 */}
+ {/* AI舆情时空决策驾驶舱 - 左侧今日统计(2/5),右侧Tab切换(3/5) */}
- {/* 左侧:连板情绪监测 */}
-
- {
- // 当用户点击某个主题时,可以展示相关股票
- if (data?.stocks?.length > 0) {
- setSelectedSectorInfo({
- name: data.theme.label,
- count: data.stocks.length,
- stocks: data.stocks.map((s) => ({
- ...s,
- _continuousDays: parseInt(s.continuous_days) || 1,
- })),
- });
- setSectorStocksModalVisible(true);
- }
- }}
- />
-
-
- {/* 中间:今日事件统计 */}
-
+ {/* 左侧:今日事件统计 */}
+
- {/* 右侧:综合日历 */}
-
-
+ {/* 右侧:连板情绪 / 日历 Tab 切换 */}
+
+