Commit 0d73638cb2f27a20f92fe05acaffd908ba641fe1
1 parent
6002f2bc
首页轮播图无缝衔接
Showing
1 changed file
with
1 additions
and
1 deletions
pages/index/index/index.wxml
... | ... | @@ -29,7 +29,7 @@ |
29 | 29 | </view> |
30 | 30 | <!--滚动广告--> |
31 | 31 | <view class="rel title-img" wx:if="{{banner}}"> |
32 | - <swiper autoplay="true" class="swiper_box" duration="1000" interval="3000" vertical="" bindchange="bannerSwiperChange" style="height:{{max_sw_height}}rpx"> | |
32 | + <swiper autoplay="true" class="swiper_box" duration="1000" interval="3000" vertical="" bindchange="bannerSwiperChange" style="height:{{max_sw_height}}rpx" circular="true"> | |
33 | 33 | <swiper-item wx:for="{{banner}}" wx:key="banner" class="swiperItem"> |
34 | 34 | <view class="slide-image-frame"> |
35 | 35 | <image bindtap='go_ad' data-url="{{item.ad_weapplink}}" class="slide-image" mode="widthFix" src="{{item.ad_code}}" bindload="imageLoad" data-index="{{index}}" lazy-load="true" binderror="bind_bnerr" data-errorimg="banner[{{index}}].ad_code"></image> | ... | ... |