morecomment.wxml
7.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
<view class="commenttop flexone">
<view class="commenttopitem {{coment==index?'comactive':''}}" wx:for="{{comentarr}}" wx:key="" bindtap="selitem" data-index="{{index}}">{{item}}</view>
</view>
<view class="nodata" wx:if="{{commentlist.length==0}}">暂无评论</view>
<view class="bodybox" wx:else>
<view class="photo" wx:for="{{commentlist}}" wx:key="" wx:for-index="cellindex">
<view class="jianintro commentbox commentk" bindtap="comentdetail" data-id="{{item.id}}" >
<view class="comtop flextwo">
<view class="comleft">
<image src="{{item.avatar}}"></image>
</view>
<view class="comright">
<view class="comrtop flexone">
<view class="comrname">{{item.nickname}}</view>
<view class="star starone flexone">
<view class="staritem">
<image src="/img/star.png" wx:if="{{item.user_level>=1}}"></image>
<image src="/img/huangkong.png" wx:if="{{item.user_level<0.5}}"></image>
<image src="/img/huangban.png" wx:if="{{item.user_level>=0.5&&tem.user_level<1}}"></image>
</view>
<view class="staritem">
<image src="/img/star.png" wx:if="{{item.user_level>=2}}"></image>
<image src="/img/huangkong.png" wx:if="{{item.user_level<1.5}}"></image>
<image src="/img/huangban.png" wx:if="{{item.user_level==1.5&&tem.user_level<2}}"></image>
</view>
<view class="staritem">
<image src="/img/star.png" wx:if="{{item.user_level>=3}}"></image>
<image src="/img/huangkong.png" wx:if="{{item.user_level<2.5}}"></image>
<image src="/img/huangban.png" wx:if="{{item.user_level>=2.5&&item.user_level<3}}"></image>
</view>
<view class="staritem">
<image src="/img/star.png" wx:if="{{item.user_level>=4}}"></image>
<image src="/img/huangkong.png" wx:if="{{item.user_level<3.5}}"></image>
<image src="/img/huangban.png" wx:if="{{item.user_level>=3.5&&item.user_level<4}}"></image>
</view>
<view class="staritem">
<image src="/img/star.png" wx:if="{{item.user_level>=5}}"></image>
<image src="/img/huangkong.png" wx:if="{{item.user_level<4.5}}"></image>
<image src="/img/huangban.png" wx:if="{{item.user_level>=4.5&&item.user_level<5}}"></image>
</view>
</view>
</view>
<view class="comdate">{{item.createtime}}</view>
</view>
</view>
<view class="comtext flexone">
<view class="comleft"></view>
<view class="comright">
<view class="flexone fenxia">
<view class="star starone flexone">
<view class="staritem">
<image src="/img/pingfenshi.png" wx:if="{{item.score>=1}}"></image>
<image src="/img/noxing.png" wx:if="{{item.score<0.5}}"></image>
<image src="/img/banke.png" wx:if="{{item.score>=0.5&&item.score<1}}"></image>
</view>
<view class="staritem">
<image src="/img/pingfenshi.png" wx:if="{{item.score>=2}}"></image>
<image src="/img/noxing.png" wx:if="{{item.score<1.5}}"></image>
<image src="/img/banke.png" wx:if="{{item.score>=1.5&&item.score<2}}"></image>
</view>
<view class="staritem">
<image src="/img/pingfenshi.png" wx:if="{{item.score>=3}}"></image>
<image src="/img/noxing.png" wx:if="{{item.score<2.5}}"></image>
<image src="/img/banke.png" wx:if="{{item.score>=2.5&&item.score<3}}"></image>
</view>
<view class="staritem">
<image src="/img/pingfenshi.png" wx:if="{{item.score>=4}}"></image>
<image src="/img/noxing.png" wx:if="{{item.score<3.5}}"></image>
<image src="/img/banke.png" wx:if="{{item.score>=3.5&&item.score<4}}"></image>
</view>
<view class="staritem">
<image src="/img/pingfenshi.png" wx:if="{{item.score>=5}}"></image>
<image src="/img/noxing.png" wx:if="{{item.score<4.5}}"></image>
<image src="/img/banke.png" wx:if="{{item.score>=4.5&&item.score<5}}"></image>
</view>
</view>
<view class="fen">{{item.score}}分</view>
</view>
<text class="text">
{{item.content}}
</text>
<view class="textboximg flexone">
<view class="boxitem" wx:for='{{item.images}}' wx:key="" catchtap="previewimgk" data-index="{{index}}" data-pindex="{{cellindex}}">
<image src="{{item}}" mode="aspectFill"></image>
</view>
<!-- <view class="boxitem">
<image src="/img/photo.png"></image>
</view>
<view class="boxitem">
<image src="/img/photo.png"></image>
</view> -->
</view>
</view>
</view>
</view>
</view>
<!-- <view class="photo" >
<view class="jianintro photobox" bindtap="comdetail">
<view class="comtop flextwo">
<view class="comleft">
<image src="/img/kele.png"></image>
</view>
<view class="comright">
<view class="comrtop flextwo">
<view class="comrname">一心只想撤撤撤</view>
<view class="star starone flexone">
<view class="staritem">
<image src="/img/star.png"></image>
</view>
<view class="staritem">
<image src="/img/star.png"></image>
</view>
<view class="staritem">
<image src="/img/star.png"></image>
</view>
<view class="staritem">
<image src="/img/star.png"></image>
</view>
<view class="staritem">
<image src="/img/star.png"></image>
</view>
</view>
</view>
<view class="comdate">2019年10月12日</view>
</view>
</view>
<view class="comtext flexone">
<view class="comleft"></view>
<view class="comright">
<view class="flexone fenxia">
<view class="star starone flexone">
<view class="staritem">
<image src="/img/star.png"></image>
</view>
<view class="staritem">
<image src="/img/star.png"></image>
</view>
<view class="staritem">
<image src="/img/star.png"></image>
</view>
<view class="staritem">
<image src="/img/star.png"></image>
</view>
<view class="staritem">
<image src="/img/banke.png"></image>
</view>
<view class="staritem">
<image src="/img/star.png"></image>
</view>
</view>
<view class="fen">8.5分</view>
</view>
<view class="text">
掌柜态度很专业热情,有问必答,回复也很快,我问了不少问题,他都不觉得烦,都会认真回答我,这点我向掌柜表示由衷的敬意,这样的好掌柜可不多了。
</view>
<view class="textboximg flexone">
<view class="boxitem">
<image src="/img/photo.png"></image>
</view>
<view class="boxitem">
<image src="/img/photo.png"></image>
</view>
<view class="boxitem">
<image src="/img/photo.png"></image>
</view>
</view>
</view>
</view>
</view>
</view> -->
</view>