import StatusDot from './StatusDot.jsx' // 看板卡片 (T-UI-02): 轻量化 // - 标题 + 状态点 (T-ST-09) // - 负责人 12px/600 突出 (T-AS-01); 任务成员 10.5px 弱化置于下方 (T-AS-02) // - 子任务内嵌简洁展示 + 可直接勾选 (T-ST-06/07) const MAX_SUB = 3 export default function TaskCard({ task, bindDrag, onClick, onToggleSub, onToggle, onMore, dragging = false, highlight = false, }) { const children = task.children || [] const shown = children.slice(0, MAX_SUB) const rest = children.length - shown.length return (