mirror of
https://gitee.com/elegant_wings/dbd-meeting-wx-small.git
synced 2025-06-21 21:19:37 +08:00
55 lines
2.4 KiB
Plaintext
55 lines
2.4 KiB
Plaintext
<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 class="noneView" wx:if="{{dataList.length <= 0}}">
|
|
<image class="img" src="{{IMG_NAME + '/profile/static/meeting/reservationRecord/none.png'}}" mode="aspectFill"></image>
|
|
<view class="describe">暂无记录</view>
|
|
</view>
|
|
</view>
|
|
|
|
<!-- 预约时间 -->
|
|
<view class="submitBtn" bind:tap="reservationTime">预约时间</view>
|
|
|
|
<!-- 选择时间 -->
|
|
<view class="selfPop" wx:if="{{showTime}}">
|
|
<view class="labelView">
|
|
<view class="leftLineTitle">请选择开始时间</view>
|
|
</view>
|
|
<view class="labelTimeView">
|
|
<view>年</view>
|
|
<view>月</view>
|
|
<view>日</view>
|
|
<view>时</view>
|
|
<view>分</view>
|
|
</view>
|
|
<van-datetime-picker type="datetime" visible-item-count="5" 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>
|
|
<view class="labelTimeView">
|
|
<view>年</view>
|
|
<view>月</view>
|
|
<view>日</view>
|
|
<view>时</view>
|
|
<view>分</view>
|
|
</view>
|
|
<van-datetime-picker type="datetime" visible-item-count="4" 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> |