feat: 热点事件UI调整

This commit is contained in:
zdl
2025-10-27 15:59:13 +08:00
parent 629c63f4ee
commit e568b5e05f
6 changed files with 11 additions and 19 deletions

View File

@@ -37,13 +37,14 @@ const EventTimelineCard = forwardRef(({
onSearch,
onPageChange,
onEventClick,
onViewDetail
onViewDetail,
...rest
}, ref) => {
const cardBg = useColorModeValue('white', 'gray.800');
const borderColor = useColorModeValue('gray.200', 'gray.700');
return (
<Card ref={ref} bg={cardBg} borderColor={borderColor} mb={4}>
<Card ref={ref} {...rest} bg={cardBg} borderColor={borderColor} mb={4}>
{/* 标题部分 */}
<CardHeader>
<EventTimelineHeader lastUpdateTime={lastUpdateTime} />