<div class="pb-question-view-number">
    <div>
        @if($paperQuestionNumberCount>1)
            第 {{$paperQuestionNumber}}-{{$paperQuestionNumber+$paperQuestionNumberCount-1}} 题
        @else
            第 {{$paperQuestionNumber}} 题
        @endif
        &nbsp;&nbsp;
        <i class="ub-icon-pencil"></i>填空题
    </div>
</div>
<div class="ub-panel pb-question-view">
    <div class="body">

        <div class="question" data-question-type="fill" data-question-alias="{{$questionData['question']['alias']}}">
            <div class="question">
                {!! $questionData['question']['question'] !!}
            </div>
            <div class="answer-result">
                <div class="answer" data-answer>
                    <div class="answer-head"><i class="ub-icon-gavel"></i> 答案</div>
                    <div class="answer-body">
                        @foreach($questionData['answers'] as $answer)
                            <div class="ub-html">
                                {!! $answer['answer'] !!}
                            </div>
                        @endforeach
                    </div>
                </div>
                <div class="my-answer">
                    @foreach($paperExamQuestions[$paperQuestionIndex]['answer'] as $index=>$answer)
                        @if(\Module\Paper\Util\PaperExamUtil::isTextCorrect($questionData['answers'][$index]['answer'],$answer))
                            <div class="ub-alert ub-alert-success">
                                <div class="label">我的答案{{$index+1}}</div>
                                {!! $answer !!}
                            </div>
                        @else
                            <div class="ub-alert ub-alert-danger">
                                <div class="label">我的答案{{$index+1}}</div>
                                {!! $answer !!}
                            </div>
                        @endif
                    @endforeach
                </div>
                @if(\Module\Question\Util\QuestionUtil::hasContent($questionData['analysis']['analysis']))
                    <div class="analysis" data-answer>
                        <div class="analysis-head"><i class="ub-icon-list-alt"></i> 解析</div>
                        <div class="analysis-body">
                            {!! $questionData['analysis']['analysis'] !!}
                        </div>
                    </div>
                @endif
            </div>
        </div>

    </div>
</div>
