|
|
|
<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-vc" bindtap="calendarShow">
|
|
|
|
<view class="black-font font30r">时间</view>
|
|
|
|
<view class="green-font font34r font-bold flex-cc" style="margin-top:40rpx;height:54rpx;">{{dateStr}}</view>
|
|
|
|
<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" value="{{form.keywords}}" bindinput="searchinput" confirm-type="search" bindconfirm="searchbook"/>
|
|
|
|
</view>
|
|
|
|
<view class="search-easy flex-lr">
|
|
|
|
<view class="block flex-vc" bindtap="calendarShow">
|
|
|
|
<view class="green-font font34r font-bold flex-cc">{{dateStr}}</view>
|
|
|
|
</view>
|
|
|
|
<view class="block section flex-vc">
|
|
|
|
<view class="tab flex-cc">
|
|
|
|
<item class="item {{form.time==0?'checked':''}} flex-cc"
|
|
|
|
bindtap="selectedValue" data-key="time" data-value="0">
|
|
|
|
早市
|
|
|
|
</item>
|
|
|
|
<item class="item {{form.time==1?'checked':''}} flex-cc"
|
|
|
|
bindtap="selectedValue" data-key="time" data-value="1">
|
|
|
|
午市
|
|
|
|
</item>
|
|
|
|
<item class="item {{form.time==2?'checked':''}} flex-cc"
|
|
|
|
bindtap="selectedValue" data-key="time" data-value="2">
|
|
|
|
晚市
|
|
|
|
</item>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<block wx:if="{{!bookList}}">
|
|
|
|
<nothingBook height="{{listHeight}}"></nothingBook>
|
|
|
|
</block>
|
|
|
|
<block wx:else>
|
|
|
|
<view bindcsroll="onPullDownRefresh" class="bg_white">
|
|
|
|
<view class="book-list-cut flex-ll font26r black-font">
|
|
|
|
<text>已定 {{bookList.length}}</text>
|
|
|
|
</view>
|
|
|
|
<view class="block section flex-vc">
|
|
|
|
<view class="black-font font30r">时段</view>
|
|
|
|
<view class="tab flex-cc" style="margin-top:40rpx;">
|
|
|
|
<item class="item {{form.time==0?'checked':''}} flex-cc"
|
|
|
|
bindtap="selectedValue" data-key="time" data-value="0">
|
|
|
|
早市
|
|
|
|
</item>
|
|
|
|
<item class="item {{form.time==1?'checked':''}} flex-cc"
|
|
|
|
bindtap="selectedValue" data-key="time" data-value="1">
|
|
|
|
午市
|
|
|
|
</item>
|
|
|
|
<item class="item {{form.time==2?'checked':''}} flex-cc"
|
|
|
|
bindtap="selectedValue" data-key="time" data-value="2">
|
|
|
|
晚市
|
|
|
|
</item>
|
|
|
|
</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>
|
|
|
|
<view class="book-list" style="padding-bottom:118rpx;">
|
|
|
|
<view class="book-list-body">
|
|
|
|
<block wx:for="{{bookList}}">
|
|
|
|
<bookList item="{{item}}"></bookList>
|
|
|
|
</block>
|
|
|
|
</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>
|
|
|
|
<view class="book-list" style="padding-bottom:118rpx;">
|
|
|
|
<view class="book-list-body">
|
|
|
|
<block wx:for="{{bookList}}">
|
|
|
|
<bookList item="{{item}}"></bookList>
|
|
|
|
</block>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</block>
|
|
|
|
</block>
|
|
|
|
</block>
|
|
|
|
<tabBar></tabBar>
|
|
|
|
|
...
|
...
|
|