mirror of
https://gitee.com/elegant_wings/dbd-meeting-wx-small.git
synced 2025-06-22 06:39:37 +08:00
76 lines
4.2 KiB
Plaintext
76 lines
4.2 KiB
Plaintext
<view class="containerView public">
|
|
|
|
<!-- 筛选条件 -->
|
|
<view class="queryView">
|
|
<van-dropdown-menu active-color="#4e96f8">
|
|
<van-dropdown-item id="selectTime" title="日期" overlay="{{ false }}">
|
|
<view style="padding: 15px 16px;">
|
|
<view style="text-align: center;font-size: 32rpx;margin-bottom: 20rpx;">{{dateStr}}</view>
|
|
<van-button type="info" size="small" block round bind:click="showTimePicker">
|
|
更改日期
|
|
</van-button>
|
|
</view>
|
|
</van-dropdown-item>
|
|
<!-- 时间范围 -->
|
|
<!-- <van-dropdown-item wx:if="{{ userDetail.roomRole != 5 }}" value="{{ queryParam.timeRangeDict.value }}" options="{{ queryParam.timeRangeDict.list }}" bind:change="dictChange" data-type="timeRangeDict" /> -->
|
|
<!-- 字典-会议室 -->
|
|
<van-dropdown-item value="{{ queryParam.meetingTypeDict.value }}" options="{{ queryParam.meetingTypeDict.list }}" bind:change="dictChange" data-type="meetingTypeDict" />
|
|
<!-- 字典-人数 -->
|
|
<van-dropdown-item value="{{ queryParam.personDict.value }}" options="{{ queryParam.personDict.list }}" bind:change="dictChange" data-type="personDict" />
|
|
<!-- 字典-设备 -->
|
|
<van-dropdown-item id="itemSelect" title="{{ queryParam.itemDict.title }}">
|
|
<van-cell title="{{ item.text }}" wx:for="{{queryParam.itemDict.list}}" wx:key="*this">
|
|
<van-switch slot="right-icon" size="24px" style="height: 26px" checked="{{ item.select }}" active-color="#3c8bf2" bind:change="dictSwitchChange" data-name="{{item.text}}" data-id="{{item.value}}" />
|
|
</van-cell>
|
|
<!-- <view style="padding:30rpx;">
|
|
<van-button type="danger" block round bind:click="itemDictConfirm" color="#3c8bf2">收起</van-button>
|
|
</view> -->
|
|
</van-dropdown-item>
|
|
<!-- 字典-形式 -->
|
|
<van-dropdown-item value="{{ queryParam.shapeDict.value }}" options="{{ queryParam.shapeDict.list }}" bind:change="dictChange" data-type="shapeDict" />
|
|
</van-dropdown-menu>
|
|
</view>
|
|
<view class="meetingRoomView">
|
|
<view wx:for="{{roomDataList}}">
|
|
<view class="roomType">{{item.name}}</view>
|
|
<view class="meetingRoomItem" bind:tap="chooseMeetingTime" wx:for="{{item.list}}" wx:for-item="room" wx:key="*this" data-id="{{room.id}}" data-am="{{room.am}}" data-pm="{{room.pm}}" data-night="{{room.night}}">
|
|
<view class="content">
|
|
<view class="title">{{room.roomNum}}</view>
|
|
<view class="am" wx:if="{{room.am == 0}}">上午</view>
|
|
<view class="am disabled" wx:if="{{room.am == 1}}">上午</view>
|
|
<view class="pm" wx:if="{{room.pm == 0}}">下午</view>
|
|
<view class="pm disabled" wx:if="{{room.pm == 1}}">下午</view>
|
|
<!-- <view class="night" wx:if="{{room.am == 0}}">晚上</view>
|
|
<view class="night disabled" wx:if="{{room.am == 1}}">晚上</view> -->
|
|
<view class="priceView">
|
|
<view class="unit">
|
|
{{room.capacityNum}}人 {{room.typeName}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<!-- <view class="imgView">
|
|
<view class="title">{{room.meetingName}}</view>
|
|
<image class="img" src="{{IMG_NAME + room.indoorPicUrlFirst}}" mode="aspectFill" />
|
|
</view> -->
|
|
</view>
|
|
<view style="clear: both;"></view>
|
|
</view>
|
|
<view style="text-align: center;color: grey; margin-top: 30px;line-height: 20px;">
|
|
<view>
|
|
请在08:30~17:30内进行预约会议
|
|
</view>
|
|
<view bind:tap="callAdmin">
|
|
有问题请联系工作人员:陆成俊 {{ adminTel }}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<van-notify id="van-notify" />
|
|
|
|
</view>
|
|
|
|
<van-action-sheet show="{{ showPicker }}" actions="{{ actions }}" bind:close="onClosePicker" bind:cancel="onClosePicker" bind:select="onSelectRange" cancel-text="取消" description="请选择预约时段" />
|
|
|
|
<van-popup show="{{ timeShow }}" bind:close="hideTimePicker" position="bottom" round="true">
|
|
<van-datetime-picker title="请选择会议日期" type="date" value="{{ currentDate }}" min-date="{{ minDate }}" max-date="{{ maxDate }}" formatter="{{ formatter }}" bind:confirm="changeTime" bind:cancel="hideTimePicker" />
|
|
</van-popup> |