mirror of
https://gitee.com/elegant_wings/dbd-meeting-wx-small.git
synced 2025-06-21 14:19:38 +08:00
42 lines
2.5 KiB
Plaintext
42 lines
2.5 KiB
Plaintext
<view class="containerView">
|
|
<!-- 选择时间 -->
|
|
<view class="selfPop" wx:if="{{showTime}}">
|
|
<view wx:if="{{rangeOp.length > 1}}">
|
|
<view class="labelView">
|
|
<view class="leftLineTitle">请选择时间范围</view>
|
|
|
|
</view>
|
|
<van-cell bind:tap="showRange" title="{{dateText}}" is-link value="{{timeRangeText}}" arrow-direction="down" />
|
|
</view>
|
|
<view wx:if="{{rangeOp.length == 1}}">
|
|
<view class="labelView">
|
|
<view class="leftLineTitle">会议时间范围</view>
|
|
</view>
|
|
<van-cell title="{{dateText}}" value="{{timeRangeText}}" />
|
|
</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 }}" />
|
|
</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" />
|
|
</view> |