<nz-modal [(nzVisible)]="isVisible" nzTitle="{{title}}" (nzOnCancel)="handleCancel()" (nzOnOk)="handleOk()">
  <div style="position: absolute;left:20%;top: 15px;">
    <nz-switch [(ngModel)]="first.check"></nz-switch>
  </div>
  <form nz-form>
    <nz-form-item *ngFor="let item of list">
      <nz-form-label [nzSm]="8" [nzXs]="24" [ngModelOptions]="{standalone: true}" >{{item.name}}</nz-form-label>
      <nz-form-control [nzSm]="14" [nzXs]="24">
        <nz-switch [(ngModel)]="item.check" [ngModelOptions]="{standalone: true}"></nz-switch>
      </nz-form-control>
    </nz-form-item>
  </form>
</nz-modal>
