Commit ad97b75c by Sweet Zhang

轮播图自动播

parent 47852285
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
<WingBlank *ngIf="bannerLists.length>0"> <WingBlank *ngIf="bannerLists.length>0">
<Carousel [infinite]="true" <Carousel [infinite]="true"
[vertical]="false" [vertical]="false"
[autoplay]="true"
[selectedIndex]="1" [selectedIndex]="1"
> >
<CarouselSlide *ngFor="let item of bannerLists" (click)="goBannerPro(item.destinationAddress)"> <CarouselSlide *ngFor="let item of bannerLists" (click)="goBannerPro(item.destinationAddress)">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment