Initial commit: Update project structure and add new features

This commit is contained in:
2026-05-10 19:47:27 +08:00
parent b4fa80ba82
commit 675539eada
64 changed files with 6777 additions and 1133 deletions
+31
View File
@@ -0,0 +1,31 @@
<template>
<div class="flex flex-1 w-full h-full overflow-hidden">
<!-- 聊天窗口 -->
<ChatWindow :bubbles="currentBubbles" @send="handleSendMessage" />
</div>
</template>
<script setup lang="ts">
import ChatWindow from '@/components/chat/ChatWindow.vue';
import { useChat } from '@/composables/useChat';
import { useNotification } from '@/composables/useNotifition';
definePage({
name: '消息',
})
const {
selectedChat,
currentBubbles,
sendMessage,
} = useChat()
// 发送消息
const handleSendMessage = (content: string) => {
sendMessage(content)
}
</script>
<style scoped></style>