index.wxml
2.89 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
<!--pages/reservr/index.wxml-->
<view class="pages">
<view class="flex-vc map">
<map id="map" scale="{{map.scale}}"
longitude="{{map.longitude}}" latitude="{{map.latitude}}"
markers="{{markers}}" polygons="{{polygons}}"
bindmarkertap="markertap"
bindregionchange="regionchange"
bindupdated="mapUpdated"
show-location
enable-3D
enable-zoom
enable-scroll
enable-rotate
show-compass
style="width: 100%; height: {{map.height}}px;"></map>
<formids url="/pages/reserve/search" style="position: fixed;">
<cover-view class="searchAddr flex-ll" style="top: {{searchAddrTop}}rpx;">
<cover-image class="icon" src="http://qn.colorcun.com/custom/lite-online/image/search.png"></cover-image>
<cover-view class="title">{{hasSuggestion?suggestion.title:'请输入位置'}}</cover-view>
</cover-view>
</formids>
</view>
<view class="transverse-view">
<cover-view class="transverse-view-top"></cover-view>
<view class="transverse-search">
<picker
mode="multiSelector"
bindchange="bindMultiPickerChange"
bindcolumnchange="bindMultiPickerColumnChange"
value="{{multiIndex}}"
range="{{multiArray}}"
>
<view class="picker flex-lr" style="width: 100%">
<view class="input">
<block wx:if="{{multiIndex[0]==0 && multiIndex[1]==0}}">贵宾几位,吃点什么?</block>
<block wx:else="">{{multiArray[0][multiIndex[0]]}},{{multiArray[1][multiIndex[1]]}}</block>
</view>
<view class="more"></view>
</view>
</picker>
</view>
<view class="transverse-list">
<scroll-view
scroll-x
class="scroll-view_H"
scroll-into-view="{{scrollIntoView}}"
>
<view class="flex-ll">
<view class="seller" wx:for="{{sellers}}" wx:key="{{sellers.key}}" id="seller-{{item.id}}">
<sb-tr seller="{{item}}"></sb-tr>
</view>
<view wx:if="{{sellers.length>1}}" style="min-width: 2rpx;min-height: 40rpx;"> </view>
</view>
</scroll-view>
</view>
</view>
</view>
<cover-view bindtap="moveToLocation" class="moveToLocation">
<cover-image src="http://qn.colorcun.com/custom/lite-yd/image/location.png"></cover-image>
</cover-view>
<showModal id="showModal" confirmText="去授权" bindshowModal="showModal"></showModal>
<seller-box id="seller-box" bindevent="sellerBoxEvent"></seller-box>
<cover-view class="tab-patch"></cover-view>