Commit f39f6a9d by panjiangyi

会话从中间弹出来

parent 7ec5eceb
Showing with 10 additions and 2 deletions
<template>
<div class="chat-con h-100">
<div class="chat-con">
<ChatTitle :close="hide" />
<div class="chat-area-con">
<div v-if="chatId != null" class="h-100 chat-area">
......@@ -14,7 +14,7 @@
>添加成员</el-button
>
</div> -->
<el-tabs v-model="currentTab">
<el-tabs class="chat-panel" v-model="currentTab">
<el-tab-pane label="数据" name="one"
>model的数据,可配置。</el-tab-pane
>
......@@ -109,6 +109,9 @@ export default class Chat extends Vue {
}
</script>
<style lang="less" scoped>
.chat-con {
height:70vh;
}
.chat-area-con {
height: calc(100% - 60px);
}
......@@ -138,4 +141,9 @@ export default class Chat extends Vue {
bottom: 20px;
text-align: center;
}
.chat-panel {
/deep/ .el-tabs__item {
padding:0 18px;
}
}
</style>
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