faveritehostipal.wxml
5.5 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
<!--pages/person/faveritehospital/faveritehostipal.wxml-->
<view wx:if="{{hostipallist.length==0}}" class="nodata">这里空空如也,去别的地方逛逛吧</view>
<view class="list" wx:else>
<view class="list_item" bindtap='entertail' wx:for="{{hostipallist}}" data-hospitalid="{{item.hospital_id}}" 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}}">
<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==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/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==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/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==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==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}}km</text>
</view>
<view class="predit">{{item.keywords2}}</view>
</view>
</view>
</view>