Fix:4016 【商城小程序】用户修改昵称,评论列表和互动消息处@XXX(用户昵称),未同步变动

This commit is contained in:
linxi
2025-07-11 16:37:50 +08:00
parent adaaf8e8e3
commit 02d4e45c8b
2 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -142,7 +142,7 @@
</view>
<view class="user-name v12-ml-3">
<view class="v12-font-28 v12-dark-text">
<text class="v12-dark1-text">{{ _comment.reply.split(' ')[0] }}</text>
<text class="v12-dark1-text">{{ "@" +_comment.at.atNickName }}</text>
{{ ' ' + _comment.reply.split(' ')[1] }}
</view>
</view>
+4 -1
View File
@@ -29,10 +29,13 @@
</view>
<view class="user-name v12-ml-3" >
<view class="v12-font-30 v12-font-bold v12-my-2 v12-dark-text" v-if="!comment.isRootReply" @click="toInfo(comment)">
<!-- {{ comment.parentReply }} -->
<!-- <text class="v12-dark1-text">{{ "@" + comment.senderUserNickname }}</text> -->
{{ comment.parentReply }}
</view>
<view class="v12-font-28 v12-dark2-text" @click="toInfo(comment)">
{{ comment.reply }}
<text class="v12-dark1-text">{{ "@" +comment.senderUserNickname }}</text>
{{ ' ' + comment.reply.split(' ')[1] }}
</view>
<view class="v12-mt-3">
<u-button