已选教材:
@for (item of allTextbook; track $index) { @if (!showAll) {
= 8" class="text-name">
{{ item.get("title") }}
= 8 - 1 || $index == allTextbook.length - 1"
>;
}@else {
{{ item.get("title") }}
;
} } @if (allTextbook.length > 8) {
{{ showAll ? "合起教材" : "展开全部" }}
}