diff --git a/src/views/home/components/ChatList.vue b/src/views/home/components/ChatList.vue new file mode 100644 index 0000000..1c1f74e --- /dev/null +++ b/src/views/home/components/ChatList.vue @@ -0,0 +1,141 @@ + + + 今天 15:14 + + + + AI + + + + {{ msg.content }} + {{ msg.time }} + + + + + + + + + + + + diff --git a/src/views/home/components/CommandList.vue b/src/views/home/components/CommandList.vue new file mode 100644 index 0000000..deecb52 --- /dev/null +++ b/src/views/home/components/CommandList.vue @@ -0,0 +1,164 @@ + + + + + + + + + + {{ command.name }} + {{ command.description }} + + {{ command.trigger }} + + + + + + + + + + + + + + + + + diff --git a/src/views/home/components/DiaryList.vue b/src/views/home/components/DiaryList.vue new file mode 100644 index 0000000..660d781 --- /dev/null +++ b/src/views/home/components/DiaryList.vue @@ -0,0 +1,171 @@ + + + + + + + {{ diary.date }} + + + {{ getMoodText(diary.mood) }} + + + {{ diary.title }} + {{ diary.content }} + + + + + + + + diff --git a/src/views/home/components/FileList.vue b/src/views/home/components/FileList.vue new file mode 100644 index 0000000..27bc341 --- /dev/null +++ b/src/views/home/components/FileList.vue @@ -0,0 +1,199 @@ + + + + + + + + + + {{ file.name }} + + {{ file.size }} + {{ file.date }} + + + {{ tag }} + + + + + + + + + + + + + + + + + diff --git a/src/views/home/components/InputBar.vue b/src/views/home/components/InputBar.vue new file mode 100644 index 0000000..56b44cf --- /dev/null +++ b/src/views/home/components/InputBar.vue @@ -0,0 +1,216 @@ + + + + + + + + + + + + 快捷指令 + + + 帮我润色这段文案 + 总结当前对话重点 + 整理下一步 TODO + + + + + + 快捷回复 + + + 收到,我马上处理 + 这个方向可以,继续 + 这个比例还要再调一下 + + + + + + + 启动 + + + + + + + + + + + + diff --git a/src/views/home/components/MainContent.vue b/src/views/home/components/MainContent.vue new file mode 100644 index 0000000..0fde11a --- /dev/null +++ b/src/views/home/components/MainContent.vue @@ -0,0 +1,113 @@ + + + + {{ currentTitle }} + + + + 新建 + + + + + + + + + + + + + + + + + diff --git a/src/views/home/components/ReplyList.vue b/src/views/home/components/ReplyList.vue new file mode 100644 index 0000000..530bb8a --- /dev/null +++ b/src/views/home/components/ReplyList.vue @@ -0,0 +1,207 @@ + + + + + + {{ reply.category }} + + + + {{ reply.usageCount }} 次使用 + + + {{ reply.title }} + {{ reply.content }} + + + + + + + + diff --git a/src/views/home/components/Sidebar.vue b/src/views/home/components/Sidebar.vue new file mode 100644 index 0000000..64a1a07 --- /dev/null +++ b/src/views/home/components/Sidebar.vue @@ -0,0 +1,250 @@ + + + + + + + + 助手 + 在线 + + + + + 新增对话 + + + + + + + + + {{ item.label }} + + + + + + + + + + + diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 5f3227d..6688a33 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -1,654 +1,274 @@ - - - - - - - {{ v.num1 }} - {{ v.num2 }}% - {{ v.num3 }} - - - + + + + + + + + + + 历史对话 + {{ historyList.length }} + + + + + + 历史对话 + + + 新建会话 + + + + + + + {{ item.title }} + {{ item.time }} + + + - - - - - - - - - - - - - - - - - - 快捷导航工具 - - - - - - - {{ v.label }} - {{ v.value }} - - - - - - - - - - - - - + + -
{{ command.description }}
{{ diary.content }}
{{ reply.content }}