<!--packageE/TeamPerformanceAward/TeamPerformanceAward.wxml-->

<view class="header_box" wx:if="{{member.nickname}}">
	<view class="left">
		<view class="header">
			<image src="{{member.avatar}}" mode="aspectFill"></image>
		</view>
		<view class="name">
			<view>{{member.nickname}}</view>
		</view>
	</view>
	<view class="right">
		<view>￥{{member.amountTotal}}</view>
		<view>奖励总额(元)</view>
	</view>
</view>

	<view class="list-cell-group">
		<view class="list-cell-title">上周期业绩</view>
		<view class="list-cell-value">￥{{ member.last_month }}</view>
	</view>
	<view class="list-cell-group">
		<view class="list-cell-title">当前周期累计业绩</view>
		<view class="list-cell-value">￥{{ member.current_month }}</view>
	</view>
	<view class="list-cell-group">
		<view class="list-cell-title">
			距离下一个阶梯还差<em style="color:#f15353;">{{ member.rest }}</em
			>元
		</view>
	</view>
	<view class="list-progress">
		<progress percent="{{progressNum}}" show-info stroke-width="8" color="#f15353"/>
		<!-- <van-progress percentage="{{progressNum}}" stroke-width="8" color="#f15353" /> -->
	</view>


<view class="title-box">
	<view>奖励记录</view>
	<text class="red_line"></text>
</view>
<view class="list_box">
	<view class="box" wx:for="{{recordsList}}" wx:key="index">
		<view style="border-bottom: 1px solid #eee">
			<text class="order">分红ID：{{item.id}}</text>
			<text class="sum">+{{item.amount}}</text>
		</view>
		<view>
			<text class="time">个人业绩总额：{{item.performance_total}}</text>
			<text class="state">奖励比例：{{item.ratio}}%</text>
		</view>
		<view>
			<text class="time">渠道奖励金额：{{item.lower_performance_total}}</text>
			<text class="state">{{item.created_at}}</text>
		</view>
	</view>
</view>

<view class="blank" wx:if="{{recordsList.length <= 0}}">
	<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png"></image>
	<text>还没有记录哦</text>
</view>



