index.wxml
8.8 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
<view class='index_top'>
<view class='index_add' bindtap='chooseAdress'>
<view class='iconfont icon-location'></view>
<text class='city_box'>{{city}}</text>
</view>
<view class='index_input' bindtap='search'>
<input placeholder='有机红颜草莓' placeholder-class='holder'></input>
<icon type='search' size='16' color='#222'></icon>
</view>
<view class='iconfont icon-message' bindtap='toMessage'></view>
</view>
<view class='nav_box'>
<swiper display-multiple-items='{{num}}' class='swiper_nav_box'>
<swiper-item>
<text class='nav_swiper_active'>推荐</text>
</swiper-item>
<swiper-item bindtap='active_btn'>
<text>中餐</text>
</swiper-item>
<swiper-item>
<text>中餐</text>
</swiper-item>
<swiper-item>
<text>美味海鲜</text>
</swiper-item>
<swiper-item>
<text>美味海鲜</text>
</swiper-item>
</swiper>
<view class='nav_text'>
<text class='iconfont icon-fenlei'></text>
</view>
</view>
<swiper previous-margin='40rpx' next-margin='40rpx' circular='true' display-multiple-items='1' class='swiper_banner_box'>
<swiper-item>
<image src='../imgs/pic2.png'></image>
</swiper-item>
<swiper-item>
<image src='../imgs/pic1.png'></image>
</swiper-item>
<swiper-item>
<image src='../imgs/pic2.png'></image>
</swiper-item>
</swiper>
<view class='safe_box'>
<view>
<text class='iconfont icon-jiance'></text>
<text>安心检测</text>
</view>
<view>
<text class='iconfont icon-xingzhuang'></text>
<text>优选源头</text>
</view>
<view>
<text class='iconfont icon-xingzhuang1'></text>
<text>赔付保证</text>
</view>
</view>
<view class='classfy'>
<image src='../imgs/pic2.png'></image>
</view>
<view class="safety_box function">
<navigator class="safe_item clo" url='goods_detial/goods_detial' hover-class="none">
<image src="../imgs/ic01@2x.png" alt="" mode='aspectFit'></image>
<text>会员俱乐部</text>
</navigator>
<navigator href="" class="safe_item clo" hover-class="none">
<image src="../imgs/ic02@2x.png" alt="" mode='aspectFit'></image>
<text>储值送券</text>
</navigator>
<navigator href="" class="safe_item clo" hover-class="none">
<image src="../imgs/ic03@2x.png" alt="" mode='aspectFit'></image>
<text>邀请有礼</text>
</navigator>
<navigator href="" class="safe_item clo" hover-class="none">
<image src="../imgs/ic04@2x.png" alt="" mode='aspectFit'></image>
<text>每日签到</text>
</navigator>
</view>
<view class='new_person_box'>
<view class="index_title">
<text class="title_left"></text>
<text class="title_mid">超值新人礼包</text>
<text class="title_right"></text>
</view>
<scroll-view class='scroll_box' scroll-x>
<view class='new_person_item'>
<image src='../imgs/pic1.png'></image>
<view class='goods_name'>三纹鱼片</view>
<view>
<text class='rmb'>¥</text>
<text class='pprice'>26.0</text>
<text class='oprice'>¥52.0</text>
</view>
</view>
<navigator url='/pages/index/goodsDetial/goodsDetial' class='new_person_item'>
<image src='../imgs/pic1.png'></image>
<view class='goods_name'>三纹鱼片</view>
<view>
<text class='rmb'>¥</text>
<text class='pprice'>26.0</text>
<text class='oprice'>¥52.0</text>
</view>
</navigator>
<view class='new_person_item'>
<image src='../imgs/pic1.png'></image>
<view class='goods_name'>三纹鱼片</view>
<view>
<text class='rmb'>¥</text>
<text class='pprice'>26.0</text>
<text class='oprice'>¥52.0</text>
</view>
</view>
</scroll-view>
</view>
<view class='nav_type_box'>
<view class='nav_type_left'>
<view class='nav_type type_active'>
<text class='iconfont icon-liebiao'></text>
<text>列表</text>
</view>
<view class='nav_type'>
<text class='iconfont icon-wangge'></text>
<text>网格</text>
</view>
<view class='nav_type'>
<text class='iconfont icon-datu'></text>
<text>大图</text>
</view>
</view>
<view class='nav_type_right'>
<text class='iconfont icon-shaixuan'></text>
<text>筛选</text>
</view>
</view>
<view class='classfy' style='padding-top:40rpx;'>
<image src='../imgs/pic2.png'></image>
</view>
<view class='goodbox'>
<view class='good_item'>
<view class='good_img'>
<image src='../imgs/pic2.png'></image>
</view>
<view class='good_right'>
<view class='good_name'>泰式冬阴功秘制虾汤620g</view>
<view class='good_stand'>量大好吃无限回购</view>
<view>
<text class='good_pprice'><text class='rmb'>¥</text>26.0</text>
<text class='good_oprice'><text class='rmb'>¥</text>52.0</text>
</view>
<view>
<view class='good_vipbox'>
<view class='good_vipbox_left'>
<text class='good_vip'><text class='rmb'>¥</text> 25.0</text>
<view class='good_vip_spec'>会员专享</view>
</view>
<view class='good_btn'>
<view class='iconfont icon-gouwuche'></view>
</view>
</view>
</view>
</view>
</view>
<view class='good_item'>
<view class='good_img'>
<image src='../imgs/pic2.png'></image>
</view>
<view class='good_right'>
<view class='good_name'>泰式冬阴功秘制虾汤620g</view>
<view class='good_stand'>量大好吃无限回购</view>
<view>
<text class='good_pprice'><text class='rmb'>¥</text>26.0</text>
<text class='good_oprice'><text class='rmb'>¥</text>52.0</text>
</view>
<view>
<view class='good_vipbox'>
<view class='good_vipbox_left'>
<text class='good_vip'><text class='rmb'>¥</text> 25.0</text>
<view class='good_vip_spec'>会员专享</view>
</view>
<view class='good_btn'>
<view class='iconfont icon-gouwuche'></view>
</view>
</view>
</view>
</view>
</view>
</view>
<view class='ad_box' bindtap='show_ad' wx:if='{{showad}}'>
<image src='../imgs/atan@2x.png' mode='widthFix' catchtap='goad'></image>
<view class='iconfont icon-quxiao'></view>
</view>
<!-- 筛选弹窗LXY -->
<view class='masx_box' bindtap='cancleMask' wx:if='{{popup_state}}'>
<view class='popup_box'>
<view class='popup_content'>
<view class='popup_title'>烹饪时间</view>
<view class='popup_item'>
<view class='popup_item_content'>10分钟</view>
<view class='popup_item_content'>10分钟</view>
<view class='popup_item_content'>10分钟</view>
</view>
</view>
<view class='popup_content'>
<view class='popup_title'>烹饪时间</view>
<view class='popup_item'>
<view class='popup_item_content'>1~2星</view>
<view class='popup_item_content'>1~2星</view>
<view class='popup_item_content'>1~2星</view>
</view>
</view>
<view class='popup_content'>
<view class='popup_title'>烹饪时间</view>
<view class='popup_item'>
<view class='popup_item_content'>微辣</view>
<view class='popup_item_content'>微辣</view>
<view class='popup_item_content'>微辣</view>
<view class='popup_item_content'>微辣</view>
</view>
</view>
<view class='popup_content'>
<view class='popup_title'>烹饪时间</view>
<view class='popup_item'>
<view class='popup_item_content'>
<text class='iconfont icon-xiaoyu'></text>500cal </view>
<view class='popup_item_content'> 500~2000cal </view>
<view class='popup_item_content'> >2000cal</view>
</view>
</view>
<view class='popup_content'>
<view class='popup_title'>烹饪时间</view>
<view class='popup_item'>
<view class='popup_item_content'>10分钟</view>
<view class='popup_item_content'>10分钟</view>
<view class='popup_item_content'>10分钟</view>
</view>
</view>
<view class='popup_content'>
<view class='popup_title'>饮食禁忌/过敏(多选)</view>
<view class='popup_item'>
<view class='popup_item_content'>鸡蛋</view>
<view class='popup_item_content'>乳制品</view>
<view class='popup_item_content'>海鲜</view>
<view class='popup_item_content'>鸡蛋</view>
<view class='popup_item_content'>乳制品</view>
<view class='popup_item_content'>海鲜</view>
<view class='popup_item_content'>鸡蛋</view>
<view class='popup_item_content'>乳制品</view>
<view class='popup_item_content'>后台自定义</view>
</view>
</view>
<view class='popup_hint'>菜系(↓往下轮播可筛选更多属性)</view>
<view class='popup_btn'>
<view class='btn1'>重置</view>
<view class='btn2'>完成</view>
</view>
</view>
</view>