<div>
    <div class="head">{{title?title:null}}</div>
    <ion-slides class="app-slide-menu" pager="true" #IonSlides>
        <ng-container *ngFor="let item of $items;let i = index;">
            <ion-slide *ngIf="i < 10">
                <img [src]="url + (item.image && item.image[0] ? item.image[0].id : '')" [ngStyle]="{'height': height}"
                    (click)="onClick(item)" onerror="this.src='./assets/icon/default_img.png'">
            </ion-slide>
        </ng-container>
    </ion-slides>
</div>