- 根据自带的滑动图,只需要添加加红字体
- <ion-view view-title="活动详情" class="align-title-center">
- <ion-content >
- <!-- start 轮播图-->
- <ion-slide-box auto-play="true" does-continue="true" slide-interval=2000>
- <ion-slide>
- <div class="box banner"><img src="img/banner.png" /> </div>
- </ion-slide>
- <ion-slide>
- <div class="box banner"><img src="img/show.png" /></div>
- </ion-slide>
- <ion-slide on-slide-changed="slideHasChanged(index)">
- <div class="box banner"><img src="img/show-img-1.png" /></div>
- </ion-slide>
- </ion-slide-box>
- <!-- end 轮播图-->
- <ion-view>
无缝轮播应该加个属性:
-
- <!-- start 轮播图-->
- <ion-slide-box auto-play="true" slide-interval=2000 does-continue="true" delegate-handle="slideimgs"
- class="slidebox" on-slide-changed="slideHasChanged($index)" style="margin-top: -1px;">
- <ion-slide ng-repeat="banner in bannerList" >
- <div class="box banner"><img ng-src="{{banner.IMGPATH}}" /></div>
- </ion-slide>
- </ion-slide-box>
- <!-- end 轮播图-->