|
@@ -1,13 +1,18 @@
|
|
|
<view class="commentPage">
|
|
|
- <view class="notes" wx:for="{{3}}" wx:key="index">
|
|
|
- <image src="/static/stars-1.png" class="avatar" />
|
|
|
+ <view class="notes" wx:for="{{list}}" wx:key="index">
|
|
|
+ <image src="{{item.user.avatar}}" class="avatar" data-uid='{{item.user.uid}}' bindtap="jumpUserInfo" />
|
|
|
<view class="body">
|
|
|
- <view class="nickName">帅气席尔瓦去</view>
|
|
|
+ <view class="nickName">{{item.user.nickName||item.user.eid}}</view>
|
|
|
<view class="date">
|
|
|
- 评论了你:<text>朗读的太棒啦!朗读的太棒啦!朗读的太棒啦!3213213我去饿我去恶趣味 2023-3-14</text>
|
|
|
+ 评论了你:<text>{{item.posts.detailDesc}} {{item.posts.day}}</text>
|
|
|
</view>
|
|
|
- <view class="reply">回复评论</view>
|
|
|
+ <view class="reply" data-id="{{item.posts.id}}" bindtap="setReply">回复评论</view>
|
|
|
+ </view>
|
|
|
+ <image src="{{item.userRead.coverImg}}" class="cover" wx:if="{{item.userRead.resourcesType==0}}" />
|
|
|
+ <view class="audioCover" style="background-image: url({{item.backgroundVirtualImg}});" wx:else>
|
|
|
+ <image src="/static/audioBg.png" class="audioPlayBg" />
|
|
|
+ <image src="/static/zhen.png" class="audioPlayZhen" />
|
|
|
+ <image src="{{item.userRead.coverImg}}" class="cover" />
|
|
|
</view>
|
|
|
- <image src="/static/heart_colored.png" class="cover" />
|
|
|
</view>
|
|
|
</view>
|