{{ exam.title }}
总分:{{ exam.config.total_score or '100' }}分 时间:{{ exam.config.time_limit or '60' }}分钟 题量:{{ exam.questions | length }}题
{% for section in sections %}
{{ section.title }}(共{{ section.section_score }}分)
{% if section.instructions %}
{{ section.instructions }}
{% endif %} {% for qid in section.question_ids %} {% set q = questions | selectattr('id', 'equalto', qid) | first %} {% if q %}
{{ loop.index }}. ({{ q.score or 1 }}分)
{{ q.content.stem }}
{% if q.content.material %}
{{ q.content.material }}
{% endif %} {% if q.content.options %}
{% for opt in q.content.options %}
{{ opt.label }}. {{ opt.text }}
{% endfor %}
{% endif %} {% if q.question_type and q.question_type.value in ['选择题', '填空题', '默写'] %}
{% else %}
{% endif %}
{% endif %} {% endfor %}
{% endfor %}