群UI需要调整
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user