@php $skills = collect($point['skills'] ?? []); $parents = collect($point['parents'] ?? []); $metrics = [ [ 'label' => '重要度', 'value' => number_format((float) ($point['importance'] ?? 0), 1), 'subtitle' => '教研侧设定的掌握权重', ], [ 'label' => '技能数量', 'value' => $skills->count(), 'subtitle' => '拆解后的可练单元', ], [ 'label' => '上游节点', 'value' => $parents->count(), 'subtitle' => '可追溯的先修知识', ], ]; @endphp
Knowledge Node
{{ $metric['label'] }}
{{ $metric['value'] }}
{{ $metric['subtitle'] }}
{{ $point['group_path'] ?? '尚未设置。' }}
无父节点,可能是一级知识点。
@else{{ $parent }}
触发该节点之前需掌握
{{ $skill['skill_name'] ?? '未命名技能' }}
{{ $skill['skill_type'] ?? '类型未知' }}
{{ $skill['description'] ?? '暂无描述' }}
@if(!empty($skill['examples']))例题提示:
{{ $skill['examples'][0]['prompt'] ?? '' }}