<!--pages/microShop_home/microShop_home.wxml-->
<view class="microShop_main">
	<view class="m_header">
		<image src="{{shop_logo}}" />{{ shop_name }}
	</view>
	<view class="home">
		<view class="top1" style="{{'background-image:url(' + (bgImg?bgImg:'') + ');background-size: cover;'}}">
			<view class="content1">
				<view class="picture1">
					<image src="{{userImg?userImg:'https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/photo-mr.jpg'}}" mode='widthFix' />
				</view>
				<view class="name1">
					<view class="span">{{ username }}</view>
					<view class="spanbottom">{{ signName }}</view>
				</view>
			</view>
		</view>
		<view class="ment" wx:if="{{isCategory}}">
			<cMent datas="{{category}}" shopid="{{shop_id}}"></cMent>
		</view>
		<view class="myswiper">
			<swiper wx:if="{{bannerData.length > 0}}" style='height:{{Height}}' indicator-dots="{{true}}" autoplay="{{true}}"
			 interval="{{4000}}" duration="{{300}}" indicator-active-color="#fff">
				<block wx:for="{{bannerData}}" wx:key="index">
					<swiper-item>
						<view class="a" data-url="{{item.thumb}}" wx:if="{{item.thumb}}" catchtap="goimgurl" data-link="{{item.small_link}}">
							<image src="{{item.thumb}}" mode='widthFix' bindload='imgHeight' />
						</view>
						<image wx:if="{{!item.thumb}}" src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/img_default.jpg" mode='widthFix' bindload='imgHeight' />
					</swiper-item>
				</block>
			</swiper>
		</view>
		<view class="goodsList" wx:if="{{goodsListData}}">
			<cGoodsList goods="{{goodsListData}}" classifyBol="{{true}}" text="商品列表"></cGoodsList>
		</view>
	</view>
	<view style="height: 34px" wx:if="{{iPnoneBottomBol}}"></view>
	<view class="footer" style="{{iPnoneBottomBol?'padding-bottom: 34px;height: auto;':''}}">
		<view class="ul">
			<view class="a" catchtap="gohome">
				<view class="li na">
					<view class="top">
						<van-icon name="wap-home" size="40rpx" />
					</view>
					<view class="p">首页</view>
				</view>
			</view>
			<view class="a" catchtap="gomicroShopShareCategory">
				<view class="li na">
					<view class="top">
						<van-icon name="apps-o" size="40rpx" />
					</view>
					<view class="p">分类</view>
				</view>
			</view>
			<view class="a" catchtap="gomicroShopShopKeeperCenter">
				<view class="li">
					<view class="openMyShop">
						<view class="span">店主</view>
						<view class="p">中心</view>
					</view>
				</view>
			</view>
			<view class="a" catchtap="gocart">
				<view class="li na righ">
					<view class="top">
						<van-icon name="cart-o" size="40rpx" />
					</view>
					<view class="p">购物车</view>
				</view>
			</view>
			<view class="a" catchtap="gomember">
				<view class="li na righ">
					<view class="top">
						<van-icon name="contact" size="40rpx" />
					</view>
					<view class="p">我的</view>
				</view>
			</view>
		</view>
	</view>
</view>
