b_index.wxml 2.66 KB
<nav>订座</nav>
<block wx:if="{{isloading==true}}">
    <block wx:if="{{!bookList}}">
        <nothingBook></nothingBook>
    </block>
    <block wx:else>
        <view style="height:{{contentHeight}}px;" bindcsroll="onPullDownRefresh">
            <view class="book-page bg_white">
                <view class="book-search flex-ll">
                    <image src="../image/search.png" class="search-icon"></image>
                    <input placeholder="桌位·预定人姓名·手机号" placeholder-class="font30r gray-font smooth" class="font30r black-font smooth search-input"/>
                </view>
                <view class="search-easy flex-lr">
                    <view class="block flex-cc">
                        {{dateStr}}
                    </view>
                    <view class="block section flex-cc">
                        <view class="tab flex-cc">
                            <item class="item {{form.time==0?'checked':''}}"
                                  bindtap="selectedValue" data-key="time" data-value="0">
                                早市
                            </item>
                            <item class="item {{form.time==1?'checked':''}}"
                                  bindtap="selectedValue" data-key="time" data-value="1">
                                午市
                            </item>
                            <item class="item {{form.time==2?'checked':''}}"
                                  bindtap="selectedValue" data-key="time" data-value="2">
                                晚市
                            </item>
                        </view>
                    </view>
                </view>
                <view class="book-list-cut flex-ll font26r black-font">
                    <text>已定 {{bookList.length}}</text>
                </view>
                <view class="book-list-thead flex-lr font34r black-font">
                    <view>桌号</view>
                    <view class="flex-cc">预定人</view>
                    <view class="flex-cc" bindtap="timeorder">时间<image src="../image/direction.png" class="icon22-26" background-size="cover"></image></view>
                    <view class="flex-rr">操作</view>
                </view>
                <scroll-view class="book-list" style="height:{{listHeight}}px;" scroll-y bindscroll="addbooklist">
                     <view class="book-list-body">
                        <block wx:for="{{bookList}}">
                            <bookList item="{{item}}"></bookList>
                        </block>
                     </view>
                </scroll-view>
            </view>
        </view>
    </block>
</block>
<tabBar></tabBar>