b_setting.wxml
2.63 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
<!--pages/book/b_setting.wxml-->
<nav id="nav">桌位</nav>
<view class="page">
<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 {{time==0?'checked':''}} flex-cc"
bindtap="selectedValue" data-key="time" data-value="0">
早市
</item>
<item class="item {{time==1?'checked':''}} flex-cc"
bindtap="selectedValue" data-key="time" data-value="1">
午市
</item>
<item class="item {{time==2?'checked':''}} flex-cc"
bindtap="selectedValue" data-key="time" data-value="2">
晚市
</item>
</view>
</view>
</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>
</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="160" board="{{item}}"
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 weeks-type="cn" catchtap="catchtap"
start-date="2018-09"
days-color="{{dayStyle}}"
binddayClick="dateChange"
active-type="rounded"
calendar-style="calendar"
header-style="calendar-header"
board-style="calendar-board"></calendar>
</view>
</view>