<wxs src="../../utils/util.wxs" module="utils" />
<view class="layout">
    <view class="top basics bor {{projection?'bgc':''}} " bindtap="largeScreenFun" data-type="1" wx:if="{{utils.indexOf1(itemData.meetingBeforeServiceNameList,'预约大屏/投影')}}">
        <image class="img" src="/static/img/layout-icon.png" mode="" wx:if="{{!projection}}" />
        <van-icon wx:if="{{projection}}" class="live" name="live" />大屏/投影
    </view>
    <view class="content flex">
        <view class="left">
            <view class="item" wx:for="{{leftList}}" wx:key="index">
                <view class="item-top over basics bor1 {{item.monogram?'bgc':''}}" bindtap="getMonogram" data-type="left" data-index="{{index}}" wx:if="{{utils.indexOf1(itemData.meetingBeforeServiceNameList,'准备桌签')}}">{{item.monogram||'桌签'}}</view>

                <view class="flex">
                <van-icon name="clear" class="clear-icon" bindtap="cleaeTea" data-index="{{index}}" data-type="left" wx:if="{{item.teaWater&& !isDisable}}"/>
                    <picker disabled="{{isDisable}}" class="picker" range="{{itemData.meetingBeforeTeaList}}" bindchange="getWater" data-type="left" data-index="{{index}}" wx:if="{{utils.indexOf1(itemData.meetingBeforeServiceNameList,'准备茶水')}}">
                        <view class="wid item-bottom basics bor1 {{item.teaWater?'bgc':''}}">
                            {{item.teaWater || '茶水'}}
                        </view>
                    </picker>

                    <view wx:if="{{utils.indexOf1(itemData.meetingBeforeServiceNameList,'允许点心')}}" class="wid item-bottom basics bor1 m-l {{item.snack?'bgc':''}}" bindtap="getSnack" data-type="left" data-index="{{index}}">点心</view>
                </view>
            </view>
        </view>
        <view class="center basics" bindtap="largeScreenFun" data-type="2" wx:if="{{utils.indexOf1(itemData.meetingBeforeServiceNameList,'开空调')}}">
            <view class="basics bor {{aircondition?'bgc':''}}">
                <image class="air img" src="/static/img/layout-icon.png" mode="" wx:if="{{!aircondition}}" />
                <image class="air img" src="/static/img/air.png" mode="" wx:if="{{aircondition}}" />
                <view>
                    空调
                </view>
            </view>
        </view>
        <view class="right">
            <view class="item" wx:for="{{rightList}}" wx:key="index">
                <view class="item-top over basics bor1 {{item.monogram?'bgc':''}}" bindtap="getMonogram" data-type="right" data-index="{{index}}" wx:if="{{utils.indexOf1(itemData.meetingBeforeServiceNameList,'准备桌签')}}">{{item.monogram||'桌签'}}</view>

                <view class="flex">
                    <van-icon name="clear" class="clear-icon" bindtap="cleaeTea" data-index="{{index}}" data-type="right" wx:if="{{item.teaWater && !isDisable}}"/>
                    <picker disabled="{{isDisable}}" class="picker" range="{{itemData.meetingBeforeTeaList}}" bindchange="getWater" data-type="right" data-index="{{index}}" wx:if="{{utils.indexOf1(itemData.meetingBeforeServiceNameList,'准备茶水')}}">
                        <view class="wid item-bottom basics bor1 {{item.teaWater?'bgc':''}}">{{item.teaWater || '茶水'}}</view>
                    </picker>

                    <view wx:if="{{utils.indexOf1(itemData.meetingBeforeServiceNameList,'允许点心')}}" class="wid item-bottom basics bor1 m-l {{item.snack?'bgc':''}}" bindtap="getSnack" data-type="right" data-index="{{index}}">点心</view>
                </view>
            </view>
        </view>
    </view>
</view>