collect.wxml
3.09 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
<!--pages/reserveNew/collect.wxml-->
<nav backgroundColor="#fff" place="{{false}}" class="navhome">
我的收藏
</nav>
<view class="topBox" style="position: fixed;top:{{barHeight}}px;left: 0;z-index: 100;">
<view class="seachInfo seachInfo{{item.id}}" bindtap="checkSeachFun" data-type="{{item.id}}" wx:for="{{seachList}}" wx:key="{{item.id}}">
<text class="{{item.check ? 'checkTitle':''}}">{{item.title}}</text>
<image src="https://qn.colorcun.com/{{item.check?'arrowTop':'arrowBottom'}}.png" mode="" />
</view>
</view>
<view class="mian" style="padding-top:{{barHeight+20}}px;">
<view class="sellerBox">
<view class="sellerItems" wx:for="{{sellerInfo}}" wx:key="{{item.id}}">
<image class="sellerimage" src="{{item.seller_image}}" mode="scaleToFill" />
<view class="info">
<view class="news">
<text class="info_name font28r">{{item.sellername}}</text>
<text wx:if="{{item.is_parking == '1'}}" class="park font20r">可停车</text>
</view>
<view class="news">
<view>
<text wx:if="{{item.cate}}" class="texts cateText font24r">{{item.cate}}</text>
<text class="texts font24r" wx:if="{{item.average && item.average>0}}">¥{{item.average}}</text>
</view>
<view class="texts font24r">{{item.juli}}</view>
</view>
<view class="bottom_btns">
<view class="book font24r">订过</view>
<view class="book font24r">去过</view>
<view class="book font24r">好友订过</view>
<view class="book font24r">我有券</view>
</view>
<view class="onLineBtn">
<view class="onLineBtn font24r">领券预订</view>
</view>
</view>
</view>
</view>
</view>
<my-modal id="seachModal" fadeStyle="slideDown" height="52%" modalTop="{{barHeight+20}}px">
<view slot="modalContent">
<view class="cityBox" wx:if="{{checkType == '1'}}">
<view class="city font24r" bindtap="checkDish" data-id="{{item.id}}" data-check="{{item.check}}" wx:for="{{cityList}}" wx:key="{{item.id}}">
{{item.name}}
<image wx:if="{{item.check}}" src="https://qn.colorcun.com/checkIcon.png" mode="" />
</view>
</view>
<viw class="titleBox font28r" wx:if="{{checkType == '2'}}">菜系(可多选)</viw>
<view class="dishBox" wx:if="{{checkType == '2'}}">
<view class="dish font24r {{item.check?'dishCheck':''}}" bindtap="checkDish" data-id="{{item.id}}" data-check="{{item.check}}" wx:for="{{cateList}}" wx:key="{{item.id}}">
{{item.name}}
</view>
</view>
<view class="btns" wx:if="{{checkType == '2'}}">
<button class="font28r btn reset" bindtap="resetFun">重置</button>
<button class="font28r btn sure" bindtap="submitFun">确定</button>
</view>
</view>
</my-modal>