'use client'; export interface ActivityItem { id: string; text: string; time: string; type: 'order' | 'money' | 'ticket' | 'system'; } interface RecentActivitiesProps { activities: ActivityItem[]; loading: boolean; } export default function RecentActivities({ activities, loading }: RecentActivitiesProps) { return (

[ 04 // SYSTEM EVENT LOGS // 最新系统流转动态 ]

[ TELEMETRY-STREAM ]
{loading && activities.length === 0 ? (
[ LOADING EVENT LOGS... ]
) : activities.length === 0 ? (
[ 暂无最新动态事件记录 ]
) : (
{activities.map((item) => (

{item.text}

{item.time}

))}
)}
); }