25 lines
1.2 KiB
Plaintext
25 lines
1.2 KiB
Plaintext
<view class="uni-flex uni-row">
|
||
<view class="flex-item-avatar">
|
||
<image class="_img" src="{{xitem.user.avatar}}"></image>
|
||
</view>
|
||
<view class="flex-item-content">
|
||
<view class="uni-flex uni-row line-header">
|
||
<view class="username">{{xitem.user.nick_name}}</view>
|
||
<view bindtap="__e" class="user-zan" data-event-opts="{{[ [ 'tap',[ ['commentLike'] ] ] ]}}">
|
||
<uni-icons bind:__l="__l" color="{{xitem.is_like==1?'#007aff':'#999'}}" size="18" type="hand-up" vueId="5d44a5a6-1"></uni-icons>
|
||
<text style="{{xitem.is_like==1?focusColor:normalColor}}">{{xitem.like_num}}</text>
|
||
</view>
|
||
</view>
|
||
<view class="container-toContent" wx:if="{{xitem.to_content}}">
|
||
<text>{{'@'+xitem.toUser.nick_name+':'+xitem.to_content}}</text>
|
||
</view>
|
||
<view class="container-text">
|
||
<text>{{xitem.content}}</text>
|
||
</view>
|
||
<view class="uni-flex uni-row reply_line">
|
||
<text bindtap="__e" class="container-return" data-event-opts="{{[ [ 'tap',[ [ 'showCommentWrap',['$0','$1'],['comment_id','xitem.id'] ] ] ] ]}}">回复></text>
|
||
<text>{{xitem.create_at}}</text>
|
||
</view>
|
||
</view>
|
||
</view>
|