@extends($_viewFrame)

@section('pageTitleMain','考试'.htmlspecialchars($paper['title']))

{!! \ModStart\ModStart::css('vendor/Question/style/question.css') !!}
{!! \ModStart\ModStart::css('vendor/Paper/style/paper.css') !!}

@section('bodyAppend')
    <script src="@asset('asset/vendor/vue.js')"></script>
    <script src="@asset('asset/vendor/element-ui/index.js')"></script>
    <script>
        window.__data = {
            paper:{!! json_encode($paper) !!},
            IsMobile: false,
            url: {
                ExamStartUrl: "/paper_exam/start/{{$paper['alias']}}",
                ExamSubmitUrl: "/paper_exam/submit/{{$paper['alias']}}",
                ExamSaveUrl: "/paper_exam/save/{{$paper['alias']}}",
            }
        }
    </script>
    <script src="@asset('vendor/Paper/entry/paperExam.js')"></script>
@endsection

@section('bodyContent')
    <div id="app"></div>
@endsection