| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- @props([
- 'questions' => ['choice' => [], 'fill' => [], 'answer' => []],
- 'student' => ['name' => '________', 'grade' => '________'],
- 'teacher' => ['name' => '________'],
- 'pdfMeta' => [],
- ])
- @php
- $gradingCode = $pdfMeta['exam_code'] ?? 'tem_preview';
- $studentName = $pdfMeta['student_name'] ?? ($student['name'] ?? '________');
- $paperHeaderTitle = $pdfMeta['header_title'] ?? ($studentName . '|' . $gradingCode . '|题目质检');
- @endphp
- @once
- <link rel="stylesheet" href="/css/katex/katex.min.css">
- <style>
- .qtr-qc-preview {
- max-width: 100%;
- overflow-x: auto;
- }
- .qtr-qc-preview .qc-page {
- width: 100%;
- max-width: none;
- margin: 0 0 1rem 0;
- padding: 0;
- background: #fff;
- color: #000;
- }
- @include('pdf.partials.answer-detail-styles')
- @include('pdf.partials.grading-scan-sheet-styles')
- @include('pdf.partials.paper-body-core-styles')
- @include('pdf.partials.paper-exam-shared-image-styles')
- </style>
- @endonce
- <div class="qtr-qc-preview math-render">
- <div class="qc-page">
- @include('components.exam.paper-body', ['questions' => $questions, 'grading' => false])
- </div>
- <div class="qc-page">
- @include('pdf.partials.answer-detail-page', ['questions' => $questions])
- </div>
- </div>
|