index.wxml 1.2 KB

123456789101112131415161718192021222324
  1. <view class="commentPage">
  2. <view class="notes" wx:for="{{list}}" wx:key="index" data-id='{{item.userRead.id}}'
  3. data-commentlog="{{item.posts.id}}" bindtap="jumpWork">
  4. <view class="redDrop" wx:if="{{!item.posts.readStatus}}"></view>
  5. <image src=" {{item.user.avatar}}" class="avatar" data-uid='{{item.user.uid}}' catchtap="jumpUserInfo" />
  6. <view class="body">
  7. <view class="nickName">{{item.user.nickName||item.user.eid}}</view>
  8. <view class="date">
  9. 评论了你:{{item.posts.detailDesc}}
  10. </view>
  11. <view class="bBox">
  12. <view class="date">{{item.posts.day}}</view>
  13. <view class="reply" data-id="{{item.posts.id}}" catchtap="setReply">回复评论</view>
  14. </view>
  15. </view>
  16. <image src="{{item.userRead.coverImg}}" class="cover" wx:if="{{item.userRead.resourcesType==0}}" />
  17. <view class="audioCover" style="background-image: url({{item.userRead.backgroundVirtualImg}});" wx:else>
  18. <image src="/static/audioBg.png" class="audioPlayBg" />
  19. <image src="/static/zhen.png" class="audioPlayZhen" />
  20. <image src="{{item.userRead.coverImg}}" class="cover" />
  21. </view>
  22. </view>
  23. <emptyBg wx:if="{{list.length==0}}" message='快去发布更多精彩作品吧!' />
  24. </view>