b_index.wxml
2.66 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<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>