<!--pages/my-users/my-users.wxml-->
<view class='container'>
  <view class='my-user'>
    <view class='user-bg'>
      <!-- <view class="user-bg-my">我的用户</view> -->
      <view class='text'>共<view class='number'>{{totalInvite}}</view>人</view>
    </view>
    <view class='user-list' wx:if="{{records.length>0}}">
      <view class='title'>
        <text class='subtitle'>头像</text>
        <text class='subtitle'>昵称</text>
        <text class='subtitle'>绑定日期</text>
      </view>
      <view class='lists' wx:for="{{records}}" wx:key="id">
        <view class='list-item'>
          <view class='items'>
            <view class='img'>
              <image src='{{item.pic?item.pic:"../../images/icon/head04.png"}}'></image>
            </view>
          </view>
          <text class='items'>{{item.nickName}}</text>
          <text class='items'>{{item.bindTime}}</text>
        </view>
      </view>
    </view>
    <view class="empty" wx:if="{{records.length==0}}">{{emptyMsg}}</view>
    <view class="loading" wx:if="{{totalPage>1}}">{{loadingMsg}}</view>
  </view>

</view>