{volist name="$question_type" id='type' key='type_k'}
{if condition="$type_k eq 1"} 一、 {/if} {if condition="$type_k eq 2"} 二、 {/if} {if condition="$type_k eq 3"} 三、 {/if} {if condition="$type_k eq 4"} 四、 {/if} {if condition="$type eq '1'"} 简单题、 {/if} {if condition="$type eq '2'"} 多选题、 {/if} {if condition="$type eq '3'"} 填空题、 {/if} {if condition="$type eq '4'"} 简单题、 {/if}
{volist name="$question_list[$type]" id="question" key="question_key"} {if condition="$question.question_type == '3'"}
{$question_key}、{$question.question|str_replace='______',"",###}(每个填空{$question.score}分)
{elseif condition="in_array($question.question_type,[1,2,4])"}
{$question_key}、{$question.question}({$question.score}分)
{/if} {if condition="$question.question_type eq 1"}
{volist name="$question.answer.content" id='content' key="content_key"} {/volist}
{/if} {if condition="$question.question_type eq 2"}
{volist name="$question.answer.content" id='content' key="content_key"} {/volist}
{/if} {if condition="$question.question_type eq 4"}
{/if} {/volist} {/volist}