style: distinguish reply nickname color

This commit is contained in:
hajimi
2026-08-03 21:05:40 +08:00
parent 80043d8b99
commit 9ed85c4830
+9 -2
View File
@@ -20,7 +20,9 @@
</view>
<view v-if="item.reply_to" class="comment-card__reply">
<text class="comment-card__reply-user">回复 {{ formatNickname(item.reply_to.user?.nickname || '该用户') }}</text>
<text class="comment-card__reply-prefix">回复 </text>
<text class="comment-card__reply-name">{{ formatNickname(item.reply_to.user?.nickname || '该用户') }}</text>
<text></text>
<text class="comment-card__reply-content">{{ item.reply_to.content }}</text>
</view>
@@ -198,10 +200,15 @@ const formatTime = (value: string | number) => {
line-height: 36rpx;
}
.comment-card__reply-user {
.comment-card__reply-prefix {
color: #4d78d9;
}
.comment-card__reply-name {
color: #344055;
font-weight: 500;
}
.comment-card__content {
display: block;
color: #1f2937;