<!-- warning.wxml -->
<view class="mycontainer" style="padding:0rpx;">
  <view class="tab-item">
    <view class="item {{tab==1?'item-checked':''}}" bindtap="checkTab" data-type="1">一日未归</view>
    <view class="item {{tab==3?'item-checked':''}}" bindtap="checkTab" data-type="3">三日未归</view>
    <view class="item {{tab==5?'item-checked':''}}" bindtap="checkTab" data-type="5">五日未归</view>
  </view>
  <scroll-view scroll-y='true'>
    <block wx:for='{{list}}'>
      <view class="list-item">
        <image src="{{item.headImage?apiTotal+item.headImage:'/images/default-urser.png'}}" class="head-img"></image>
        <view class="my-column my-flex-sb" style="height:170rpx;">
          <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="my-row my-flex-sb">
            <view class="img-btn" hover-class="myhover" hover-start-time="50" hover-stay-time="50">
              <image src="/images/icon-message.png" class="btn-img"></image>
            </view>
            <view class="img-btn" hover-class="myhover" hover-start-time="50" hover-stay-time="50" bindtap="makePhoneCall" data-phone="{{item.loginId}}">
              <image src="/images/icon-phone.png" class="btn-img" style="margin-left:30rpx;"></image>
            </view>
          </view>
        </view>
      </view>
    </block>
  </scroll-view>
</view>