<!-- visitorcheck.wxml -->
<view class="mycontainer" style="padding:0rpx;">
  <view class="tab-item">
    <view class="item {{isregiste?'item-checked':''}}" bindtap="checkTab">未审核({{approvalNum}})</view>
    <view class="item {{isregiste?'':'item-checked'}}" bindtap="checkTab">已审核({{approvedNum}})</view>
  </view>
  <scroll-view scroll-y='true'>
    <block wx:for='{{list}}'>
      <view class="list-item" hover-class="myhover" hover-start-time="50" hover-stay-time="50" bindtap="todetail" data-id="{{item.visitorId}}">
        <image src="{{item.headImage?apiTotal+item.headImage:'/images/default-urser.png'}}" class="head-img"></image>
        <view class="my-column my-flex-sb" style="height:150rpx;">
        <view class="status" wx:if='{{!isregiste}}'>已通过</view>
          <view class="name">{{item.userName}}</view>
          <view class="address">
            <image src="/images/dizhi.png" class="address-img"></image>
            <view class="create-time">{{item.storeyTitle+item.roomTitle}}</view>
          </view>
          <view class="create-time">提交时间：{{item.createDate}}</view>
        </view>
      </view>
    </block>
  </scroll-view>
</view>