{% if report_title %}
{{ report_title }}
生成日期:{{ date }}
{% endif %} {% if sections|length > 1 %}
摘要
{{ overall_summary }}
{# sections 是任务列表,每个 section 包含: - title: 任务标题(str) - icon: Bootstrap Icon 类名,如 bi-graph-up-arrow(str,可选,缺省按序循环) - html_fragment: 该任务下所有子任务的 HTML 片段(str),由 LLM 生成 #} {% set border_colors = ['border-blue-500','border-green-500','border-purple-500','border-orange-500','border-pink-500','border-teal-500'] %} {% set icon_colors = ['text-blue-500','text-green-500','text-purple-500','text-orange-500','text-pink-500','text-teal-500'] %} {% set icons = ['bi-bar-chart-line','bi-graph-up-arrow','bi-pie-chart','bi-clipboard-data','bi-table','bi-activity'] %}
{% for section in sections %} {% set ci = loop.index0 % 6 %}
{{ section.title }}
{% endfor %}
{# html_fragment 内部,每一个独立分析点必须使用以下卡片结构包裹:
子任务标题
关键发现:
核心结论...
#} {% for section in sections %}
{{ section.html_fragment }}
{% endfor %} {% else %} {# sections 只有 1 个时,直接展示内容 #} {% for section in sections %} {{ section.html_fragment }} {% endfor %} {% endif %}