feat: 聊天界面的调整与交互处理

This commit is contained in:
2026-01-22 01:04:06 +08:00
parent 47a361e78b
commit 236abba8d0
6 changed files with 87 additions and 72 deletions

View File

@@ -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>