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: [