From 0eebbb094c178f9dce776648183d7ed94deed976 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud <79562285+wangdan-fit2cloud@users.noreply.github.com> Date: Fri, 21 Mar 2025 16:57:04 +0800 Subject: [PATCH] feat: Optimize the mobile voice interaction experience * fix: Optimize small screen dialogue style * feat: Mobile voice conversation new UI * feat: Optimize the mobile voice interaction experience * feat: Optimize the mobile voice interaction experience --- ui/public/index.html | 20 ++ ui/src/assets/acoustic-color.svg | 29 ++ ui/src/assets/acoustic.svg | 29 ++ ui/src/components/ai-chat/KnowledgeSource.vue | 2 +- .../component/answer-content/index.vue | 4 +- .../chat-input-operate/TouchChat.vue | 161 ++++++++++ .../component/chat-input-operate/index.vue | 294 +++++++++++++----- .../operation-button/ChatOperationButton.vue | 4 +- .../component/operation-button/index.vue | 4 +- .../component/prologue-content/index.vue | 4 +- .../component/question-content/index.vue | 2 +- ui/src/components/ai-chat/index.scss | 73 +---- ui/src/components/ai-chat/index.vue | 6 +- ui/src/components/dynamics-form/Demo.vue | 2 +- ui/src/components/dynamics-form/index.vue | 2 +- .../items/label/TooltipLabel.vue | 2 +- .../generate-related-dialog/index.vue | 2 +- ui/src/components/icons/index.ts | 25 ++ ui/src/components/layout-container/index.vue | 2 +- ui/src/components/login-container/index.vue | 2 +- ui/src/components/login-layout/index.vue | 2 +- ui/src/layout/hooks/useResize.ts | 4 +- ui/src/styles/app.scss | 1 + .../component/APIKeyDialog.vue | 2 +- .../component/DisplaySettingDialog.vue | 2 +- .../component/EditAvatarDialog.vue | 2 +- .../component/EmbedDialog.vue | 4 +- .../component/LimitDialog.vue | 2 +- .../component/SettingAPIKeyDialog.vue | 2 +- .../component/XPackDisplaySettingDialog.vue | 2 +- .../views/application/ApplicationSetting.vue | 2 +- .../component/AddDatasetDialog.vue | 2 +- .../component/CopyApplicationDialog.vue | 2 +- .../component/CreateApplicationDialog.vue | 2 +- .../component/ParamSettingDialog.vue | 2 +- .../component/ReasoningParamSettingDialog.vue | 2 +- ui/src/views/chat/embed/index.vue | 4 +- ui/src/views/chat/mobile/index.vue | 23 +- .../dataset/component/CreateDatasetDialog.vue | 2 +- .../dataset/component/EditParagraphDialog.vue | 2 +- .../component/SelectDatasetDialog.vue | 2 +- .../component/EditAvatarDialog.vue | 2 +- .../views/log/component/EditContentDialog.vue | 2 +- ui/src/views/log/component/EditMarkDialog.vue | 2 +- ui/src/views/login/forgot-password/index.vue | 2 +- ui/src/views/login/index.vue | 2 +- ui/src/views/login/register/index.vue | 2 +- ui/src/views/login/reset-password/index.vue | 2 +- .../paragraph/component/ParagraphDialog.vue | 2 +- .../component/SelectDocumentDialog.vue | 2 +- .../problem/component/RelateProblemDialog.vue | 2 +- .../team/component/CreateMemberDialog.vue | 2 +- .../team/component/PermissionSetting.vue | 2 +- .../user-manage/component/UserDialog.vue | 2 +- .../user-manage/component/UserPwdDialog.vue | 2 +- .../reranker-node/ParamSettingDialog.vue | 2 +- 56 files changed, 564 insertions(+), 203 deletions(-) create mode 100644 ui/public/index.html create mode 100644 ui/src/assets/acoustic-color.svg create mode 100644 ui/src/assets/acoustic.svg create mode 100644 ui/src/components/ai-chat/component/chat-input-operate/TouchChat.vue diff --git a/ui/public/index.html b/ui/public/index.html new file mode 100644 index 000000000..6bb01923c --- /dev/null +++ b/ui/public/index.html @@ -0,0 +1,20 @@ + + + + + + 111 + + + + + + diff --git a/ui/src/assets/acoustic-color.svg b/ui/src/assets/acoustic-color.svg new file mode 100644 index 000000000..d9cfa1498 --- /dev/null +++ b/ui/src/assets/acoustic-color.svg @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ui/src/assets/acoustic.svg b/ui/src/assets/acoustic.svg new file mode 100644 index 000000000..a400eff9b --- /dev/null +++ b/ui/src/assets/acoustic.svg @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ui/src/components/ai-chat/KnowledgeSource.vue b/ui/src/components/ai-chat/KnowledgeSource.vue index 0c98666d8..729a6317b 100644 --- a/ui/src/components/ai-chat/KnowledgeSource.vue +++ b/ui/src/components/ai-chat/KnowledgeSource.vue @@ -112,7 +112,7 @@ const uniqueParagraphList = computed(() => { }) diff --git a/ui/src/components/ai-chat/component/chat-input-operate/index.vue b/ui/src/components/ai-chat/component/chat-input-operate/index.vue index 14e185a69..a26d7a2a4 100644 --- a/ui/src/components/ai-chat/component/chat-input-operate/index.vue +++ b/ui/src/components/ai-chat/component/chat-input-operate/index.vue @@ -1,5 +1,5 @@