事件中心的涨停原因里面和事件相关

This commit is contained in:
2026-01-12 07:46:36 +08:00
parent 07bb1259ef
commit 467a8c6616
5 changed files with 47 additions and 7 deletions

View File

@@ -523,7 +523,7 @@ const MainlineTimelineViewComponent = forwardRef(
const [mainlineData, setMainlineData] = useState(null);
const [expandedGroups, setExpandedGroups] = useState({});
// 概念级别选择: 'lv1' | 'lv2' | 'lv3' | 具体概念ID如 L1_TMT, L2_AI_INFRA, L3_AI_CHIP
const [groupBy, setGroupBy] = useState("lv2");
const [groupBy, setGroupBy] = useState("lv3");
// 层级选项(从 API 获取)
const [hierarchyOptions, setHierarchyOptions] = useState({ lv1: [], lv2: [], lv3: [] });
// 排序方式: 'event_count' | 'change_desc' | 'change_asc'

View File

@@ -2056,10 +2056,44 @@ const DetailModal = ({ isOpen, onClose, selectedDate, ztDetail, events, loading
fontSize="md"
lineHeight="1.8"
sx={{
'& p': { mb: 4 },
// 确保所有文本元素都使用浅色
'& *': { color: 'inherit' },
'& p': { mb: 4, color: 'whiteAlpha.900' },
'& h1, & h2, & h3': { color: 'gold', mb: 3 },
'& ul, & ol': { pl: 6 },
'& li': { mb: 2 },
'& h4, & h5, & h6': { color: 'whiteAlpha.900', mb: 2 },
'& ul, & ol': { pl: 6, color: 'whiteAlpha.900' },
'& li': { mb: 2, color: 'whiteAlpha.900' },
'& a': { color: 'cyan.300', textDecoration: 'underline' },
'& strong, & b': { color: 'gold', fontWeight: 'bold' },
'& em, & i': { color: 'whiteAlpha.800' },
'& code': {
color: 'orange.300',
bg: 'whiteAlpha.100',
px: 1,
borderRadius: 'sm',
fontSize: 'sm',
},
'& pre': {
bg: 'whiteAlpha.100',
p: 3,
borderRadius: 'md',
overflow: 'auto',
'& code': { bg: 'transparent', p: 0 },
},
'& blockquote': {
borderLeft: '3px solid',
borderColor: 'gold',
pl: 4,
ml: 0,
color: 'whiteAlpha.700',
fontStyle: 'italic',
},
'& table': {
width: '100%',
'& th': { color: 'gold', borderBottom: '1px solid rgba(255,215,0,0.3)', p: 2 },
'& td': { color: 'whiteAlpha.900', borderBottom: '1px solid rgba(255,255,255,0.1)', p: 2 },
},
'& hr': { borderColor: 'whiteAlpha.200', my: 4 },
}}
>
<ReactMarkdown>