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.
56 lines
2.5 KiB
56 lines
2.5 KiB
<view class="topic-remark">
|
|
<view class="nav">
|
|
<view class="left">
|
|
<view class="remark">评论</view>
|
|
<view class="altitude">表达态度{{statementNum}}次</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="list-item" wx:for="{{remarkList}}" wx:key="{{index}}" wx:for-item="item" wx:for-index="index">
|
|
<view class="content">
|
|
<view class="personal-info">
|
|
<image class="avatar" src="{{item.user.userFace}}" />
|
|
<view class="right">
|
|
<view class="name">
|
|
<text>{{item.user.userName}}</text>
|
|
<image wx:if="{{item.user.partyFlag == '1'}}" class="party-flag" src="../../../../images/ic_dangbiaoqian.png" />
|
|
</view>
|
|
<view class="time">{{item.commentTime}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="topic-content">
|
|
{{item.content}}
|
|
</view>
|
|
<view class="reply-comment" wx:if="{{item.replyComment !== null}}">
|
|
{{item.replyComment.userName}}:{{item.replyComment.content}}
|
|
</view>
|
|
<view class="operation">
|
|
<view class="positive altitude" bindtap="supportReply" data-commentid="{{item.commentId}}">
|
|
<image src="{{item.userLike ? '../../../../images/ic_zhici@2x.png' : '../../../../images/ic_zhicihuise@2x.png'}}" />
|
|
<view style="color: {{item.userLike ? '#FFB100' : '#a7a7a7'}}">支持 {{item.approveNum}}</view>
|
|
</view>
|
|
<view class="nagitive altitude" bindtap="dispportReply" data-commentid="{{item.commentId}}">
|
|
<image src="{{item.userDislike ? '../../../../images/ic_fandu@2x.png' : '../../../../images/ic_fanduihuise@2x.png'}}" />
|
|
<view style="color: {{item.userDislike ? '#FFB100' : '#a7a7a7'}}">不支持 {{item.opposeNum}}</view>
|
|
</view>
|
|
<view class="reply altitude" data-commentid="{{item.commentId}}" bindtap="replyRemark">
|
|
<image src="../../../../images/ic_huifu@2x.png" />
|
|
<view>回复</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|