b_info.wxml 4.11 KB
<nav>点餐商户端</nav>
<step step="1"></step>
<view class="other-info flex-lr">
    <view class="selected-time flex-vc" bindtap="changetime">
        <view class="font30r black-font">时间</view>
        <view class="actual-time green-font font34r">{{selectdate}} {{time_dur}}</view>
    </view>
    <selectPeople bind:changepnum="changepnum" pnum="{{pnum}}"></selectPeople>
</view>
<view class="border-line"></view>

<view class="advice-desk flex-lr">
    <view class="black-font font30r">桌位</view>
    <view>
        <view class="font26r gray-deep-font flex-rr">(包间余{{baocount}}个,散座余{{sancount}}个)</view>
        <view class="advice-desk-detail flex-rr">
            <block wx:for="{{showdesk}}">
                <block wx:if="{{item.tid==2}}">
                    <view class="order-desk-info {{item.isselect==true ? 'desk-active' : ''}}" bindtap="binddesk" data-id="{{item.id}}" data-type="{{item.tid}}">
                        <view class="flex-vc order-desk-detail">
                            <view class="font28r black-font smooth">{{item.name}}</view>
                            <view class="font26r black-font" style="margin-top:6rpx;">{{item.table_pnum}}人</view>
                        </view>
                        <view class="order-desk-type flex-cc white-font font20r">包间</view>
                    </view>
                </block>
                <block wx:else>
                     <view class="order-desk-info {{item.isselect==true ? 'desk-active' : ''}}" bindtap="binddesk" data-id="{{item.id}}" data-type="{{item.tid}}">
                          <view class="flex-vc order-desk-detail" style="height:100%;">
                               <view class="font28r black-font smooth">{{item.name}}</view>
                               <view class="font26r black-font" style="margin-top:6rpx;">6人</view>
                          </view>
                     </view>
                </block>
            </block>
            <view class="flex-rr advice-more" bindtap="selectdesk">
                <view style="padding-right:30rpx;" class="gray-deep-font font26r">更多</view>
                <image src="../image/click.png" class="icon12-22"></image>
            </view>
        </view>
    </view>
</view>
<view class="cut"></view>


<view class="book-info" style="margin-bottom: 205rpx;">
    <view class="book-info-single flex-lr" style="align-items:flex-start;">
        <input placeholder="请输入预订人姓名(必填)" placeholder-class="gray-font font34r" class="black-font font34r" maxlength="5" style="width:450rpx;" value="{{name}}" bindinput="changename" bindblur="ifAll"/>
        <view class="book-info-grand flex-rr font28r gray-deep-font">
            <block wx:for="{{grand}}">
                <view class="book-grand flex-cc {{index==0 ? 'book-grand-border' : ''}} {{item.isselect==true ? 'book-grand-active white-font' : ''}}" bindtap="selectgrand" data-sex="{{item.sex}}">{{item.grand_title}}</view>
            </block>
        </view>
    </view>
    <view class="book-info-single flex-lr" style="align-items:flex-start;">
        <input placeholder="请输入预订人手机号码(必填)" placeholder-class="gray-font font34r" class="black-font font34r" type="number" maxlength="11" bindblur="condition" bindinput="changephone" value="{{phone}}" style="color:{{reminder ? '#E14553' : '#353535'}};width:{{reminder ? 400 : 680}}rpx;"/>
        <block wx:if="{{reminder}}">
            <view class="flex-rr" style="height:100rpx;">
                <view style="color:#E14553;" class="font28r">{{reminder}}</view>
                <image src="../image/name-have.png" class="phone-reminder"></image>
            </view>
        </block>
    </view>
    <view class="book-info-single">
        <input placeholder="请输入顾客要求(25字以内,选填)" placeholder-class="gray-font font34r" class="black-font font34r" maxlength="25" value="{{remark}}" bindinput="changeremark"/>
    </view>
</view>
<view class="zhanwei">
    <view class="confirm-button white-font flex-vc font34r {{buttonhide==false ? 'confirm-button-active' : ''}}" bindtap="{{buttonhide==false ? 'formsubmit' : ''}}">确定</view>
</view>