This commit is contained in:
Taric Xin
2022-01-25 15:59:01 +08:00
parent 36757adc20
commit f2779a13d6
15 changed files with 235 additions and 80 deletions

View File

@ -14,9 +14,6 @@
<h2 style="font-weight: 800;">{{selectedTab?.name}}</h2>
<div nz-row nzGutter="8">
<div nz-col nzSpan="24" se-container [labelWidth]="labelWidth">
<!-- <se col="1">
<app-freight-table></app-freight-table>
</se> -->
<se [label]="item.name" *ngFor="let item of configList" col="1">
<ng-container [ngSwitch]="item.itemType">
<ng-container *ngSwitchCase="1">
@ -62,6 +59,9 @@
style="margin-left: 0;" class=" mr-xl">
</div>
</ng-container>
<ng-container *ngSwitchCase="7">
<app-freight-table></app-freight-table>
</ng-container>
</ng-container>
</se>
@ -71,7 +71,8 @@
<div class="mb-md save-btn">
<button class="ml-lg" nz-button nzSize="large" nzType="primary" (click)="saveAction()">保存</button>
<button class="ml-lg" nz-button nzSize="large" nzType="primary" (click)="saveAction()"
*ngIf="selectedTab?.configKey!=='freight'">保存</button>
</div>
</div>
</div>

View File

@ -33,6 +33,8 @@ export class DynamicSettingH5Component implements OnInit {
changeType(type: any): void {
this.selectedTab = type;
console.log(type);
this.selectedEvent.emit(this.selectedTab);
}