<view class="subtitleColor-bg">
  <view class='account-head'>
    <image src='{{info.avatar}}' mode="aspectFill" lazy-load="true"></image>
  </view>
  <view class="center mTop10">{{info.realName ? info.realName: info.nickname}}</view>
  <view class="row-flex mTop20">
    <view class="col-8" wx:if="{{type == 1}}">
      <view class="font12"><text class="font18">{{info.inviteeNum || 0}}</text>人</view>
      <view class='label'>
        <text class="font12 white">邀请</text>
      </view>
    </view>
    <view class="{{type == 1 ? 'col-8' : 'col-12'}} line">
      <view class="font12"><text class="font18">{{info.arrivalAccount || '0.00'}}</text>元</view>
      <view class='label'>
        <text class="font12 white">已到账</text>
      </view>
    </view>
    <view class="col-8 link {{type == 1 ? 'col-8' : 'col-12'}}">
      <view class="font12"><text class="font18">{{info.unpaidAccount || '0.00'}}</text>元</view>
      <view class='label'>
        <text class="font12 white">即将入账</text>
      </view>
    </view>
  </view>
</view>
<view class="tab-bar white-bg">
  <view class="tab-item{{tabIndex == 0 ? ' active':''}}" wx:if="{{type == 1}}" data-index="0" bindtap="setTabbar">
    <view class="label">邀请会员</view>
  </view>
  <view class="tab-item{{tabIndex == 1 ? ' active':''}}" data-index="1" bindtap="setTabbar">
    <view class="label">已到账</view>
  </view>
  <view class="tab-item{{tabIndex == 2 ? ' active':''}}" data-index="2" bindtap="setTabbar">
    <view class="label">即将到账</view>
  </view>
</view>
<view wx:if="{{list.length > 0}}" class="white-bg">
  <view class="item" wx:for="{{list}}" wx:key="*this" >
    <view class="photo">
      <image wx:if="{{type == 1}}" class="growup-content-list-photo" src="{{item.avatar}}" lazy-load="true" binderror="binderror" data-index="{{index}}" mode="aspectFill"></image>
      <view>
        <view class="font14" wx:if="{{type == 1}}">
          {{item.nickname}}<view class="tag" wx:if="{{tabIndex == 2}}">{{item.deadlineEnd}}</view>
          <view class="font14" wx:if="{{tabIndex == 0}}">{{item.loginName}}</view>
          <view class="font12 gray" wx:else>{{item.remark}}</view>
        </view>
        <view class="font14" wx:if="{{type != 1}}">
          <view class="font14 gray">{{item.remark}}</view>
          <text class="gray font12">{{item.time}}</text>
          <text class="tag" wx:if="{{tabIndex == 2}}">{{item.deadlineEnd}}</text>
        </view>
      </view>
    </view>
    <view class="text-right">
      <view wx:if="{{type == 1}}">
        <view class="font12 gray"  wx:if="{{tabIndex == 0}}">{{item.regtimeStr}}\n<view>最后访问时间</view></view>
        <view class="gray font12" wx:else><view class="font16 subtitleColor">+{{item.price}}</view>\n {{item.time}}</view>
      </view>
      <view class="font20 subtitleColor align" wx:else>+{{item.price}}</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>