From 158f1226785e53721eb5dd4a28109b4ca0cea8e5 Mon Sep 17 00:00:00 2001 From: zzlgreat Date: Wed, 7 Jan 2026 13:12:27 +0800 Subject: [PATCH] =?UTF-8?q?community=E5=A2=9E=E5=8A=A0=E4=BA=8B=E4=BB=B6?= =?UTF-8?q?=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Community/components/HeroPanel.js | 53 +++++++++++---------- 1 file changed, 28 insertions(+), 25 deletions(-) diff --git a/src/views/Community/components/HeroPanel.js b/src/views/Community/components/HeroPanel.js index 1f0d5a72..d9493591 100644 --- a/src/views/Community/components/HeroPanel.js +++ b/src/views/Community/components/HeroPanel.js @@ -1195,30 +1195,31 @@ const DetailModal = ({ isOpen, onClose, selectedDate, ztDetail, events, loading - {/* 相关股票详情抽屉 */} - { setStocksDrawerVisible(false); setExpandedReasons({}); }} + size="6xl" + scrollBehavior="inside" > - - + - - + - 相关股票 + 相关股票 {selectedEventTitle && ( - + {selectedEventTitle} )} @@ -1228,25 +1229,27 @@ const DetailModal = ({ isOpen, onClose, selectedDate, ztDetail, events, loading {stockQuotesLoading && } - - + + + {selectedEventStocks && selectedEventStocks.length > 0 ? ( - record.code} - size="middle" - pagination={false} - scroll={{ y: 500 }} - /> + +
record.code} + size="middle" + pagination={false} + /> + ) : (
暂无相关股票
)} - - - + + + ); };