You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
2.5 KiB
53 lines
2.5 KiB
5 years ago
|
<view class="detail-remark" wx:if="{{isShowDetailRemark}}">
|
||
|
<view class="title">
|
||
|
<view class="left">
|
||
|
<view class="remark-title">评论</view>
|
||
|
<view class="remark-altitude">{{topList.commentTotal}}次</view>
|
||
|
</view>
|
||
|
<view class="right">
|
||
|
<view class="flip {{remarkType === 'hot' ? 'reverse' : ''}}" bindtap="changeRemarkType">
|
||
|
<view class="front">
|
||
|
<view class="latest">最新</view>
|
||
|
<image class="latest-image" src="../../../../images/ic_qiehuan@2x.png" />
|
||
|
</view>
|
||
|
<view class="back">
|
||
|
<image class="latest-image" src="../../../../images/ic_qiehuan@2x.png" />
|
||
|
<view class="latest">最热</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="remark-list">
|
||
|
<!-- 循环 -->
|
||
|
<view class="remark-list-item" wx:for="{{commentList}}" wx:key="index">
|
||
|
<view class="user-info">
|
||
|
<image class="avatar" src="{{item.user.userFace}}" wx:if="{{item.user.userFace !==''}}"/>
|
||
|
<image class="avatar" src="../../../../images/large-ava.png" wx:if="{{item.user.userFace ==''}}"/>
|
||
|
<view class="right">
|
||
|
<view class="identify">
|
||
|
<view class="nickname">{{item.user.nickName}}</view>
|
||
|
<!-- <image class="party-flag" wx:if="{{item.user.partyFlag == '1'}}" src="../../../../images/ic_dangbiaoqian.png" /> -->
|
||
|
</view>
|
||
|
<view class="time">{{item.commentTime}}</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="remark-content">{{item.content}}</view>
|
||
|
<view class="remarked-content" wx:if="{{item.replyComment.nickName}}">{{item.replyComment.nickName}}:{{item.replyComment.content}}</view>
|
||
|
<view class="operation">
|
||
|
<view class="support type" bindtap="supportRemark" data-commentid="{{item.commentId}}">
|
||
|
<image src="{{item.userLike =='1'? supported : support}}" />
|
||
|
<view style="color: {{item.userLike=='1' ? '#FFB100' : '#a7a7a7'}}">赞 {{item.approveNum}}</view>
|
||
|
</view>
|
||
|
<view class="dispport type" bindtap="dispportRemark" data-commentid="{{item.commentId}}">
|
||
|
<image src="{{item.userDislike=='1' ? dispported : dispport}}" />
|
||
|
<view style="color: {{item.userDislike=='1' ? '#FFB100' : '#a7a7a7'}}">踩 {{item.opposeNum}}</view>
|
||
|
</view>
|
||
|
<view class="reply type" bindtap="replyRemark" data-commentid="{{item.commentId}}" data-topicId="{{topicId}}">
|
||
|
<image src="../../../../images/ic_huifu@2x.png" />
|
||
|
<view>回复</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<!-- 循环 -->
|
||
|
</view>
|
||
|
</view>
|