<view class="consumer_return">
	<view class="content">
		<view class="head">
			<view class="head_sculpture">
				<view class="left">
					<image src="{{info.pic}}"
					 mode='aspectFill' />
				</view>
				<view class="right">{{info.name}}</view>
			</view>
			<view class="amount_money">
				<view class="left">
					<view class="top">{{language['money']}}{{info.personal_amount}}</view>
					<view class="bottom">累积个人返点金额</view>
				</view>
				<view class="right">
					<view class="top">{{language['money']}}{{info.team_amount}}</view>
					<view class="bottom">累积团队返点金额</view>
				</view>
			</view>
		</view>
		<van-tabs active="{{ active }}" bind:change="tabHandel">
			<van-tab title="个人消费返点">
				<view class="ul list">
					<view class="li" wx:for="{{recordsList}}" wx:key="index">
						<view class="left">
							<view class="top">返点id：{{item.id}}</view>
							<view class="bottom">{{item.created_at}}</view>
						</view>
						<view class="center">
							<view class="top">个人消费:{{item.consume_amount}}{{language['元']}}</view>
							<view class="bottom">返点比例: {{item.rebate}}%</view>
						</view>
						<view class="right">+{{item.amount}}</view>
					</view>
				</view>
			</van-tab>
			<van-tab title="团队消费返点">
				<view class="ul list">
					<view class="li"  wx:for="{{recordsTeamList}}" wx:key="index">
						<view class=" left">
							<view class="top">返点id：{{item.id}}</view>
							<view class="bottom">{{item.created_at}}</view>
						</view>
						<view class="center">
							<view class="top">团队消费:{{item.consume_amount}}{{language['元']}}</view>
							<view class="bottom">返点比例: {{item.rebate}}%</view>
						</view>
						<view class="right">+{{item.amount}}</view>
					</view>
				</view>
			</van-tab>
		</van-tabs>
	</view>
</view>
