<!-- visitorcheckdetail.wxml -->
<view class="mycontainer">
  <view class="list">
    <image src="{{userInfo.localPhoto?apiTotal+userInfo.localPhoto:'/images/default-urser.png'}}" class="head-img"></image>
    <block wx:for='{{list}}'>
      <view class="item">
        <view class="key">{{item.key}}</view>
        <view class="value">{{item.value}}</view>
      </view>
    </block>
  </view>
  <view class="btn-item" wx:if='{{type=="true"}}'>
    <view class="btn approve" hover-class="myhover" hover-start-time="50" hover-stay-time="50" bindtap="check" data-reject="approve">通过</view>
    <view class="btn reject" hover-class="myhover" hover-start-time="50" hover-stay-time="50" bindtap="check" data-reject="reject">驳回</view>
  </view>
</view>