homepage.wxml
11.0 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
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
<view class="head">
<view class="place">
<!--<view class="place_name">北京</view>-->
<picker bindchange="binddoctorChange" value="{{hostipal_index}}" range="{{doctorarray}}" class="commentlsit_date allhospital" range-key='hospital_name'>
<view class="picker">
{{doctorarray[hostipal_index].hospital_name}}
</view>
</picker>
<view class="place_img">
<image src="http://bronet.ibaby88.cn/aicon01@2x.png"></image>
</view>
</view>
<view class="search">
<view class="search_hospital">
<input placeholder="搜索医院" class="enterword" bindinput="searchhospital" />
</view>
<view class="searchimg" bindtap="search">
<image src="http://bronet.ibaby88.cn/aicon02@2x.png"></image>
</view>
</view>
</view>
<view class="type">
<view class="kindtype">
<view class="kitype_item" bindtap='buildtext'>
<view class="item_img">
<image src="http://bronet.ibaby88.cn/aicon03@2x.png"></image>
</view>
<view class="strategy_text">
<view class="strategy">建档攻略</view>
<view class="strategy_name">北京建档指南</view>
</view>
</view>
<view class="kitype_item" bindtap='seconduse'>
<view class="item_img">
<image src="http://bronet.ibaby88.cn/aicon04@2x.png"></image>
</view>
<view class="strategy_text">
<view class="strategy">二手闲置</view>
<view class="strategy_name">同城母婴跳蚤市场</view>
</view>
</view>
<view class="kitype_item" bindtap="childbirthnote">
<view class="item_img">
<image src="http://bronet.ibaby88.cn/aicon05@2x.png"></image>
</view>
<view class="strategy_text">
<view class="strategy">分娩日记</view>
<view class="strategy_name">过来人的经验分享</view>
</view>
</view>
<view class="kitype_item" bindtap='hostipal'>
<view class="item_img">
<image src="http://bronet.ibaby88.cn/aicon06@2x.png"></image>
</view>
<view class="strategy_text">
<view class="strategy">同医院交流群</view>
<view class="strategy_name">加入孕妈圈</view>
</view>
</view>
</view>
</view>
<!--排序 -->
<view class="kind">
<view class="search_list">
<view class="search_item">
<!-- <view class="allhospital">所有医院</view> -->
<picker bindchange="bindhospitaltypeChange" value="{{hostipaltype_index}}" range="{{hospitaltypearray}}" class="commentlsit_date allhospital" range-key='name'>
<view class="picker">
{{hospitaltypearray[hostipaltype_index].name}}
</view>
</picker>
<view class="place_img">
<image src="http://bronet.ibaby88.cn/aicon01@2x.png"></image>
</view>
</view>
<view class="search_item">
<!-- <view class="allhospital">所有服务</view> -->
<picker bindchange="bindserverChange" value="{{server_index}}" range="{{serverarray}}" class="commentlsit_date allhospital" range-key='name'>
<view class="picker">
{{serverarray[server_index].name}}
</view>
</picker>
<view class="place_img">
<image src="http://bronet.ibaby88.cn/aicon01@2x.png"></image>
</view>
</view>
<view class="search_item">
<picker bindchange="bindmuitipleChange" value="{{server_index}}" range="{{muitiple}}" class="commentlsit_date allhospital" range-key='name'>
<view class="picker allhospital">
{{muitiple[multiple_index].name}}
</view>
</picker>
<!--<view class="allhospital">综合排序</view>-->
<view class="place_img">
<image src="http://bronet.ibaby88.cn/aicon01@2x.png"></image>
</view>
</view>
</view>
</view>
<!-- 列表 -->
<view wx:if="{{hostipallist.length==0}}" class="nodata">暂无数据</view>
<view class="list" wx:else>
<view class="list_item" bindtap='entertail' data-hospitalid="{{item.hospital_id}}" wx:for="{{hostipallist}}" wx:key="">
<view class="listitem_img">
<image src="{{item.thumb}}"></image>
</view>
<view class="item_content">
<view class="item_content_name">{{item.title}}</view>
<view class="item_content_text">
<view class="price">{{item.price}}</view>
<!-- 一星 -->
<view class="rank" wx:if="{{item.star1>=1&&item.star1<=1.4}}">
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon08@2x.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon08@2x.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon08@2x.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon08@2x.png"></image>
</view>
</view>
<!-- 一颗半星 -->
<view class="rank" wx:if="{{item.star1>1.4&&item.star1<2}}">
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/pingban.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon08@2x.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon08@2x.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon08@2x.png"></image>
</view>
</view>
<!--二星-->
<view class="rank" wx:if="{{item.star1>=2&&item.star1<=2.4}}">
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon08@2x.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon08@2x.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon08@2x.png"></image>
</view>
</view>
<!-- 两颗半 -->
<view class="rank" wx:if="{{item.star1>2.4&&item.star1<3}}">
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/pingban.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon08@2x.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon08@2x.png"></image>
</view>
</view>
<!--三星-->
<view class="rank" wx:if="{{item.star1>=3&&item.star1<=3.4}}">
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon08@2x.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon08@2x.png"></image>
</view>
</view>
<!-- 三颗半 -->
<view class="rank" wx:if="{{item.star1>3.4&&item.star1<4}}">
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/pingban.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon08@2x.png"></image>
</view>
</view>
<!--四星-->
<view class="rank" wx:if="{{item.star1>=4&&item.star1<=4.4}}">
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon08@2x.png"></image>
</view>
</view>
<!-- 四颗半 -->
<view class="rank" wx:if="{{item.star1>4.4&&item.star1<5}}">
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/pingban.png"></image>
</view>
</view>
<!--五星-->
<view class="rank" wx:if="{{item.star1==5}}">
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png"></image>
</view>
<view class="rank_star">
<image src="http://bronet.ibaby88.cn/aicon07@2x.png"></image>
</view>
</view>
</view>
<view class="meter">
<text class="text_name">{{item.keywords}}</text>
<text class="kilometer">{{item.distance}}</text>
</view>
<view class="predit">{{item.keywords2}}</view>
</view>
</view>
</view>