feat: 聊天界面的调整与交互处理
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
<template>
|
||||
<layout>
|
||||
<div class="flex h-full w-full flex-col md:flex-row ">
|
||||
<chat-history class="flex-none w-50" />
|
||||
<ChatHistory class="flex-none w-50" @new-chat="guide = true" />
|
||||
<div class="flex-1 mr-2 overflow-hidden bg-white rounded-xl">
|
||||
<!-- <chat-guide /> -->
|
||||
<chat-box />
|
||||
<ChatBox v-model:guide="guide" />
|
||||
</div>
|
||||
<TaskList />
|
||||
</div>
|
||||
@@ -14,6 +13,8 @@
|
||||
<script setup lang="ts">
|
||||
import TaskList from '@renderer/components/TaskList/index.vue'
|
||||
import ChatHistory from './ChatHistory.vue'
|
||||
import ChatGuide from './ChatGuide.vue'
|
||||
import ChatBox from './ChatBox.vue'
|
||||
import { ref } from 'vue'
|
||||
const guide = ref(true)
|
||||
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user