From e75c83e592de2f7bc17f1400c539db114988a92d Mon Sep 17 00:00:00 2001 From: zoujing Date: Thu, 16 Jul 2026 22:14:10 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E5=91=BC=E5=8F=AB?= =?UTF-8?q?=E7=83=AD=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/model/ChatModel.js | 2 + src/pages/ChatMain/ChatQuickAccess/index.vue | 14 +++--- src/pages/ChatModule/CallMobile/index.vue | 49 ++++++++++++++++++++ src/pages/ChatModule/MoreService/index.vue | 29 ++++++++---- src/pages/index/index.vue | 4 ++ 5 files changed, 83 insertions(+), 15 deletions(-) create mode 100644 src/pages/ChatModule/CallMobile/index.vue diff --git a/src/model/ChatModel.js b/src/model/ChatModel.js index 0c8052b..06a5e89 100644 --- a/src/model/ChatModel.js +++ b/src/model/ChatModel.js @@ -89,6 +89,8 @@ export const Command = { discovery: "Command.discovery", // 呼叫服务 callServiceCard: "Command.callServiceCard", + // 电话呼叫咨询 + callMobileService: "Command.callMobileService", // 更多 more: "Command.more", // 我的订单 diff --git a/src/pages/ChatMain/ChatQuickAccess/index.vue b/src/pages/ChatMain/ChatQuickAccess/index.vue index 47417f4..8c73cc6 100644 --- a/src/pages/ChatMain/ChatQuickAccess/index.vue +++ b/src/pages/ChatMain/ChatQuickAccess/index.vue @@ -38,16 +38,16 @@ const itemList = ref([ title: "旅行记录", type: Command.travelAIGC, }, - // { - // icon: "", - // title: "我的订单", - // type: Command.myOrder, - // }, { icon: "", - title: "呼叫服务", - type: Command.callServiceCard, + title: "我的订单", + type: Command.myOrder, }, + // { + // icon: "", + // title: "呼叫服务", + // type: Command.callServiceCard, + // }, { icon: "https://oss.nianxx.cn/mp/static/version_101/home/more.png", title: "更多", diff --git a/src/pages/ChatModule/CallMobile/index.vue b/src/pages/ChatModule/CallMobile/index.vue new file mode 100644 index 0000000..f019849 --- /dev/null +++ b/src/pages/ChatModule/CallMobile/index.vue @@ -0,0 +1,49 @@ + + + + + diff --git a/src/pages/ChatModule/MoreService/index.vue b/src/pages/ChatModule/MoreService/index.vue index b03e413..ff7b166 100644 --- a/src/pages/ChatModule/MoreService/index.vue +++ b/src/pages/ChatModule/MoreService/index.vue @@ -61,14 +61,14 @@ const list = ref([ type: Command.myOrder, path: "/pages-order/order/list", }, - { - icon: "https://oss.nianxx.cn/mp/static/version_101/home/wdgd.png", - title: "呼叫服务", - content: "查看呼叫服务、进度与处理情况", - btnText: "去查看", - type: Command.myWorkOrder, - path: "/pages-service/order/list", - }, + // { + // icon: "https://oss.nianxx.cn/mp/static/version_101/home/wdgd.png", + // title: "呼叫服务", + // content: "查看呼叫服务、进度与处理情况", + // btnText: "去查看", + // type: Command.myWorkOrder, + // path: "/pages-service/order/list", + // }, { icon: "https://oss.nianxx.cn/mp/static/version_101/home/fkyj.png", title: "反馈意见", @@ -77,6 +77,14 @@ const list = ref([ type: Command.feedbackCard, path: "", }, + { + icon: "https://oss.nianxx.cn/mp/static/version_101/home/fkyj.png", + title: "呼叫热线", + content: "我们将全程为您提供细致解答与暖心服务。", + btnText: "去呼叫", + type: Command.callMobileService, + path: "", + }, ]); const open = () => { @@ -90,6 +98,11 @@ const close = () => { const handleClick = (item) => { close(); + if (item.type === Command.callMobileService) { + uni.$emit('SHOW_CALL_MOBILE_POPUP'); + return; + } + if (item.path) { checkToken().then(() => { uni.navigateTo({ url: item.path }); diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index 28b4b02..972b899 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -14,6 +14,9 @@ + + + @@ -27,6 +30,7 @@ import { useAppStore } from "@/store"; import { checkToken } from "@/hooks/useGoLogin"; import ChatMainList from "../ChatMain/ChatMainList/index.vue"; import MoreService from "../ChatModule/MoreService/index.vue"; +import CallMobile from "../ChatModule/CallMobile/index.vue"; import DrawerSection from "../DrawerSection/index.vue"; import Calender from "@/components/Calender/index.vue";