<!--packageD/team_sell/teamActive/teamActive.wxml-->
<!-- <text>packageD/team_sell/teamActive/teamActive.wxml</text> -->
<view class="teamActive">
	<van-tabs active="{{pageindx}}" bind:change="chooseTabData">
		<van-tab title="活跃值"></van-tab>
		<block wx:for="{{info.levels}}" wx:key="index">
			<van-tab title="{{item.level_name}}"></van-tab>
		</block>
	</van-tabs>
	<view class="ind_one" wx:if="{{pageindx == 0}}">
		<view class="line_box">
			<view class="lineList" catchtap="gojilu">
				<view class="line_left">月活跃值</view>
				<view class="line_right">
					<view style="color:#ee2e2b;">{{info.active.total_active}}</view>
					<van-icon name="arrow" color="#666666"></van-icon>
				</view>
			</view>
			<view class="lineList">
				<view class="line_left">自己推广所得</view>
				<view class="line_right">
					<view style="color:#ee2e2b;">{{info.active.self_active}}</view>
				</view>
			</view>
			<view class="lineList">
				<view class="line_left">一级超级会员推广所得</view>
				<view class="line_right">
					<view style="color:#ee2e2b;">{{info.active.first_active}}</view>
				</view>
			</view>
		</view>
		<view style="width:100%;height:20rpx;background:#f2f2f9;"></view>
		<view class="explain">
			<view style="margin:30rpx 0 35rpx 23rpx;font-size:28rpx;color:#333333">活跃值说明</view>
			<view style="margin: 0 29rpx;font-size: 24rpx;color:#666666">
				<rich-text nodes="{{info.active_explanation}}"></rich-text>
			</view>
		</view>
	</view>
	<view style="padding-top:30rpx;background:#fff;" wx:else>
		<block wx:for="{{list}}" wx:key="index">
			<view class="ind_two">
				<view class="two_poto">
					<image src="{{item.has_one_member.avatar_image}}"></image>
				</view>
				<view class="two_list">
					<view class="two_name" style="font-size: 33rpx;">{{item.has_one_member.nickname}}</view>
					<view class="two_card_live" style="color: #666666;font-size: 24rpx; ">普通会员</view>
				</view>
				<view class="two_right">
					<view style="color:#ee2e2b;font-size: 33rpx;">{{item.has_one_active.total_active}}</view>
					<view style="color: #666666;font-size: 24rpx;">活跃值</view>
				</view>
			</view>
		</block>
		<view wx:if="{{list.length <= 0}}" style="text-align: center;color: #666;" >暂无</view>
	</view>

</view>
