<!--pages/home/components/home-swiper/index.wxml-->
<swiper 
    indicator-dots="{{list.length > 1}}"
    autoplay="{{autoplay}}" 
    interval="{{interval}}" 
    duration="{{duration}}"
    circular="{{true}}"
    wx:if="{{list.length}}"
    style="height: 288rpx"
>
  <block wx:for="{{list}}" wx:key="id" wx:item="item">
    <swiper-item>
        <van-image
            width="100%"
            height="100%"
            lazy-load
            src="{{item.url}}"
            data-data="{{item}}"
            bind:click="handleJump"
        />
    </swiper-item>
  </block>
</swiper>