| 题目编号 | 题目内容 | 难度 |
|---|---|---|
| {{ $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 }} |
| 暂无数据 | ||
题目内容会在组件更新后自动重新渲染数学公式。