diff --git a/prompto-lab-ui/src/components/AIChatPage.vue b/prompto-lab-ui/src/components/AIChatPage.vue
new file mode 100644
index 0000000..f036f3d
--- /dev/null
+++ b/prompto-lab-ui/src/components/AIChatPage.vue
@@ -0,0 +1,847 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/prompto-lab-ui/src/components/ApiInfoConfig.vue b/prompto-lab-ui/src/components/ApiInfoConfig.vue
index ad5f102..eef8df0 100644
--- a/prompto-lab-ui/src/components/ApiInfoConfig.vue
+++ b/prompto-lab-ui/src/components/ApiInfoConfig.vue
@@ -119,8 +119,8 @@
diff --git a/prompto-lab-ui/src/components/ChatMain.vue b/prompto-lab-ui/src/components/ChatMain.vue
new file mode 100644
index 0000000..70cbc2c
--- /dev/null
+++ b/prompto-lab-ui/src/components/ChatMain.vue
@@ -0,0 +1,850 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ message.type === 'user' ? '👤' : '🤖' }}
+
+
+
+
+
+
+
{{ message.content }}
+
{{ formatTime(message.timestamp) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/prompto-lab-ui/src/components/ChatTree.vue b/prompto-lab-ui/src/components/ChatTree.vue
new file mode 100644
index 0000000..e634c9f
--- /dev/null
+++ b/prompto-lab-ui/src/components/ChatTree.vue
@@ -0,0 +1,377 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
暂无对话记录
+
开始新的对话来构建对话树
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/prompto-lab-ui/src/components/MindMapTree.vue b/prompto-lab-ui/src/components/MindMapTree.vue
new file mode 100644
index 0000000..fb3f5a8
--- /dev/null
+++ b/prompto-lab-ui/src/components/MindMapTree.vue
@@ -0,0 +1,643 @@
+
+
+
对话思维导图
+
+
+
+
+
+
+
+
+
diff --git a/prompto-lab-ui/src/components/TreeNode.vue b/prompto-lab-ui/src/components/TreeNode.vue
new file mode 100644
index 0000000..b19f614
--- /dev/null
+++ b/prompto-lab-ui/src/components/TreeNode.vue
@@ -0,0 +1,355 @@
+
+
+
+
+
+
+ {{ node.type === 'user' ? '👤' : '🤖' }}
+
+
{{ truncatedText }}
+
+
+
+
+
+
+
+ {{ node.children.length }}
+ 个分支
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/prompto-lab-ui/src/router/index.ts b/prompto-lab-ui/src/router/index.ts
index f8ec092..8f181e9 100644
--- a/prompto-lab-ui/src/router/index.ts
+++ b/prompto-lab-ui/src/router/index.ts
@@ -17,6 +17,14 @@ const router = createRouter({
title: '登录注册 - AI诗人'
}
},
+ {
+ path: '/prompt-builder',
+ name: 'prompt-builder',
+ component: () => import('../views/PromptBuilderView.vue'),
+ meta: {
+ title: 'AI构建器 - PromptoLab'
+ }
+ },
{
path: '/settings',
name: 'settings',
diff --git a/prompto-lab-ui/src/views/PromptBuilderView.vue b/prompto-lab-ui/src/views/PromptBuilderView.vue
new file mode 100644
index 0000000..f4d172a
--- /dev/null
+++ b/prompto-lab-ui/src/views/PromptBuilderView.vue
@@ -0,0 +1,144 @@
+
+
+
+
+
+
+
\ No newline at end of file