<!--pagesA/faceinfo/faceinfo.wxml-->
<view class="faceinfo">
    <view class="lock-message">
        <view class="lock-message-item">
            <view class="item-title">锁号</view>
            <view class="item-value">{{facemessage.deviceNum}}</view>
        </view>
        <!-- <view class="lock-message-item">
            <view class="item-title">图像信息</view>
            <van-image width="100rpx" height="100rpx" data-src="{{facemessage.facepic}}" src="{{facemessage.facepic}}" class="item-value" />
        </view> -->
    </view>
    <view class="start-end-date">
        <view class="date-item" bindtap="selectTimeMethods" data-index='1'>
            <view class="date-item-left">
                <view class="item-left-title">生效时间</view>
                <view class="item-left-date">{{ startdate }}</view>
            </view>
            <van-icon name="arrow" class="arrow" />
        </view>
        <view class="date-item" bindtap="selectTimeMethods" data-index='2'>
            <view class="date-item-left">
                <view class="item-left-title">失效时间</view>
                <view class="item-left-date">{{ enddate }}</view>
            </view>
            <van-icon name="arrow" class="arrow" />
        </view>
    </view>
    <view class="picmessage">
        <!-- <view class="picmessage-title">图像名称</view>
        <view class="picmessage-value">{{facemessage.pzname}}</view> -->
        <van-field value="{{ facemessage.pzname }}" placeholder="凭证名称" label="图像名称" border="{{ false }}" bind:change="onChange" input-align="right" disabled/>
    </view>
    <view class="btn" bindtap="sendface">确定</view>
</view>
<view class="d-position-fixed bottom-fixed-0 left-fixed-0" wx:if="{{ selectDateStatus }}">
    <van-datetime-picker type="datetime" value="{{ currentDate }}" bind:confirm="confirmMethods" bind:cancel="cancelMethods" />
</view>
<view class="d-position-fixed bottom-fixed-0 left-fixed-0" wx:if="{{ selectDateStatus1 }}">
    <van-datetime-picker type="datetime" value="{{ currentDate1 }}" min-date="{{ currentDate }}" bind:confirm="confirmMethods" bind:cancel="cancelMethods" />
</view>