找到 {{ count($this->questions) }} 个结果
@forelse($this->questions as $question) @empty @endforelse
题目编号 题目内容 难度
{{ $question['code'] }} @php $difficulty = $question['difficulty']; $label = match (true) { $difficulty <= 0.4 => '基础', $difficulty <= 0.7 => '中等', default => '拔高', }; $color = match (true) { $difficulty <= 0.4 => 'green', $difficulty <= 0.7 => 'yellow', default => 'red', }; @endphp {{ $label }}
暂无数据

实时编辑演示

题目内容会在组件更新后自动重新渲染数学公式。