feat: 添加呼叫热线

This commit is contained in:
2026-07-16 22:14:10 +08:00
parent bce3e5912f
commit e75c83e592
5 changed files with 83 additions and 15 deletions

View File

@@ -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 });