<button clear-btn class="p-left-btn" (click)="carousel.pre()"><i nz-icon type="left"></i></button>
<button clear-btn class="p-right-btn" (click)="carousel.next()"><i nz-icon type="right"></i></button>
<nz-carousel #carousel [nzEffect]="'scrollx'" [nzEnableSwipe]="false" class="zl-carousel-box">
<div nz-carousel-content *ngFor="let data of array">
<div *ngFor="let item of data" class="p-in-box">
。。。。
</div>
</div>
</nz-carousel>