From 3f880433220e6d20b34bcb6e681a9eaf5e960cb5 Mon Sep 17 00:00:00 2001 From: wujingling0908 <2.com> Date: Thu, 24 Sep 2026 09:14:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E9=80=81=E6=8C=89=E9=92=AE=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E4=BC=98=E5=8C=96=E5=92=8C=E4=BB=A3=E7=A0=81=E8=81=94?= =?UTF-8?q?=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 312 +- src/assets/images/chat/todo-icon.svg | 1 + src/assets/style/common.css | 8 - src/components/abstract.vue | 641 ++-- src/components/business-handle.vue | 379 +- src/components/chat-content.vue | 4777 +++++++++++++------------- src/components/chat-main.vue | 2 +- src/components/chat-new.vue | 1201 ++++--- src/components/hot-question-new.vue | 11 +- src/components/text-content.vue | 914 ++--- src/components/text-folding.vue | 1145 +++--- src/components/welcomes.vue | 12 +- src/router/index.js | 71 +- src/store/app.js | 11 + src/utils/index.js | 1376 ++++---- src/utils/socket.js | 930 ++--- src/utils/utils.js | 2020 +++++------ src/views/chat.vue | 1257 +++---- src/views/word.vue | 10 + vite.config.js | 8 - 20 files changed, 7700 insertions(+), 7386 deletions(-) create mode 100644 src/assets/images/chat/todo-icon.svg create mode 100644 src/views/word.vue diff --git a/src/App.vue b/src/App.vue index c71a823..097f3e8 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,154 +1,162 @@ - - - + + + diff --git a/src/assets/images/chat/todo-icon.svg b/src/assets/images/chat/todo-icon.svg new file mode 100644 index 0000000..77640a8 --- /dev/null +++ b/src/assets/images/chat/todo-icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/style/common.css b/src/assets/style/common.css index 4321ccf..4f24899 100644 --- a/src/assets/style/common.css +++ b/src/assets/style/common.css @@ -117,14 +117,6 @@ body .van-toast--text { color: #0074e1; } -body .van-popup--bottom { - max-width: 9.98rem; - left: 0; - right: 0; - margin-left: auto; - margin-right: auto; -} - /* .van-picker__toolbar{ position: relative; } diff --git a/src/components/abstract.vue b/src/components/abstract.vue index 854721c..43e6377 100644 --- a/src/components/abstract.vue +++ b/src/components/abstract.vue @@ -1,301 +1,340 @@ - - - + + + diff --git a/src/components/business-handle.vue b/src/components/business-handle.vue index d5daa5c..1d17966 100644 --- a/src/components/business-handle.vue +++ b/src/components/business-handle.vue @@ -1,168 +1,211 @@ - - - - - \ No newline at end of file + + + + + diff --git a/src/components/chat-content.vue b/src/components/chat-content.vue index a76f9e5..0130163 100644 --- a/src/components/chat-content.vue +++ b/src/components/chat-content.vue @@ -1,2388 +1,2389 @@ - - - - - - - + + + + + + + diff --git a/src/components/chat-main.vue b/src/components/chat-main.vue index 658d3f3..ca0a44c 100644 --- a/src/components/chat-main.vue +++ b/src/components/chat-main.vue @@ -96,7 +96,7 @@ - - - + + + + diff --git a/src/components/hot-question-new.vue b/src/components/hot-question-new.vue index 4b78e93..409d27f 100644 --- a/src/components/hot-question-new.vue +++ b/src/components/hot-question-new.vue @@ -14,7 +14,7 @@ const initHotQuestion = async () => { sceneId: store.userInfo.sceneId || "", }; - Post("config/activity", param) + return Post("config/activity", param) .then((res) => { if (res.code && res.code != 0) { showToast(res.msg); @@ -72,8 +72,13 @@ const handleAskClick = (record) => { isItemsubmit.value = true }) } +const emit = defineEmits(['ready']) onMounted(async () => { - await initHotQuestion() + try { + await initHotQuestion() + } finally { + emit('ready') + } }) + + + + diff --git a/src/views/word.vue b/src/views/word.vue new file mode 100644 index 0000000..a4267a7 --- /dev/null +++ b/src/views/word.vue @@ -0,0 +1,10 @@ + + diff --git a/vite.config.js b/vite.config.js index 90cfc5e..f2e49fd 100644 --- a/vite.config.js +++ b/vite.config.js @@ -19,14 +19,6 @@ export default defineConfig(({ command }) => { changeOrigin: true, ws: true, }, - '/api': { - // target: 'https://aioblu-sit.cpic.com.cn', - // target: 'https://aioblu-dev.cpic.com.cn/yyfw', - target: 'https://ssp-sit.cpic.com.cn', - - changeOrigin: true, - rewrite: (path) => path.replace(/^\/api/, ''), - }, }, }, plugins: [