search.wxml
3.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
67
68
69
70
<!--pages/reserve/home.wxml-->
<nav backgroundColor="{{navborder ? '#ffffff' : 'transparent'}}" place="{{false}}"></nav>
<view class="view header">
<image src="http://nosqn.colorcun.com/search/s%20%281%29.png"
style="z-index: 1"
mode="widthFix" class="bg-img"></image>
<taocan-notice pos="{{taocanpos}}"></taocan-notice>
</view>
<view class="view search margin-lr padding-top-0 padding-lr-lg padding-bottom-lg">
<view class="view solid-bottom flex justify-around align-center" style="height: 110rpx;">
<view bindtap="dispalyLocation"
class="view flex-treble text-bold text-xl text-cut margin-right-lg">
{{location}}
</view>
<view class="view flex flex-direction align-center justify-center" bindtap="meLocation">
<view class="view posicon"></view>
<view class="view text-blue txt-24-h" style="margin-top: 4rpx;">我的位置</view>
</view>
</view>
<!-- <view class="view solid-bottom flex justify-around align-center" style="height: 110rpx;" bindtap="dispalySearchHow">
<view class="flex-treble txt-36-h {{findSellerData.action=='auto' ? '' : 'text-bold'}}" style="color: {{findSellerData.action=='auto' ? '#999999' : '#353535'}};">{{findSellerData.action=='auto' ? '选择日期/时段/人数' : findSellerData.paramStr||'选择日期/时段/人数'}}</view>
<view class="more"></view>
</view> -->
<view class="view flex justify-around align-center"
bindtap="goPath" data-path="/pages/reserve/searchKeyword"
style="height: 110rpx;">
<view class="flex-treble txt-32-h text-gray">搜索餐厅/位置/关键词</view>
<view class="more"></view>
</view>
<!-- <view class="view flex justify-around align-center" style="height: 110rpx;" bindtap="displayFilter">
<view class="flex-treble txt-32-h {{consumeStr?'':'text-gray'}}">{{consumeStr||'人均消费'}}</view>
<view class="more"></view>
</view> -->
<view class="view flex justify-around align-center round bg-blue-blue text-bold"
bindtap="goPath" data-path="/pages/reserve/indexList"
style="height: 84rpx;">
查找包间
</view>
</view>
<view wx:if="{{IsSetActivityByFoods}}" class="margin-top-lg padding-lr-lg padding-top-lg">
<view class="txt-40-h text-bold margin-bottom">精选特惠</view>
<view class="flex justify-center align-center" >
<view class="view youhui-image image1" style="" data-tabidx="2" data-path="/pages/reserve/discount" bindtap="goPath"></view>
<view class="margin-left-xs">
<view class="view youhui-image image2" data-tabidx="1" data-path="/pages/reserve/discount" bindtap="goPath"></view>
<view class="view youhui-image image3 margin-top-xs" data-tabidx="0" data-path="/pages/reserve/discount" bindtap="goPath"></view>
</view>
</view>
</view>
<view wx:if="{{sellers.length>0}}" class="margin-tb-lg padding-tb-lg">
<view class="txt-40-h text-bold margin-bottom margin-lr-lg">为你推荐</view>
<view wx:for="{{sellers}}" wx:key="sellers" class="margin-lr-sm" >
<navigator url="/pages/reserve/detail?id={{item.id}}" hover-class="navigator-hover">
<seller-card class="seller-card" id="seller-{{item.id}}"
activeSellerID="{{activeSellerID}}"
seller="{{item}}" bindevent="sellerCardEvent" ></seller-card>
</navigator>
</view>
</view>
<view style="height: 150rpx;"></view>
<search-how id="search-how" findSellerData="{{findSellerData}}" autoCon="{{true}}" bindevent="howEvent"></search-how>
<location id="location" bindevent="locationEvent"></location>
<view class="view filter-mask" hidden="{{!hasFilter}}">
<view class="view filter">
<filter id="filter" bindevent="filterEvent" cla="bottom-search"></filter>
</view>
</view>
<as-phone id="as"></as-phone>
<menu></menu>
<service></service>