Commit ad97b75c by Sweet Zhang

轮播图自动播

parent 47852285
......@@ -21,9 +21,10 @@
<WingBlank *ngIf="bannerLists.length>0">
<Carousel [infinite]="true"
[vertical]="false"
[autoplay]="true"
[selectedIndex]="1"
>
<CarouselSlide *ngFor="let item of bannerLists" (click)="goBannerPro(item.destinationAddress)">
<CarouselSlide *ngFor="let item of bannerLists" (click)="goBannerPro(item.destinationAddress)">
<div style="display: inline-block; width: 100%;border-radius:10px;overflow:hidden" [ngStyle]="{'height': '145px'}">
<img src="{{item.filePath}}" style=" pointer-events: none; width: 100%;" />
</div>
......
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