<!--pages/meeting/index/index.wxml-->
<view class="page">
    <!-- 搜索项 -->
    <view class="search-box">
        <view class="search border-radius-20">
            <van-icon name="search" class="" />
            <input type="index" value="{{searchValue}}" placeholder="搜索会议室" bindblur="getSearch" placeholder-class="pl-css" />
        </view>
    </view>
    <view class="contenr">
        <view class="item border-radius-20" wx:for="{{meetingList}}" wx:key="index" bindtap="goto" data-item="{{item}}">
            <image src="/static/img/room-index-bg.png" mode="" />
            <view class="rooom-name ">
                <van-icon name="wap-home" />
                <text> {{item.meetingName}}</text>
            </view>
            <view>
                <van-icon name="location" />
                <text>{{item.meetingAddress}}</text>
            </view>
            <view wx:if="{{!statusItem}}" class="green">
                <van-icon name="map-marked" />
                <text>{{item.canAppointmentStartTime}}~{{item.canAppointmentEndTime}}内可预约</text>
                <van-icon class="m-l" name="map-marked" />
                <text>共有{{item.seatNum}}个座位</text>
            </view>
            <view wx:else class="green meeting-bottom">
                <image class="meeting-img" src="../../../static/img/meeting-icon.png" alt="" srcset=""/>
                <text>今日有{{item.hadMeetingTimes}}场会议</text>
            </view>
            <!-- <view class="go-subscribe">
                预约
                <van-icon name="arrow" />
            </view> -->
        </view>
        <tailTip total="{{total}}" pageNum="{{searchData.pageNum}}" loadding="{{false}}"></tailTip>
    </view>
</view>