From e40e6e73b20162ff7bb0a474d35d8779abe08f08 Mon Sep 17 00:00:00 2001 From: ZF sun <34314687@qq.com> Date: Fri, 16 Jan 2026 10:34:00 +0800 Subject: [PATCH] =?UTF-8?q?chore(build):=20=E8=B0=83=E6=95=B4ai-chat-messa?= =?UTF-8?q?ge=E7=BB=84=E4=BB=B6=E7=9A=84=E4=BD=8D=E7=BD=AE=EF=BC=8C?= =?UTF-8?q?=E5=87=8F=E5=B0=91=E5=AF=B9=E4=B8=BB=E5=8C=85=E5=B0=BA=E5=AF=B8?= =?UTF-8?q?=E7=9A=84=E5=BD=B1=E5=93=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ai-chat-message/ai-chat-message.json | 6 - components/hover-nav/hover-nav.vue | 13 +- .../ai-chat}/ai-chat-message.vue | 1099 +++++++++-------- pages_tool/ai-chat/index.vue | 11 +- 4 files changed, 570 insertions(+), 559 deletions(-) delete mode 100644 components/ai-chat-message/ai-chat-message.json rename {components/ai-chat-message => pages_tool/ai-chat}/ai-chat-message.vue (80%) diff --git a/components/ai-chat-message/ai-chat-message.json b/components/ai-chat-message/ai-chat-message.json deleted file mode 100644 index d806736..0000000 --- a/components/ai-chat-message/ai-chat-message.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "component": true, - "usingComponents": { - "ns-loading": "../ns-loading/ns-loading" - } -} \ No newline at end of file diff --git a/components/hover-nav/hover-nav.vue b/components/hover-nav/hover-nav.vue index 3ef65a7..ab51db7 100644 --- a/components/hover-nav/hover-nav.vue +++ b/components/hover-nav/hover-nav.vue @@ -109,6 +109,7 @@ export default { }); }, methods: { + /** * 初始化多语言配置 */ @@ -130,12 +131,14 @@ export default { this.currentLangIndex = 0; } }, + /** * 电话联系客服 */ call() { this.customerService.makePhoneCall(this.tel); }, + /** * 切换中英文语言,并刷新当前页面(保留所有参数) */ @@ -153,12 +156,12 @@ export default { openAIChat() { this.$util.redirectTo(this.$util.AI_CHAT_PAGE_URL); }, + + /** + * 打开客服选择对话框 + */ openCustomerSelectPopup() { - if (this.customerService) { - this.customerService.openCustomerSelectPopupDialog(); - } else { - uni.showToast({ title: '客服初始化中,请稍后重试', icon: 'none' }); - } + this.customerService.openCustomerSelectPopupDialog(); } } } diff --git a/components/ai-chat-message/ai-chat-message.vue b/pages_tool/ai-chat/ai-chat-message.vue similarity index 80% rename from components/ai-chat-message/ai-chat-message.vue rename to pages_tool/ai-chat/ai-chat-message.vue index c24fab4..edcf3a8 100644 --- a/components/ai-chat-message/ai-chat-message.vue +++ b/pages_tool/ai-chat/ai-chat-message.vue @@ -1,25 +1,18 @@