diff --git a/src/pages/shop/detail.vue b/src/pages/shop/detail.vue
index e133347..8c40f02 100644
--- a/src/pages/shop/detail.vue
+++ b/src/pages/shop/detail.vue
@@ -43,7 +43,10 @@
>
{{ state.detail.phone }}
-
+
联系商家
@@ -145,7 +148,7 @@
import { reactive, nextTick, ref } from "vue"
import { onLoad, onShow } from "@dcloudio/uni-app"
import { isEmpty } from "radash"
-import { hooks, router } from "@@/index"
+import { router } from "@@/index"
import { foodApi, merchantApi, payApi, shopApi } from "@@/api"
import zSwiper from "@zebra-ui/swiper/components/z-swiper/z-swiper.vue"
import zSwiperItem from "@zebra-ui/swiper/components/z-swiper-item/z-swiper-item.vue"
@@ -269,7 +272,12 @@ const doPhone = () => {
uni.showToast({ title: "该商户没有预留电话", icon: "none" })
return
}
- hooks.useMakePhoneCall(state.detail.phone)
+ ;(window as any).dd
+ .callPhone({
+ phoneNum: state.detail.phone,
+ })
+ .then((res) => {})
+ .catch((err) => {})
}
const getHeight = () => {