From 382c3fed39e86f372ca5f9f57cda27a9138ba5e0 Mon Sep 17 00:00:00 2001 From: wwt Date: Thu, 13 Mar 2025 10:08:49 +0800 Subject: [PATCH] fix bug#3905 --- src/pages/index/components/chatItem.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/index/components/chatItem.vue b/src/pages/index/components/chatItem.vue index 22b7d3e..30589a0 100644 --- a/src/pages/index/components/chatItem.vue +++ b/src/pages/index/components/chatItem.vue @@ -35,6 +35,7 @@
{{ formatNameText(props.data.name) }} + ({{props.data.group_member_num}}) 部门 @@ -111,7 +112,7 @@ const props = defineProps({ }); // 添加格式化方法 -const formatNameText = (text, maxLength = 19) => { +const formatNameText = (text, maxLength = 16) => { return text.length > maxLength ? `${text.slice(0, maxLength - 1)}...` : text; }; @@ -191,7 +192,7 @@ const handleDelete = () => { display: inline-flex; align-items: center; text-align: center; - margin-left: 10rpx; + // margin-left: 10rpx; margin-top: 4rpx; vertical-align: top; height: 38rpx;