<!--pages/microShop_ShopKeeperCenter/microShop_ShopKeeperCenter.wxml-->
<view class="shopKeeperCenter">
	<van-nav-bar title="店主中心" left-text="" right-text="{{(shoplang?shoplang:'微店') +'设置'}}" bind:click-right="gomicroShopbaseinfo" />
	<view class="main">
		<view class="top1">
			<view class="picture1">
				<image wx:if="{{!userImg}}" src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/photo-mr.jpg" mode='widthFix' />
				<image wx:if="{{userImg}}" src="{{userImg}}" mode='widthFix' />
			</view>
			<view class="name1">
				<view class="span">{{username1}}</view>
				<view class="a" catchtap="gomicroShop_apply">
					<view class="b">{{level1}}
						<icon class="iconfont icon-right"></icon>
					</view>
				</view>
			</view>
			<view class="share">
				<view class="top">
					分红比例：{{share1}}%
				</view>
				<view class="share2">
					上级店主分红比例：{{share2?share2+'%':'%'}}
				</view>
			</view>
		</view>
		<view class="a" catchtap="gomicroShop_home">
			<view class="list1">
				<view class="left">
					<icon class="iconfont icon-tuiguang-zhengchangzhuangtai lf"></icon>我的{{(shoplang?shoplang:'微店')}}
				</view>
				<view class="right">
					<van-icon name="arrow" size="48rpx" color="#c9c9c9" />
				</view>
			</view>
		</view>
		<view class="content">
			<view class="a" catchtap="gomicroShopOrderDetail" data-date="-1" wx:if="{{false}}">
				<view class="title">
					<view class="left">
						{{(shoplang?shoplang:'微店')}}订单
					</view>
					<view class="right">
						<view class="span">累计：<text class="b">{{totalTicket}}单</text></view>
					</view>
				</view>
			</view>
			<view class="nav ul" wx:if="{{false}}">
				<view class="a" catchtap="gomicroShopOrderDetail" data-date="1">
					<view class="li child01">
						<view class="span">{{orderData.today}}</view>
						<view class="b">今天</view>
					</view>
				</view>
				<view class="a" catchtap="gomicroShopOrderDetail" data-date="2">
					<view class="li child02">
						<view class="span">{{orderData.yesterday}}</view>
						<view class="b">昨日</view>
					</view>
				</view>
				<view class="a" catchtap="gomicroShopOrderDetail" data-date="3">
					<view class="li child03">
						<view class="span">{{orderData.week}}</view>
						<view class="b">本周</view>
					</view>
				</view>
				<view class="a" catchtap="gomicroShopOrderDetail" data-date="4">
					<view class="li child03">
						<view class="span">{{orderData.month}}</view>
						<view class="b">本月</view>
					</view>
				</view>
			</view>
			<view class="a" catchtap="gomicroShopShareList" data-date="-1">
				<view class="title">
					<view class="left">{{(shoplang?shoplang:'微店')}}佣金</view>
					<view class="right">
						<view class="span">累计：<view class="b"><text style="font-weight: normal;">{{language['money']}}</text>{{totalShareMoney}}</view>
						</view>
					</view>
				</view>
			</view>
			<view class="nav ul">
				<view class="a" catchtap="gomicroShopShareList" data-date="1">
					<view class="li child01">
						<view class="span">{{language['money']}}{{shareData.today}}</view>
						<view class="b">今天</view>
					</view>
				</view>
				<view class="a" catchtap="gomicroShopShareList" data-date="2">
					<view class="li child02">
						<view class="span">{{language['money']}}{{shareData.yesterday}}</view>
						<view class="b">昨日</view>
					</view>
				</view>
				<view class="a" catchtap="gomicroShopShareList" data-date="3">
					<view class="li child03">
						<view class="span">{{language['money']}}{{shareData.week}}</view>
						<view class="b">本周</view>
					</view>
				</view>
				<view class="a" catchtap="gomicroShopShareList" data-date="4">
					<view class="li child04">
						<view class="span">{{language['money']}}{{shareData.month}}</view>
						<view class="b">本月</view>
					</view>
				</view>
			</view>
			<view class="line04">
				<view class="line04-child"></view>
			</view>
		</view>
	</view>
	<view class="a linkCata" catchtap="microShopAddCategory">
		<text class="i">+</text> 添加商品
	</view>
</view>
<van-dialog use-slot asyncClose show="{{ban_open}}" show-cancel-button  bind:confirm="onconfirm" showCancelButton="{{false}}">
	<view style="text-align: center;margin: 20rpx 0;font-weight: 700;">提示</view>
	<view class="usercontent" style="display: flex;align-items: center;justify-content: center;">
		<text>微店已被禁用</text>
	</view>
</van-dialog>
