群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

@@ -27,12 +27,12 @@
</div>
</div>
<div class="tui-contact-list-card-right">
<div
<!-- <div
v-if="groupTypeForShow"
class="tui-contact-list-card-right-group-type"
>
{{ groupTypeForShow }}
</div>
</div> -->
<div
v-if="showApplicationStatus"
class="tui-contact-list-card-right-application"

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) {

View File

@@ -64,6 +64,7 @@
import addCircle from '../../assets/icon/add-friend.svg'
import backSVG from '../../assets/icon/back.svg'
import { CONTACT_INFO_TITLE } from '../../constant'
import { navigateTo } from '../../../utils/router'
const emits = defineEmits(['switchConversation'])
@@ -97,11 +98,12 @@
}
const openContactSearch = () => {
TUIStore.update(
StoreName.CUSTOM,
'currentContactSearchingStatus',
true
)
navigateTo('/pages/adduser/index')
// TUIStore.update(
// StoreName.CUSTOM,
// 'currentContactSearchingStatus',
// true
// )
}
const resetContactType = () => {