46 lines
2.7 KiB
Plaintext
Raw Normal View History

<view class="containerView">
<!-- 选择时间 -->
<view class="selfPop" wx:if="{{showTime}}">
<view wx:if="{{rangeOp.length > 1}}">
<view class="labelView">
<view class="leftLineTitle">请选择时间范围</view>
2024-03-02 18:14:38 +08:00
</view>
<van-cell bind:tap="showRange" title="{{dateText}}" is-link value="{{timeRangeText}}" arrow-direction="down" />
2024-03-04 14:38:21 +08:00
</view>
<view wx:if="{{rangeOp.length == 1}}">
<view class="labelView">
<view class="leftLineTitle">会议时间范围</view>
</view>
<van-cell title="{{dateText}}" value="{{timeRangeText}}" />
2024-03-04 14:38:21 +08:00
</view>
<view class="labelView">
<view class="leftLineTitle">请选择开始时间</view>
</view>
<view class="labelTimeView">
<view style="width: 50%;text-align: center;">时</view>
<view style="width: 50%;text-align: center;">分</view>
</view>
<van-datetime-picker type="time" visible-item-count="4" value="{{ startTime }}" min-hour="{{ minTime }}" max-hour="{{ maxTime }}" min-minute="{{ minMinute }}" max-minute="{{ maxMinute }}" bind:change="onInputStartTime" confirm-button-text="" cancel-button-text="" filter="{{ filterTime }}" show-toolbar="{{false}}" />
<view class="labelView">
<view class="leftLineTitle">请选择结束时间</view>
</view>
<view class="labelTimeView">
<view style="width: 50%;text-align: center;">时</view>
<view style="width: 50%;text-align: center;">分</view>
</view>
<van-datetime-picker type="time" visible-item-count="4" value="{{ endTime }}" min-hour="{{ endMinTime }}" max-hour="{{ endMaxTime }}" min-minute="{{ endMinMinute }}" max-minute="{{ endMaxMinute }}" bind:change="onInputEndTime" confirm-button-text="" cancel-button-text="" show-toolbar="{{false}}" filter="{{ filterTime }}" />
2025-05-21 16:42:30 +08:00
</view>
<view style="text-align: center;color: red; margin-top: 0px;line-height: 20px;z-index: 10;position: fixed;left: 50%;bottom: 130px;transform: translateX(-50%);">
请正确填写会议开始时间
</view>
<view wx:if="{{ userDetail.roomRole != 5 }}" data-act="confirm" class="submitBtn" bind:tap="confirmTime">确认时间</view>
<view wx:if="{{ userDetail.roomRole == 5 }}" data-act="confirm" class="submitBtn" style="width: 40%;left: 28%;" bind:tap="confirmTime">填写信息</view>
<view wx:if="{{ userDetail.roomRole == 5 }}" data-act="use" class="submitBtn" style="width: 40%;left: 72%;background: red;" bind:tap="confirmTime">提前占用</view>
<van-popup show="{{ showRangePicker }}" bind:close="hideRange" position="bottom">
<van-picker show-toolbar title="请选择会议时段" bind:cancel="hideRange" bind:confirm="rangePick" columns="{{ rangeOp }}" />
</van-popup>
<!-- 消息提示 -->
<van-notify id="van-notify" />
2024-03-02 18:14:38 +08:00
</view>