b_setting.wxml
3.64 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!--pages/book/b_setting.wxml-->
<nav id="nav">桌位</nav>
<view class="page">
<view class="search-easy flex-lr">
<formids class="block flex-vc" bindtap="calendarShow">
<view class="flex-vc">
<view class="green-font font34r font-bold flex-cc">{{dateStr}}</view>
</view>
</formids>
<view class="block section flex-vc">
<view class="tab flex-cc">
<formids class="item {{time==0?'checked':''}} flex-cc"
wx:if="{{timePickerArray[0].length>0}}"
bindtap="selectedValue" data-key="time" data-value="0">早市</formids>
<formids class="item {{time==1?'checked':''}} flex-cc"
wx:if="{{timePickerArray[1].length>0}}"
bindtap="selectedValue" data-key="time" data-value="1">午市</formids>
<formids class="item {{time==2?'checked':''}} flex-cc"
wx:if="{{timePickerArray[2].length>0}}"
bindtap="selectedValue" data-key="time" data-value="2">晚市</formids>
</view>
</view>
</view>
<view class="line-ccc"></view>
<view class="flex-lr disks">
<view class="menus Medium" style="height: {{height}}px;">
<view class="menu flex-cc {{regions_active==item.name?'active':''}}"
wx:for="{{regions}}" wx:key="regions.key"
bindtap="chooseRegion" data-name="{{item.name}}">
<view class="menu-text">{{item.name}}</view>
<view class="last-num {{item.list_num>0?'':'full'}}">{{item.list_num>0?'余'+item.list_num:'满座'}}</view>
</view>
</view>
<view class="items" style="height: {{height}}px;">
<block wx:for="{{regions}}" wx:key="regions.key">
<view class="items-disks flex-ll" style="flex-wrap: wrap"
wx:if="{{regions_active==item.name}}">
<board width="160" height="180" board="{{item}}"
ddate="{{rdate}}"
style="margin: 20rpx 0 0 20rpx"
bindboardEvent="boardEvent"
event="boardOpt"
wx:for="{{item.list}}" wx:key="item.key" ></board>
</view>
</block>
</view>
</view>
</view>
<tabBar></tabBar>
<view class="calendar-mask" bindtap="calendarClose"
style="height:{{calendarMask?'100%':0}};" wx:if="{{calendarMaskLoad}}">
<view style="width: 100%; height:{{calendarMask?'100%':0}};overflow: hidden;position: relative;">
<calendar catchtap="catchtap"
isTodaybtn="{{true}}" todaybtn_txt="回到今天"
custom="{{false}}"
switchover="{{['上一月','下个月']}}"
active-coloro="active-coloro"
active-colort="active-colort"
speciallist="{{speciallist}}"
txt_style="txt-style"
calendar-style="calendar"
header-style="calendar-header"
weektitle-style="weektitle-style"
restcolor-style="restcolor-style"
txt_type="cn-d"
datefont-style="datefont-style"
todaybtn-style="todaybtn-style"
bindnextMonth="nextMonth"
bindprevMonth="prevMonth"
bindselectDate="dateChange"
bindgotoday="gotoday"
prev="{{true||calendar.nextNum>0}}"
circle_show="{{false}}"
closelaststyle="{{true}}"
></calendar>
</view>
</view>