{{-- OCR 识别结果弹窗 --}} @if($showResults)

OCR 识别结果

{{-- 试卷信息 --}}

试卷信息

试卷名称: {{ $paperInfo['name'] ?? '未知' }}
试卷类型: {{ $paperInfo['type'] ?? '未知' }}
题目数量: {{ $paperInfo['total_questions'] ?? 0 }} 道
{{-- 识别到的题目 --}}

识别到的题目

@foreach($questions as $index => $question)
第 {{ $question['question_number'] ?? ($index + 1) }} 题 {{ ($question['question_type'] ?? '未知') }}

{{ $question['question_text'] ?? $question['content'] ?? '' }}

{{-- 选择题选项 --}} @if(($question['question_type'] ?? '') === 'choice' && !empty($question['options']))
@foreach($question['options'] as $option)
{{ $option['key'] ?? '' }}. {{ $option['value'] ?? '' }}
@endforeach
@endif {{-- 正确答案提示 --}} @if(!empty($question['correct_answer']))
参考答案:{{ $question['correct_answer'] }}
@else
未找到参考答案
@endif
@endforeach
{{-- 操作按钮 --}}
@endif