b_index.wxml
1.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<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>
<scroll-view class="book-list" style="height:{{listHeight}}px;" scroll-y bindscroll="addbooklist">
<view class="book-list-thead flex-lr font34r black-font">
<view>桌号</view>
<view class="flex-cc" bindtap="timeorder">时间<image src="../image/direction.png" class="icon22-26" background-size="cover"></image></view>
<view class="flex-cc">状态</view>
<view class="flex-rr">操作</view>
</view>
<view class="book-list-body">
<block wx:for="{{bookList}}">
<view class="book-list-cut flex-ll font26r black-font">
<text space='true'>{{item.date}} {{item.datemask}}</text>
</view>
<block wx:for="{{item.list}}" wx:for-item="list">
<block wx:if="{{index!=0}}">
<view class="border-line"></view>
</block>
<bookList item="{{list}}"></bookList>
</block>
</block>
</view>
</scroll-view>
</view>
</view>
</block>
</block>
<actButton></actButton>