From 1a3e6a38606bf9f3bb9d303b7d8fc246b0af0c98 Mon Sep 17 00:00:00 2001 From: jacobxu666 Date: Fri, 28 Aug 2026 11:48:41 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=97=A8=E5=BA=97=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E9=A1=B5=E5=95=86=E5=93=81=E5=8E=9F=E4=BB=B7=E4=B8=8A=E6=96=B9?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=95=86=E6=88=B7=E7=94=B5=E8=AF=9D=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=EF=BC=8C=E5=8F=96=E5=AE=A2=E6=9C=8D=E7=94=B5=E8=AF=9D?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E5=B9=B6=E6=94=AF=E6=8C=81=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E6=8B=A8=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 --- pages/venue/detail.vue | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/pages/venue/detail.vue b/pages/venue/detail.vue index e06aa19..e99c828 100644 --- a/pages/venue/detail.vue +++ b/pages/venue/detail.vue @@ -20,6 +20,17 @@ + + + + + 商户电话 + + + {{ store.servicePhone }} + + + @@ -73,6 +84,11 @@ export default { } }, methods: { + // xuchao: 点击商户电话唤起拨号 + callPhone() { + if (!this.store || !this.store.servicePhone) return + uni.makePhoneCall({ phoneNumber: String(this.store.servicePhone) }) + }, loadDetail(shopId) { const loc = uni.getStorageSync('lng') && uni.getStorageSync('lat') ? { lng: uni.getStorageSync('lng'), lat: uni.getStorageSync('lat') } @@ -222,6 +238,11 @@ export default { line-height: 1.6; } +/* xuchao: 可点击拨号的电话样式 */ +.phone-link { + color: #0088ff; +} + /* 返回按钮 */ .back-btn { position: fixed;