<view class="subtitleColor-bg">
    <view class="center">
      <view class='label'>
        <text class="font12">总邀请</text>
      </view>
      <view class="font12"><text class="font20">{{info.directMemberNum+info.directSharerNum+info.indirectMemberNum}}</text>人</view>
    </view>
</view>
<!-- <view class="tab-bar white-bg">
  <view class="tab-item{{type == 0 ? ' active':''}}" data-index="0" bindtap="setTabbar">
    <view class="label">直接会员{{info.directMemberNum > 0 ? '('+info.directMemberNum+')':''}}</view>
  </view>
  <view class="tab-item{{type == 1 ? ' active':''}}" data-index="1" bindtap="setTabbar">
    <view class="label">{{roleType == 'organ' ? '直接机构' : '直接分享家'}}{{info.directSharerNum > 0 ? '('+info.directSharerNum+')':''}}</view>
  </view>
  <view class="tab-item{{type == 2 ? ' active':''}}" data-index="2" bindtap="setTabbar">
    <view class="label">间接会员{{info.indirectMemberNum > 0 ? '('+info.indirectMemberNum+')':''}}</view>
  </view>
</view> -->
<view wx:if="{{list.length > 0}}">
  <view class="item" wx:for="{{list}}" wx:key="*this" data-url="/pages/sharingHome/inviteUserDetail?id={{item.id}}&type={{type}}&roleType={{roleType}}" bindtap='navigatorURl'>
    <view class="photo">
      <image class="growup-content-list-photo" src="{{item.avatar}}" lazy-load="true" binderror="binderror" data-index="{{index}}" mode="aspectFill"></image>
    </view>
    <view>
        <view class="font14">{{item.nickname}}<text class="tag {{item.rebateStatus == 1 ? 'gray':''}}" wx:if="{{item.rebateStatus && item.rebateStatus > 0}}">{{item.rebateStatus == 1 ? '普通3%邀请' : item.rebateStatus == 2 ? '分享家邀请' : '机构邀请'}}</text></view>
        <text class="font14">{{item.loginName}}</text>
        <view class="gray-bg font12" wx:if="{{type == 2}}">邀请人：{{item.inviter}} ({{item.inviterPhone}})</view>
        <view class="gray font12">注册时间: {{item.regtime}}</view>
        <view class="gray font12" wx:if="{{type == 1}}">邀请会员 <text class="subtitleColor">{{item.inviteeNum}}</text> 人</view>
        <view class="gray font12">贡献金额: 已到账<text class="subtitleColor"> {{item.arrivalAccount}} </text>元 
          即将到账<text class="subtitleColor"> {{item.unpaidAccount}} </text>元
        </view>
      </view>
    <view class="text-right">
      <view class="font12">{{item.atime}}\n<view class="gray">最后访问时间</view></view>
      <view class="gray font12">{{item.time}}</view>
    </view>
  </view>
  <view class="center mTop10 font14 growup-gray" wx:if="{{finished}}">{{finishedText}}</view>
</view>
<view class='noData' hidden='{{list.length > 0}}'><text class="icon icon-info"></text><text>~没有数据~</text></view>
<view class='load-more' hidden="{{loadMore}}">下面没有了哦</view>
