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} + /> + ) : (
暂无相关股票
)} - - - + + + ); };