1234567891011121314151617181920 |
- <view class="commentArea">
- <view class="{{index === 0? class1 : classNormal}}" wx:for="{{comment}}" wx:key="{{index}}">
- <image class="avatar" src="{{item.avatar}}" />
- <view class="commentCore">
- <text class="nickName">{{item.name}}</text>
- <text class="time">{{item.time}}</text>
- <text class="gut">{{item.text}}</text>
- </view>
- <view class="btnWrapper">
- <image class="commentBtn" src="../../../static/image/comment.png" wx:if="{{index===0}}" bindtap="setSBId" />
- <text class="commentText" wx:if="{{index===0}}">评论</text>
- <!-- <image class="likeBtn" data-index="{{index}}" data-likes="{{item.likes}}" data-id="{{item.id}}" src="../../../static/image/like.png" bindtap="likeCommend" /> -->
- <!-- <text class="likeText" >{{item.likes}}</text> -->
- </view>
- </view>
- <!-- 评论框 -->
- <view class="replySection" wx:if="{{replyModal}}">
- <input bindblur="bindTextAreaBlur" bindconfirm="replySB" confirm-type="send" placeholder="回复" bindinput="inputSBValue" auto-focus auto-height />
- </view>
- </view>
|