<!--component/imageSwiper/imageSwiper.wxml-->
<wxs src="../../wxs/utils.wxs" module="utils" />
<swiper
 class="image-swiper"
 indicator-dots="{{indicatorDots}}"
 autoplay="{{autoplay}}"
 interval="{{interval}}"
 circular="{{circular}}"
 duration="{{duration}}"
 style="height: {{maxHeight}}px;"
>
	<block wx:for="{{imageData}}" wx:key="{{index}}" wx:for-item="item">
		<swiper-item class="swiper-item">
			<view
			 wx:if="{{baseImgUrl}}"
			 data-appid="{{item.link.appid}}"
			 data-path="{{item.link.url}}"
			 data-link="{{item.link}}"
			 data-item="{{item}}"
			 bindtap='preview'
			>
				<image bindload="imageLoad"  src="{{utils.formateUrl(item.imageUrl,baseImgUrl)}}"  id="swiperImg{{index}}" mode="widthFix"  class="slide-image" />
			</view>
		</swiper-item>
	</block>
</swiper>

