You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
785 B
33 lines
785 B
|
2 years ago
|
<div class="page-header">
|
||
|
|
<div class="flex items-center mb-3 px-4 py-2 shadow bg-white rounded-sm">
|
||
|
|
<div class="flex-1">
|
||
|
|
<nz-breadcrumb>
|
||
|
|
<nz-breadcrumb-item>
|
||
|
|
<a href="/">首页</a>
|
||
|
|
</nz-breadcrumb-item>
|
||
|
|
@for (b of breadcrumbs; track $index; let last = $last) {
|
||
|
|
@if (last) {
|
||
|
|
<nz-breadcrumb-item>{{ b.label }}</nz-breadcrumb-item>
|
||
|
|
} @else {
|
||
|
|
<nz-breadcrumb-item>
|
||
|
|
<a [routerLink]="b.url">{{ b.label }}</a>
|
||
|
|
</nz-breadcrumb-item>
|
||
|
|
}
|
||
|
|
}
|
||
|
|
</nz-breadcrumb>
|
||
|
|
</div>
|
||
|
|
@if (actions) {
|
||
|
|
<div class="flex-1 flex justify-end items-center">
|
||
|
|
<ng-container
|
||
|
|
[ngTemplateOutlet]="actions"
|
||
|
|
[ngTemplateOutletContext]="{
|
||
|
|
$implicit: 12
|
||
|
|
}"
|
||
|
|
/>
|
||
|
|
</div>
|
||
|
|
}
|
||
|
|
</div>
|
||
|
|
<div></div>
|
||
|
|
</div>
|
||
|
|
<ng-content></ng-content>
|