reserve.wxml 1.94 KB
<!--pages/reserve/detail.wxml-->
<page loading="{{loading}}">
    <nav hasHome>{{seller.sellername}}</nav>
    <!-- 包间预定 -->
    <block wx:if="{{seller.id}}">
        <view class="margin-bottom-xl">
            <calendar seller="{{seller}}" bindselectdate="selectdate" date="{{reserveDate}}"></calendar>
        </view>
        <view class="padding-lr-lg padding-top-lg" >
            <view class="flex justify-between align-center margin-bottom margin-top">
                <view class="txt-36-h text-bold">预订时段</view>
            </view>
            <view>
                <section seller="{{seller}}" date="{{reserveDate}}" bind:selectsection="selectsection" section="{{reserveSection}}"></section>
            </view>
        </view>
        <block wx:if="{{reserveSection}}">
            <select-room seller="{{seller}}" date="{{reserveDate}}" section="{{reserveSection}}" seletroomlist="{{seletroomlist}}" bindchangeroom="selectroom"></select-room>
        </block>
    </block>
    <!--
    <view wx:if="{{seller.id}}">
        <view class="olreserve bg_white">

            <view class="reserve-time Semibold">预订日期</view>
            <calendar seller="{{seller}}" bindselectdate="selectdate" date="{{reserveDate}}"></calendar>
            <view class="reserve-time Semibold">预订时段</view>
            <section seller="{{seller}}" date="{{reserveDate}}" bind:selectsection="selectsection" section="{{reserveSection}}"></section>
            <block wx:if="{{reserveSection}}">
                <select-room seller="{{seller}}" date="{{reserveDate}}" section="{{reserveSection}}" seletroomlist="{{seletroomlist}}" bindchangeroom="selectroom"></select-room>
            </block>
        </view>
    </view>
    -->
    <view class="reserve-button-cover {{seletroomlist.length>0?'bg-blue-blue':'bg-cccccc'}} flex justify-center align-center round" catchtap="complete">
        <view class="reserve-button txt-36-h">选好了</view>
    </view>
</page>