<!--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">1</view>
        </view>
        <view class="lock-message-item">
            <view class="item-title">图像信息</view>
            <van-image width="100rpx" height="100rpx" bindtap="preview" data-src="https://img.yzcdn.cn/vant/cat.jpeg" src="https://img.yzcdn.cn/vant/cat.jpeg" 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">哇，贞德是梨啊</view>
    </view>
    <view class="btn">确定</view>
</view>
<view class="d-position-fixed bottom-fixed-0 left-fixed-0" wx:if="{{ selectDateStatus }}">
  <van-datetime-picker
    type="datetime"
    value="{{ currentDate }}" 
    bind:input="onInput" 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:input="onInput" bind:confirm="confirmMethods" bind:cancel="cancelMethods"
  />
</view>

