pinglun.wxml
1.9 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
<view class="pinglunlist" hidden='{{!noData}}'>
<view class='top_eidt'>
我的评论
<text class='action' bindtap='edit'>{{edit?'取消':'编辑'}}</text>
</view>
<view class='comment_list {{edit?"del":""}}'>
<view class="pinglunitem" wx:for='{{list}}' wx:key=''>
<view class="pinglunitemleft">
<view class="leftimg">
<image src="{{item.avatar}}"></image>
</view>
<view class="pinglunright">
<view class="righttop">{{item.user_nickname}}</view>
<view class="rightbottom">{{item.create_time}}</view>
</view>
<view class='eidt {{item.checked?"choose":""}}' bindtap='choose' id='{{index}}' data-chooseId = '{{item.id}}' wx:if='{{edit}}'>
<image src='/img/pinglun_xz.png'></image>
</view>
</view>
<view class="pinglunmiddle">
{{item.content}}
</view>
<view class="pinglunbottom">
<view class="pingbottomleft">
<image src="{{item.article.video_image}}" wx:if="{{item.type==2}}"></image>
<image src="{{item.article.thumb}}" wx:else></image>
</view>
<view class='pingbottomright'>
<view class='xinxi'>{{item.article.title}}</view>
<view class="biangjiubottom">
<view class='rightbottomimg'>
<image src='{{item.article.avatar}}'></image>
</view>
<text class="niangjiutext">{{item.article.name}}</text>
</view>
</view>
</view>
</view>
<!-- <view class='showall' wx:if='{{noMore&&noData}}'>已显示全部内容</view> -->
</view>
</view>
<view class="btnbottom" wx:if='{{edit}}'>
<view class="btnleft" bindtap='clearComment'>一键清空</view>
<view class="btnright" bindtap='delChoose'>删除({{delId.length||'0'}})</view>
</view>
<view class="nodataimg" wx:if='{{!noData}}'>
<image src="/img/wushuju.png"></image>
</view>
<!-- <view class='noData' wx:if='{{!noData}}'>
暂无相关数据
</view> -->