<!--pages/member/distribution/distribution.wxml-->
<view class="distribution">
	<view class="header">
		<view class="user">
			<view class="user-head">
				<image src="{{userAvatar}}" mode='widthFix' />
			</view>
			<view class="user-info">
				<view class="user-name">{{userName}}[{{language.extension['会员']}}ID:{{vipId}}]</view>
				<view class="user-other">
					<view class="top">{{ mail_distrbution_name }} {{distrbution_name}}</view>
					<view class="bottom">加入时间：{{distrbution_tiem}}</view>
				</view>
			</view>
		</view>
	</view>
	<view class="myrelationship">
		<view catchtap="gomyRelationship" class="list1">
			<view class="left">我的客户</view>
			<view class="right">
				<view class="top">{{count}}人</view>
				<view class="bottom">
					<van-icon name="arrow" size="30rpx" />
				</view>
			</view>
		</view>
	</view>
	<view class="scale">
		<view class="list1">
			<view class="left">默认分享奖励比例</view>
			<view class="right" catchtap="msg">
				<van-icon name="question-o" color="#f15353" size="30rpx" />
			</view>
		</view>
		<view class="list2">
			<view class="left">
				直接分享
			</view>
			<view class="right">
				<view class="span">{{first_level}}%</view>
			</view>
		</view>
		<view class="list2" wx:if="{{false}}">
			<view class="left">
				一级分销
			</view>
			<view class="right">
				<view class="span">{{second_level}}%</view>
			</view>
		</view>
		<view class="list2" wx:if="{{false}}">
			<view class="left">
				一级分销
			</view>
			<view class="right">
				<view class="span">{{third_level}}%</view>
			</view>
		</view>
	</view>
	<view class="title">
		<view class="spare"></view>
		<view class="h3">佣金</view>
	</view>
	<view class="ul gongge">
		<view class="li" catchtap="gocommission">
			<view class="top">
				<icon class="iconfont icon-zanwushouyi"></icon>
			</view>
			<view class="center">
				<view class="span">预计佣金</view>
			</view>
			<view class="bottom"><text class="b">{{expect}}</text>{{language['元']}}</view>
		</view>
		<view class="li" catchtap="gounsettled">
			<view class="top">
				<icon class="iconfont icon-weitixian"></icon>
			</view>
			<view class="center">
				<view class="span">未结算佣金</view>
			</view>
			<view class="bottom"><text class="b">{{unliquidated}}</text>{{language['元']}}</view>
		</view>
		<view class="li" catchtap="goalreadySettled">
			<view class="top">
				<icon class="iconfont icon-yijiesuan"></icon>
			</view>
			<view class="center">
				<view class="span">已结算佣金</view>
			</view>
			<view class="bottom"><text class="b">{{liquidated}}</text>{{language['元']}}</view>
		</view>
		<view class="li" catchtap="gonotPresent">
			<view class="top">
				<icon class="iconfont icon-weitixian"></icon>
			</view>
			<view class="center">
				<view class="span">未提现佣金</view>
			</view>
			<view class="bottom"><text class="b">{{not_yet_withdrawed}}</text>{{language['元']}}</view>
		</view>
		<view class="li" catchtap="gopresent">
			<view class="top">
				<icon class="iconfont icon-yitixian"></icon>
			</view>
			<view class="center">
				<view class="span">已提现佣金</view>
			</view>
			<view class="bottom"><text class="b">{{withdrawed}}</text>{{language['元']}}</view>
		</view>
		<view class="li" wx:if="{{false}}" catchtap="gomanage">
			<view class="top">
				<icon class="iconfont icon-yitixian"></icon>
			</view>
			<view class="center">
				<view class="span">管理奖</view>
			</view>
			<view class="bottom"><text class="b">{{manage}}</text>{{language['元']}}</view>
		</view>
		<view class="li" catchtap="goinvalid">
			<view class="top">
				<icon class="iconfont icon-yitixian"></icon>
			</view>
			<view class="center">
				<view class="span">无效佣金</view>
			</view>
			<view class="bottom"><text class="b">{{invalid}}</text>{{language['元']}}</view>
		</view>
	</view>
	<view class="title">
		<view class="spare"></view>
		<view class="h3">分享订单</view>
	</view>
	<view class="distribution-order">
		<view class="li" catchtap="godistributionOrder" data-idx="{{0}}">
			<view class="top">
				<icon class="iconfont icon-caidan"></icon>
			</view>
			<view class="bottom">
				全部订单
			</view>
		</view>
		<view class="li" catchtap="godistributionOrder" data-idx="{{1}}">
			<view class="top">
				<icon class="iconfont icon-weifukuan"></icon>
			</view>
			<view class="bottom">
				未付款
			</view>
		</view>
		<view class="li" catchtap="godistributionOrder" data-idx="{{2}}">
			<view class="top">
				<icon class="iconfont icon-weifukuan"></icon>
			</view>
			<view class="bottom">
				已付款
			</view>
		</view>
		<view class="li" catchtap="godistributionOrder" data-idx="{{3}}">
			<view class="top">
				<icon class="iconfont icon-wancheng2"></icon>
			</view>
			<view class="bottom">
				已完成
			</view>
		</view>
	</view>
</view>
<shopfoot></shopfoot>
