<!--pages/banner/banner.wxml-->
<view class="banner">
	<view class="m-swipe">
		<view class="nophoto" wx:if="{{datas == ''}}">一个轮播都没有...</view>
		<view class="photocontent" wx:if="{{datas!= ''}}">
			<swiper style='height:{{Height}}' indicator-dots="{{datas.length == 1?false:true}}" autoplay="{{true}}" interval="{{4000}}" duration="{{300}}">
				<block wx:for="{{datas}}" wx:key="index">
					<swiper-item>
						<view class="img" id="cont_{{index}}">
							<image catchtap="goimgurl" data-item="{{item}}" data-url="{{item.hrefurl}}" src="{{item.imgurl}}" mode="widthFix" bindload='imgHeight' />
						</view>
					</swiper-item>
				</block>
			</swiper>
		</view>
	</view>
</view>
