| 题目编号 | 知识点 | 类型 | 题干 | 难度 | 操作 |
|---|---|---|---|---|---|
| {{ $question['question_code'] ?? 'N/A' }} |
{{ $question['kp_code'] ?? 'N/A' }}
|
@php
$type = $question['type'] ?? 'CHOICE';
$typeLabel = $this->questionTypeOptions[$type] ?? $type;
$typeClass = match($type) {
'CHOICE', 'MULTIPLE_CHOICE' => 'badge-info',
'FILL_IN_THE_BLANK' => 'badge-warning',
'CALCULATION', 'WORD_PROBLEM', 'PROOF' => 'badge-error',
default => 'badge-ghost'
};
@endphp
{{ $typeLabel }}
|
|
@php
$difficulty = $question['difficulty'] ?? null;
$label = match (true) {
!$difficulty => 'N/A',
(float)$difficulty <= 0.4 => '基础',
(float)$difficulty <= 0.7 => '中等',
default => '拔高',
};
$colorClass = match (true) {
!$difficulty => 'badge-ghost',
(float)$difficulty <= 0.4 => 'badge-success',
(float)$difficulty <= 0.7 => 'badge-warning',
default => 'badge-error',
};
@endphp
{{ $label }}
@if(app()->environment('local'))
({{ $difficulty }})
@endif
|
|
| 暂无数据 | |||||