diff --git a/frontend/src/assets/chat.scss b/frontend/src/assets/chat.scss index 3a8e140..7e1f5ce 100644 --- a/frontend/src/assets/chat.scss +++ b/frontend/src/assets/chat.scss @@ -108,11 +108,9 @@ @media screen and (max-width: 768px) { .chat-bot{ .input-area{ + padding: 0; .file-btn{ - margin-left: vw(-20); - } - .websearch-btn{ - margin-left: vw(-5); + margin-left: vw(-10); } } } diff --git a/frontend/src/components/localchat/AiChatMain.vue b/frontend/src/components/localchat/AiChatMain.vue index 8512bd0..003564b 100644 --- a/frontend/src/components/localchat/AiChatMain.vue +++ b/frontend/src/components/localchat/AiChatMain.vue @@ -7,6 +7,7 @@ import { ElScrollbar } from "element-plus"; import { getSystemConfig } from "@/system/config"; import { Vue3Lottie } from "vue3-lottie"; import { file } from "jszip"; +import { isMobileDevice } from "@/util/device"; const chatStore = useAiChatStore(); const modelStore = useModelStore(); const isPadding = ref(false); //是否发送中 @@ -242,7 +243,7 @@ const uploadImage = async (event: any) => { + @keydown="handleKeydown" :autofocus="isMobileDevice() ? false : true" class="ai-input-area" /> diff --git a/frontend/src/components/setting/SetSystem.vue b/frontend/src/components/setting/SetSystem.vue index bafcc7c..0aab062 100644 --- a/frontend/src/components/setting/SetSystem.vue +++ b/frontend/src/components/setting/SetSystem.vue @@ -2,87 +2,54 @@
-
+
- +
- + {{ t("confirm") }}
-
+
- +