群UI需要调整

This commit is contained in:
cbb
2026-01-23 16:55:42 +08:00
parent 99396e9966
commit c508b1fcb4
21 changed files with 1069 additions and 211 deletions

View File

@@ -133,6 +133,7 @@
Friend,
FriendApplication
} from '@tencentcloud/chat-uikit-engine-lite'
import { navigateTo } from '../../../../utils/router'
const currentContactListKey = ref<keyof IContactList>('')
const currentContactInfo = ref<IContactInfoType>({} as IContactInfoType)
@@ -237,7 +238,8 @@
function toggleCurrentContactList(key: keyof IContactList) {
if (key === 'currentContactSearchingStatus') {
TUIStore.update(StoreName.CUSTOM, key, true)
navigateTo('/pages/adduser/index')
// TUIStore.update(StoreName.CUSTOM, key, true)
return
}
if (currentContactListKey.value === key) {
@@ -290,12 +292,13 @@
}
const selectFriend = (item: any) => {
TUIStore.update(
StoreName.CUSTOM,
'currentContactListKey',
'friendList'
)
selectItem(item)
navigateTo('/pages/adduser/details', { id: item.userID, type: '1' })
// TUIStore.update(
// StoreName.CUSTOM,
// 'currentContactListKey',
// 'friendList'
// )
// selectItem(item)
}
function onDisplayOnlineStatusUpdated(status: boolean) {