Files
report-admin/templates/era2/sections/action_guide.html
T
lofyerandfactory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com> 71db82393a Initial commit
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
2026-07-13 15:38:41 +08:00

76 lines
3.4 KiB
HTML

{# 第十一部分:实践落地行动指南(拆分为并行segment,动态编号) #}
{% set ns = namespace(idx=0) %}
{# 章节小节编号:中文用一二三..,英文用 I II III.. #}
{% set ag_section_labels = ag_section_labels if ag_section_labels is defined else (cn_nums if cn_nums is defined else ['I.','II.','III.','IV.','V.','VI.','VII.','VIII.','IX.']) %}
<div class="section" id="action-guide">
<h1>{{ t.p11_h1 }}</h1>
<p class="section-intro" style="color:#555; font-style:italic; margin-bottom:1.5em; border-left:4px solid #2563eb; padding-left:12px;">
{{ t.p11_intro }}
</p>
{# ===== 战略聚焦:最紧迫的三件事(从第十部分引用,再次强化) ===== #}
{% if llm_sections.get('part10_top3_priorities') %}
<div class="top3-box" style="background: linear-gradient(135deg, #fef2f2, #fee2e2); border: 2px solid #dc2626; border-radius: 12px; padding: 24px; margin: 0 0 24px 0;">
<h2 style="color: #991b1b; margin: 0 0 12px 0; font-size: 18px;">{{ t.p11_focus_title }}</h2>
<p style="color: #7f1d1d; font-size: 14px; margin: 0 0 16px 0;">{{ t.p11_focus_intro | safe }}</p>
<div class="llm-analysis" style="color: #7f1d1d;">
{{ llm_sections.get('part10_top3_priorities') | safe }}
</div>
</div>
{% endif %}
{# ===== 急需突破(水平1)——重点展开 ===== #}
{% if llm_sections.get('part11_critical') %}
<h2 id="action-critical">{{ ag_section_labels[ns.idx] }} {{ t.p11_critical }}</h2>
{% set ns.idx = ns.idx + 1 %}
<div class="llm-analysis">
{{ llm_sections.get('part11_critical') | safe }}
</div>
{% endif %}
{# ===== 重点攻关(水平2)——重点展开 ===== #}
{% if llm_sections.get('part11_attention') %}
<h2 id="action-attention">{{ ag_section_labels[ns.idx] }} {{ t.p11_attention }}</h2>
{% set ns.idx = ns.idx + 1 %}
<div class="llm-analysis">
{{ llm_sections.get('part11_attention') | safe }}
</div>
{% endif %}
{# ===== 如果水平1和2都没有,显示提示 ===== #}
{% if not llm_sections.get('part11_critical') and not llm_sections.get('part11_attention') %}
<p style="color:#059669; margin:1em 0;">{{ t.p11_no_weak }}</p>
{% endif %}
{# ===== 稳步巩固(水平3)——精简概括 ===== #}
{% if llm_sections.get('part11_maintain') %}
<h2 id="action-maintain">{{ ag_section_labels[ns.idx] }} {{ t.p11_maintain }}</h2>
{% set ns.idx = ns.idx + 1 %}
<div class="llm-analysis">
{{ llm_sections.get('part11_maintain') | safe }}
</div>
{% endif %}
{# ===== 深化引领(水平4)——精简概括 ===== #}
{% if llm_sections.get('part11_excel') %}
<h2 id="action-excel">{{ ag_section_labels[ns.idx] }} {{ t.p11_excel }}</h2>
{% set ns.idx = ns.idx + 1 %}
<div class="llm-analysis">
{{ llm_sections.get('part11_excel') | safe }}
</div>
{% endif %}
{# ===== 学期行动时间表 ===== #}
<h2 id="action-timeline">{{ ag_section_labels[ns.idx] }} {{ t.p11_timeline }}</h2>
{% set ns.idx = ns.idx + 1 %}
<div class="llm-analysis">
{{ llm_sections.get('part11_timeline', '<p>' + t.p11_timeline_loading + '</p>') | safe }}
</div>
<p class="section-note" style="color:#888; font-size:0.9em; margin-top:2em; border-top:1px solid #eee; padding-top:1em;">
{{ t.p11_disclaimer | safe }}
</p>
</div>