@if (wechatHint()) {

提示

微信不支持直接下载 PDF,请点击右上角菜单选择“在浏览器中打开”

点击右上角 ⋯ → 在浏览器中打开
}
PDF 导出预览{{ article()?.content?.split(' ')?.length || 0 }} words
@if (loading()) {
正在加载打印内容
} @else if (error()) {
{{ error() }}
} @else {

{{ article()?.title }}

{{ article()?.createOptions?.params?.level }}{{ article()?.createOptions?.params?.type }}{{ article()?.createOptions?.params?.theme }}{{ questions().length }} 道题

Questions

@for (question of questions(); track question.objectId; let index = $index) {

{{ index + 1 }}. {{ question.title }}

@for (option of question.options; track option.value; let optionIndex = $index) {

{{ optionLabels[optionIndex] }}. {{ option.value }}

}
}

Answers and Explanations

@for (question of questions(); track question.objectId; let index = $index) {

Question {{ index + 1 }}: {{ question.title }}

@for (option of question.options; track option.value; let optionIndex = $index) {

{{ optionLabels[optionIndex] }}. {{ option.value }} @if (option.check) { 正确答案 }

@if (option.answer) { {{ option.answer }} }
}@if (question.answer) {
{{ question.answer }}
}
}
}