Fix(消息):店铺评论不显示@店主名称
This commit is contained in:
@@ -1,7 +1,11 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class=" call-message">
|
<view class=" call-message">
|
||||||
<view class="comment-list v12-pa-3">
|
<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-info v12-align-center" @click="toInfo(comment)">
|
||||||
<view class="user-avatar">
|
<view class="user-avatar">
|
||||||
<u-avatar :src="comment.senderUserAvatar"></u-avatar>
|
<u-avatar :src="comment.senderUserAvatar"></u-avatar>
|
||||||
@@ -22,20 +26,27 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="user-info v12-d-flex" >
|
<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;">
|
<view style="opacity: 0;">
|
||||||
<u-avatar></u-avatar>
|
<u-avatar></u-avatar>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="user-name v12-ml-3" >
|
<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 }} -->
|
<!-- {{ comment.parentReply }} -->
|
||||||
<!-- <text class="v12-dark1-text">{{ "@" + comment.senderUserNickname }}</text> -->
|
<!-- <text class="v12-dark1-text">{{ "@" + comment.senderUserNickname }}</text> -->
|
||||||
{{ comment.parentReply }}
|
{{ comment.parentReply }}
|
||||||
</view>
|
</view>
|
||||||
<view class="v12-font-28 v12-dark2-text" @click="toInfo(comment)">
|
<view class="v12-font-28 v12-dark2-text" @click="toInfo(comment)">
|
||||||
<text class="v12-dark1-text">{{ "@" + comment.replyAt.atNickName }}</text>
|
<text
|
||||||
{{ ' ' + comment.reply }}
|
v-if="comment.replyAt"
|
||||||
|
class="v12-dark1-text"
|
||||||
|
>{{ "@" + comment.replyAt.atNickName + ' ' }}</text>
|
||||||
|
{{ comment.reply }}
|
||||||
</view>
|
</view>
|
||||||
<view class="v12-mt-3">
|
<view class="v12-mt-3">
|
||||||
<u-button
|
<u-button
|
||||||
|
|||||||
Reference in New Issue
Block a user