@if(!empty($paperQuestionNumber))
    <div class="pb-question-view-number">
        <div>
            @if($paperQuestionNumberCount>1)
                第 {{$paperQuestionNumber}}-{{$paperQuestionNumber+$paperQuestionNumberCount-1}} 题
            @else
                第 {{$paperQuestionNumber}} 题
            @endif
            &nbsp;&nbsp;
            <i class="ub-icon-server"></i>{{\ModStart\Core\Type\TypeUtil::name(\Module\Question\Type\QuestionType::class,\Module\Question\Type\QuestionType::GROUP)}}
        </div>
    </div>
@endif
<div class="ub-panel pb-question-view">
    @if(empty($paperQuestionNumber))
        <div class="head">
            {{\ModStart\Core\Type\TypeUtil::name(\Module\Question\Type\QuestionType::class,\Module\Question\Type\QuestionType::GROUP)}}
        </div>
    @endif
    <div class="body">

        <div class="question">
            <div class="question">
                {!! $questionData['question']['question'] !!}
            </div>
        </div>

        <div class="question-items">

            <?php $questionItemNumber = 1; ?>
            @foreach($questionData['items'] as $questionItemIndex=>$questionItem)
                @if($questionItem['question']['type']==\Module\Question\Type\QuestionType::SINGLE_CHOICE)
                    @include('module::Paper.View.pc.memberPaperExam.question.viewGroupSingleChoice')
                @elseif($questionItem['question']['type']==\Module\Question\Type\QuestionType::MULTI_CHOICES)
                    @include('module::Paper.View.pc.memberPaperExam.question.viewGroupMultiChoices')
                @elseif($questionItem['question']['type']==\Module\Question\Type\QuestionType::TRUE_FALSE)
                    @include('module::Paper.View.pc.memberPaperExam.question.viewGroupTrueFalse')
                @elseif($questionItem['question']['type']==\Module\Question\Type\QuestionType::FILL)
                    @include('module::Paper.View.pc.memberPaperExam.question.viewGroupFill')
                    <?php $questionItemNumber+=count($questionItem['answers'])-1; ?>
                @elseif($questionItem['question']['type']==\Module\Question\Type\QuestionType::TEXT)
                    @include('module::Paper.View.pc.memberPaperExam.question.viewGroupText')
                @endif
                <?php $questionItemNumber++; ?>
            @endforeach

        </div>

        <div class="question question-analysis">
            <div class="answer-result">
                <div class="analysis" data-analysis>
                    <div class="analysis-head"><i class="ub-icon-list-alt"></i> 解析</div>
                    <div class="analysis-body ub-html">
                        @if($questionData['analysis']['analysis'])
                            {!! $questionData['analysis']['analysis'] !!}
                        @else
                            <div class="ub-empty">
                                无
                            </div>
                        @endif
                    </div>
                </div>
            </div>
        </div>

    </div>
</div>
