Fix(消息):店铺评论不显示@店主名称

This commit is contained in:
lifizer
2025-07-16 11:04:27 +08:00
parent 498e62b289
commit 588fd5e687
+17 -6
View File
@@ -1,7 +1,11 @@
<template>
<view class=" call-message">
<view class="comment-list v12-pa-3">
<view class="v12-mt-2" v-for="(comment, index) in list" :key="index">
<view
v-for="(comment, index) in list"
:key="index"
class="v12-mt-2"
>
<view class="user-info v12-align-center" @click="toInfo(comment)">
<view class="user-avatar">
<u-avatar :src="comment.senderUserAvatar"></u-avatar>
@@ -22,20 +26,27 @@
</view>
</view>
<view class="user-info v12-d-flex" >
<view class="user-avatar" @click="toInfo(comment)">
<view class="user-avatar" @click="toInfo(comment)">
<view style="opacity: 0;">
<u-avatar></u-avatar>
</view>
</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)">
<view
v-if="!comment.isRootReply"
class="v12-font-30 v12-font-bold v12-my-2 v12-dark-text"
@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)">
<text class="v12-dark1-text">{{ "@" + comment.replyAt.atNickName }}</text>
{{ ' ' + comment.reply }}
<view class="v12-font-28 v12-dark2-text" @click="toInfo(comment)">
<text
v-if="comment.replyAt"
class="v12-dark1-text"
>{{ "@" + comment.replyAt.atNickName + ' ' }}</text>
{{ comment.reply }}
</view>
<view class="v12-mt-3">
<u-button