replyDetail.wxml 1.1 KB

1234567891011121314151617181920212223242526272829
  1. <view class="commentArea">
  2. <view class='padding-bottom'>
  3. <view class="{{class1}}" wx:key="{{index}}">
  4. <image class="avatar" src="{{comment[0].avatar}}" />
  5. <view class="commentCore">
  6. <text class="nickName">{{comment[0].name}}</text>
  7. <text class="time">{{comment[0].time}}</text>
  8. <text class="gut">{{comment[0].text}}</text>
  9. </view>
  10. </view>
  11. <view class='reply-all'>
  12. 全部回复({{ count || 0 }})
  13. </view>
  14. <view class="{{classNormal}}" wx:for="{{comment}}" wx:key="{{index}}" wx:if="{{index !== 0}}">
  15. <image class="avatar" src="{{item.avatar}}" />
  16. <view class="commentCore">
  17. <text class="nickName">{{item.name}}</text>
  18. <text class="time">{{item.time}}</text>
  19. <text class="gut">{{item.text}}</text>
  20. </view>
  21. </view>
  22. </view>
  23. <view class='reply-msg'>
  24. <input name='reply' class='reply-input' placeholder='回复@{{ comment[0].name }}' value='{{ replyInfo }}' bindinput='saveValue' confirm-type ="send">
  25. </input>
  26. <text class='reply-btn' bindtap='replyDone'>回复</text>
  27. </view>
  28. </view>