Commit 54d65737 by 吴云建

fix

parent d9931ae1
Showing with 4 additions and 1 deletions
<template> <template>
<div class="chat-con" :class="{ userMode }"> <div class="chat-con" :class="{ userMode, isSingle: isSingleChat }">
<ChatTitle :close="hide" class="chat-title" /> <ChatTitle :close="hide" class="chat-title" />
<div class="chat-area-con" :class="{isSingle: isSingleChat, needSearch: !modelName}"> <div class="chat-area-con" :class="{isSingle: isSingleChat, needSearch: !modelName}">
<div v-if="chatId != null" class="h-100 chat-area"> <div v-if="chatId != null" class="h-100 chat-area">
...@@ -129,6 +129,9 @@ export default class Chat extends Vue { ...@@ -129,6 +129,9 @@ export default class Chat extends Vue {
--chat-panel-width: 350px; --chat-panel-width: 350px;
font-size: 13px; font-size: 13px;
color: black; color: black;
&.isSingle {
height: 70vh;
}
&.userMode { &.userMode {
--chat-panel-width: 0px; --chat-panel-width: 0px;
.chat-title { .chat-title {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment