replyDetail.wxml 1.1 KB

123456789101112131415161718192021222324252627282930
  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-msg'>
  12. <input name='reply' class='reply-input' bindconfirm="replyDone" placeholder='回复@{{ comment[0].name }}' value='{{ replyInfo }}' bindinput='saveValue' confirm-type ="send">
  13. </input>
  14. <text class='reply-btn' bindtap='replyDone'>回复</text>
  15. </view>
  16. <view class='reply-all'>
  17. 全部回复({{ count || 0 }})
  18. </view>
  19. <view class="{{classNormal}}" wx:for="{{comment}}" wx:key="{{index}}" wx:if="{{index !== 0}}">
  20. <image class="avatar" src="{{item.avatar}}" />
  21. <view class="commentCore">
  22. <text class="nickName">{{item.name}}</text>
  23. <text class="time">{{item.time}}</text>
  24. <text class="gut">{{item.text}}</text>
  25. </view>
  26. </view>
  27. </view>
  28. </view>