<!--packageH/schoolCompany/schoolCompanyExtend/schoolCompanyExtend.wxml-->

<view class="header">
	<view class="info">
		<view class="face">
			<image src="{{userInfo.avatar_img}}"></image>
		</view>
		<view class="name">{{userInfo.nickname}}</view>
	</view>
</view>
<view class="esp" bindtap="gotoSchoolCompanyReceive">
	<view class="num">领取收益</view>
	<icon class="iconfont icon-member_right"></icon>
</view>

<view class="cumulative">
	<view class="child">
		<text class="price">{{userInfo.total_income}}</text>
		<text class="text">累计收益</text>
	</view>
	<view class="split"></view>
	<view class="child">
		<text class="price">{{userInfo.unsettle_dividend}}</text>
		<text class="text">累计未结算</text>
	</view>
</view>

<view class="specific">
	<view class="child" wx:for="{{member_school}}">
		<text class="c1">{{item.has_one_school.title}}</text>
		<text class="c2">未结算</text>
		<text class="c3">{{item.has_one_dividend.total_amount}}</text>
	</view>
</view>

<van-tabs active="{{ selected }}" title-active-color="#f14e4e" color="#f14e4e">
	<van-tab title="全部">
	</van-tab>
</van-tabs>

<view class="listData">
	<view class="item" wx:for="{{listData}}">
		<view class="lt">
			<view class="c1">{{item.has_one_school.title}}</view>
			<view class="c2">{{item.has_one_roles.title}}</view>
		</view>
		<view class="rt">
			<view class="c3">+{{item.dividend_amount}}</view>
			<view class="c4">{{item.created_at}}</view>
		</view>
	</view>
	<view wx:if="{{networkLoading && listData.length==0}}" class="blank">
		<image style="margin:0 auto;padding:96rpx 0;" src='https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png'
			mode='widthFix' />
	</view>
</view>