import { site } from "@/content/site"; type Report = (typeof site.intelligentReport.reports)[number]; type SkillExampleContentProps = { report: Report; }; /** * 示例报告内容渲染 — 卡片弹窗与详情页「示例报告」tab 共用同一套结构与样式。 * 外层(overlay/dialog/footer)由各自调用方自行包裹。 */ export function SkillExampleContent({ report }: SkillExampleContentProps) { return (

{report.audience}

{report.example.title}

{report.example.meta}

{report.example.sections.map((sec) => (

{sec.heading}

{"body" in sec && sec.body ? (

{sec.body}

) : null} {"bullets" in sec && sec.bullets ? (
    {sec.bullets.map((item) => (
  • {item}
  • ))}
) : null}
))}
); }