<view class="containerView public">

    <view class="dataView">
        <!-- 标题 -->
        <view class="leftLineTitle">会议预约情况</view>
        <!-- 预约列表 -->
        <view class="itemVIew" wx:for="{{dataList}}" wx:for-item="item" wx:key="*this">
            <view class="item">{{item.nowDate}}</view>
            <view class="itemTimeView" wx:for="{{item.reservations}}" wx:for-item="record" wx:key="*this">
                <view class="time">{{record.startTime}}~{{record.endDate}}</view>
                <view class="status">已预约</view>
            </view>
        </view>
    </view>

    <!-- 预约时间 -->
    <view class="submitBtn" bind:tap="reservationTime">预约时间</view>

    <!-- 选择时间 -->
    <view class="selfPop" wx:if="{{showTime}}">
        <view class="labelView">
            <view class="leftLineTitle">请选择开始时间</view>
        </view>
        <van-datetime-picker  type="datetime" value="{{ startTime }}" min-date="{{ minTime }}" max-date="{{ maxTime }}" bind:input="onInputStartTime" bind:confirm="confirmTime" bind:cancel="cancelTime" confirm-button-text="" cancel-button-text="" 
        filter="{{ filterTime }}"/>

        <view class="labelView">
            <view class="leftLineTitle">请选择结束时间</view>
            <view class="enter" bind:tap="confirmTime">确定</view>
        </view>
        <van-datetime-picker  type="datetime" value="{{ endTime }}" min-date="{{ startTime }}" max-date="{{ endMaxTime }}" bind:input="onInputEndTime" bind:confirm="confirmTime" 
        confirm-button-text="" cancel-button-text="" bind:cancel="cancelTime" filter="{{ filterTime }}"/>
    </view>

    <!-- 消息提示 -->
    <van-notify id="notify" />

</view>