From 13d496741d2e807c2cc4e00d5b8cfe3e7c622e13 Mon Sep 17 00:00:00 2001 From: xsx <825657193@qq.com> Date: Thu, 16 Oct 2025 00:15:21 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../chat-message-item/chat-message-item.vue | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/im-uniapp/components/chat-message-item/chat-message-item.vue b/im-uniapp/components/chat-message-item/chat-message-item.vue index f35dd7b..dbcecc3 100644 --- a/im-uniapp/components/chat-message-item/chat-message-item.vue +++ b/im-uniapp/components/chat-message-item/chat-message-item.vue @@ -11,7 +11,7 @@ :name="showName" size="small"> - {{ showName }} + {{ showName }} @@ -294,10 +294,17 @@ export default { .top { display: flex; flex-wrap: nowrap; - color: $im-text-color-lighter; - font-size: $im-font-size-smaller; - line-height: $im-font-size-smaller; - height: $im-font-size-smaller; + align-items: center; + + .name { + color: $im-text-color-lighter; + font-size: $im-font-size-smaller; + line-height: $im-font-size-smaller; + height: $im-font-size-smaller; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } } .bottom {