<!-- pass.wxml -->
<view class="mycontainer" style="padding:0rpx;">
  <view class="picker-item">
    <view class="my-row my-align-c">
      <view class="desc-t desc-c">选择人员</view>
    </view>
    <view class="my-row my-align-c">
      <picker value="{{value}}" mode='multiSelector' range="{{userArray}}" bindchange="bindUserChange" bindcolumnchange='columnChange'>
        <view class="desc-t">
          {{userArray[0][value[0]]}}{{userArray[1][value[1]]}}{{userArray[2][value[2]]}}
        </view>
      </picker>
      <image src="/images/jiantou-bottom.png" class="icon-bottom"></image>
    </view>
  </view>
  <view class="picker-item">
    <view class="my-row my-align-c">
      <view class="desc-t desc-c">选择设备</view>
    </view>
    <view class="my-row my-align-c">
      <picker value="{{deviceIndex}}" range="{{deviceArray}}" bindchange="bindDeviceChange">
        <view class="desc-t">
          {{deviceArray[deviceIndex]}}
        </view>
      </picker>
      <image src="/images/jiantou-bottom.png" class="icon-bottom"></image>
    </view>
  </view>
  <view class="picker-item">
    <view class="my-row my-align-c">
      <view class="desc-t desc-c">选择时间</view>
    </view>
    <view class="my-row my-align-c">
      <picker mode="date" value="{{startDate}}" start="2000-01-01" end="2099-12-31" bindchange="bindStartDateChange">
        <view class="desc-t">
          {{startDate}}至
        </view>
      </picker>
      <picker mode="date" value="{{endDate}}" start="2000-01-01" end="2099-12-31" bindchange="bindendDateChange">
        <view class="desc-t">
          {{endDate}}
        </view>
      </picker>
      <image src="/images/jiantou-bottom.png" class="icon-bottom"></image>
    </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">
        <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="name">{{item.displayName}}</view>
          <view class="address">
            <image src="/images/clock.png" class="address-img"></image>
            <view class="create-time">{{item.openTime}}</view>
            <view class="normal" wx:if='{{item.state==1}}'>进入</view>
            <view class="normal" wx:if='{{item.state==2}}'>外出</view>
          </view>
          <view class="address">
            <image src="/images/dizhi.png" class="address-img"></image>
            <view class="create-time">{{item.address?item.address:'洛阳测试中心'}}</view>
          </view>
        </view>
      </view>
    </block>
  </scroll-view>
</view>