|
@@ -34,9 +34,14 @@
|
|
|
</view>
|
|
|
|
|
|
<view class="scrollBox" id="scrollBox">
|
|
|
- <scroll-view scroll-x>
|
|
|
- <image src="{{item.url}}" class="show" wx:for="{{bannerlist}}" wx:key="index"></image>
|
|
|
- </scroll-view>
|
|
|
+ <!-- <scroll-view scroll-x>
|
|
|
+ <image src="{{item.url}}" class="show" wx:for="{{bannerlist}}" wx:key="index" mode="aspectFill"></image>
|
|
|
+ </scroll-view> -->
|
|
|
+ <swiper class="scrollBox" indicator-dots="true" autoplay="true" interval="2000" duration="{{500}}" indicator-color="rgba(255,255,255,.5)" indicator-active-color="#fff">
|
|
|
+ <swiper-item wx:for="{{bannerlist}}" wx:key="index">
|
|
|
+ <image src="{{item.url}}" class="show" mode="aspectFill"></image>
|
|
|
+ </swiper-item>
|
|
|
+ </swiper>
|
|
|
</view>
|
|
|
|
|
|
<van-notice-bar wx:for="{{noticelist}}" wx:key="index" mode="closeable" left-icon="/image/icon/message.png" bind:close="closeNews" text="{{item.content}}" h/>
|