im调整
This commit is contained in:
parent
1028757ea6
commit
9f81589be2
@ -27,12 +27,12 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="tui-contact-list-card-right">
|
<div class="tui-contact-list-card-right">
|
||||||
<div
|
<!-- <div
|
||||||
v-if="groupTypeForShow"
|
v-if="groupTypeForShow"
|
||||||
class="tui-contact-list-card-right-group-type"
|
class="tui-contact-list-card-right-group-type"
|
||||||
>
|
>
|
||||||
{{ groupTypeForShow }}
|
{{ groupTypeForShow }}
|
||||||
</div>
|
</div> -->
|
||||||
<div
|
<div
|
||||||
v-if="showApplicationStatus"
|
v-if="showApplicationStatus"
|
||||||
class="tui-contact-list-card-right-application"
|
class="tui-contact-list-card-right-application"
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
:selectedConversationDomRect="currentConversationDomRect"
|
:selectedConversationDomRect="currentConversationDomRect"
|
||||||
@closeConversationActionMenu="closeConversationActionMenu"
|
@closeConversationActionMenu="closeConversationActionMenu"
|
||||||
/>
|
/>
|
||||||
|
<div v-if="conversationList.length==0" class="no-chat-container">暂无聊天消息</div>
|
||||||
<div
|
<div
|
||||||
v-for="(conversation, index) in conversationList"
|
v-for="(conversation, index) in conversationList"
|
||||||
:id="`convlistitem-${index}`"
|
:id="`convlistitem-${index}`"
|
||||||
@ -249,8 +250,6 @@ function onCurrentConversationUpdated(conversation: IConversationModel) {
|
|||||||
|
|
||||||
function onConversationListUpdated(list: IConversationModel[]) {
|
function onConversationListUpdated(list: IConversationModel[]) {
|
||||||
conversationList.value = list;
|
conversationList.value = list;
|
||||||
console.log('会话列表数据', conversationList.value);
|
|
||||||
console.log('Conversation实例:', TUIStore);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function onCurrentConversationIDUpdated(id: string) {
|
function onCurrentConversationIDUpdated(id: string) {
|
||||||
@ -283,4 +282,13 @@ defineExpose({ closeChildren: closeConversationActionMenu });
|
|||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
.no-chat-container {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
margin-top: 40px;
|
||||||
|
color: #999;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user