From a55a1593bb0d8148fc0605ffcfd6c752e783d2cb Mon Sep 17 00:00:00 2001 From: cbb <1055026847@qq.com> Date: Sat, 24 Jan 2026 16:49:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96UI=EF=BC=8C=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E7=BE=A4BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TUIKit/components/TUIChat/index.vue | 3 +- .../components/TUIChat/message-list/index.vue | 2 +- .../message-elements/message-tip.vue | 2 +- .../conversation-list/index.vue | 18 +- .../TUIGroup/create-group/index.vue | 57 +- TUIKit/components/TUIGroup/index.vue | 5 + .../TUIGroup/manage-group/index.vue | 294 +++++---- .../TUIGroup/manage-group/manage-admin.vue | 590 +++++++++--------- .../TUIGroup/manage-group/manage-name.vue | 2 + .../TUIGroup/manage-group/style/index.scss | 19 +- TUIKit/utils/enableSampleTaskStatus.ts | 8 +- 11 files changed, 555 insertions(+), 445 deletions(-) diff --git a/TUIKit/components/TUIChat/index.vue b/TUIKit/components/TUIChat/index.vue index b2b03c5..69da4bf 100644 --- a/TUIKit/components/TUIChat/index.vue +++ b/TUIKit/components/TUIChat/index.vue @@ -12,7 +12,7 @@ :class="['tui-chat', !isPC && 'tui-chat-h5']" >
({}), }, }); -const tipContent = computed(() => props.content?.text || props.content?.custom || ''); +const tipContent = computed(() => `${props.content.nick || props.content.from} 创建群聊`); diff --git a/TUIKit/components/TUIGroup/manage-group/manage-name.vue b/TUIKit/components/TUIGroup/manage-group/manage-name.vue index af1560d..fec0205 100644 --- a/TUIKit/components/TUIGroup/manage-group/manage-name.vue +++ b/TUIKit/components/TUIGroup/manage-group/manage-name.vue @@ -143,6 +143,8 @@ @import '../../../assets/styles/common'; .group-name { + background: #ffffff; + border-radius: 16rpx; padding: 14px 20px; font-weight: 400; font-size: 14px; diff --git a/TUIKit/components/TUIGroup/manage-group/style/index.scss b/TUIKit/components/TUIGroup/manage-group/style/index.scss index e304d00..8450928 100644 --- a/TUIKit/components/TUIGroup/manage-group/style/index.scss +++ b/TUIKit/components/TUIGroup/manage-group/style/index.scss @@ -3,7 +3,6 @@ @import './web'; @import './h5'; - .icon-close { display: inline-block; width: 24px; @@ -14,9 +13,9 @@ .icon-close::before, .icon-close::after { - content: ""; + content: ''; position: absolute; - background-color: #8F959E; + background-color: #8f959e; height: 16px; width: 2px; top: 50%; @@ -37,3 +36,17 @@ position: absolute; left: 20px; } + +.main { + background: #f4f4f4; + .main-box { + padding: 32rpx 24rpx; + .space-top { + border-top: 0 !important; + background: #ffffff; + border-radius: 16rpx !important; + margin-top: 20rpx; + overflow: hidden; + } + } +} diff --git a/TUIKit/utils/enableSampleTaskStatus.ts b/TUIKit/utils/enableSampleTaskStatus.ts index 1a4c474..cc58cc8 100644 --- a/TUIKit/utils/enableSampleTaskStatus.ts +++ b/TUIKit/utils/enableSampleTaskStatus.ts @@ -1,8 +1,8 @@ -import { TUIStore, StoreName } from "@tencentcloud/chat-uikit-engine-lite"; +import { TUIStore, StoreName } from '@tencentcloud/chat-uikit-engine-lite' export function enableSampleTaskStatus(taskKey: string) { - const tasks = TUIStore.getData(StoreName.APP, "tasks"); + const tasks = TUIStore.getData(StoreName.APP, 'tasks') if (taskKey in tasks && !tasks[taskKey]) { - tasks[taskKey] = true; - TUIStore.update(StoreName.APP, "tasks", tasks); + tasks[taskKey] = true + TUIStore.update(StoreName.APP, 'tasks', tasks) } }