<!-- pages/member/SupplierCenter/SupplierCenter.wxml -->
<view class="supplier-center">
		<block>
			<view class="swipBox" >
				<swiper autoplay="{{true}}">
					<block wx:if="{{supplierSet.banner_status == 1}}">
						<swiper-item>
							<image src="{{supplierSet.banner_1}}"></image>
						</swiper-item>
						<swiper-item>
							<image src="{{supplierSet.banner_2}}"></image>
						</swiper-item>
						<swiper-item>
							<image src="{{supplierSet.banner_3}}"></image>
						</swiper-item>
					</block>
					<block wx:else>
						<swiper-item>
							<image src="{{supplierSet.banner_3}}" style="background:#f15353;"></image>
						</swiper-item>
					</block>
				</swiper>
				<view class="user {{supplierSet.banner_1 || supplierSet.banner_2 || supplierSet.banner_3 ? '' : 'bgColor'}}">
					<view class="user-header">
							<view class="img">
									<image src="{{mainInfo.avatar}}" mode='widthFix' />
							</view>
							<view>
									<span>用户名：{{mainInfo.nickname}}</span>
							</view>
					</view>
					<view class="user-info">
							<view class="ul">
									<view class="li">
											<text class="b">{{order_count}}</text>
									</view>
									<view class="li">
											<text class="span">今日订单（笔）</text>
									</view>
							</view>
							<view class="ul">
									<view class="li">
											<text class="b">{{order_amount}}</text>
									</view>
									<view>
											<text class="span">今日销售（{{language['元']}}）</text>
									</view>
							</view>
							<view class="ul">
									<view class="li">
											<text class="b">{{money_total}}</text>
									</view>
									<view class="li">
											<text class="span">累计收入（{{language['元']}}）</text>
									</view>
							</view>
					</view>
				</view>
			</view>
		</block>

		<view class="withdraw">
				<view class="ul">
						<view class="li">可提现金额</view>
						<view class="li">
								{{language['money']}}
								<text class="i">{{cost_money}}</text>
						</view>
				</view>
				<view class="span" data-num="5" catchtap="goToInfo">提现</view>
		</view>
		<view class="store-box">
				<view class="my-store">
						<view class="span">我的店铺</view>
				</view>
				<view class="manage-list">
						<view class="ul" data-num="1" catchtap="goToInfo">
								<view class="img">
										<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/supplier-info.png" mode='widthFix' />
								</view>
								<view class="li">
										<text class="span">信息管理</text>
								</view>
						</view>
						<view class="ul" data-num="2" catchtap="goToInfo">
								<view class="img">
										<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/supplier-goods.png" mode='widthFix' />
								</view>
								<view class="li">
										<text class="span">商品管理</text>
								</view>
						</view>
						<view class="ul" data-num="3" catchtap="goToInfo">
								<view class="img">
										<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/supplier-order.png" mode='widthFix' />
								</view>
								<view class="li">
										<text class="span">订单管理</text>
								</view>
						</view>
						<view class="ul" data-num="4" catchtap="goToInfo">
								<view class="img">
										<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/supplier-withdraw.png" mode='widthFix' />
								</view>
								<view class="li">
										<text class="span">提现记录</text>
								</view>
						</view>
						<view class="ul" data-num="6" catchtap="goToInfo" wx:if="{{insuclShow}}">
								<view class="img">
										<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/supplier-policy.png" mode='widthFix' />
								</view>
								<view class="li">
										<text class="span">保单管理</text>
								</view>
						</view>
				</view>
		</view>
</view>
