replyDetail.wxml 1.1 KB

1234567891011121314151617181920
  1. <view class="commentArea">
  2. <view class="{{index === 0? class1 : classNormal}}" wx:for="{{comment}}" wx:key="{{index}}">
  3. <image class="avatar" src="{{item.avatar}}" />
  4. <view class="commentCore">
  5. <text class="nickName">{{item.name}}</text>
  6. <text class="time">{{item.time}}</text>
  7. <text class="gut">{{item.text}}</text>
  8. </view>
  9. <view class="btnWrapper">
  10. <image class="commentBtn" src="../../../static/image/comment.png" wx:if="{{index===0}}" bindtap="setSBId" />
  11. <text class="commentText" wx:if="{{index===0}}">评论</text>
  12. <!-- <image class="likeBtn" data-index="{{index}}" data-likes="{{item.likes}}" data-id="{{item.id}}" src="../../../static/image/like.png" bindtap="likeCommend" /> -->
  13. <!-- <text class="likeText" >{{item.likes}}</text> -->
  14. </view>
  15. </view>
  16. <!-- 评论框 -->
  17. <view class="replySection" wx:if="{{replyModal}}">
  18. <input bindblur="bindTextAreaBlur" bindconfirm="replySB" confirm-type="send" placeholder="回复" bindinput="inputSBValue" auto-focus auto-height />
  19. </view>
  20. </view>