From af648707fa2b2f86eff95629be0c092013790c76 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 25 七月 2024 18:23:08 +0800
Subject: [PATCH] ''

---
 wechat_jiaxuan/pages/store/info.js |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/wechat_jiaxuan/pages/store/info.js b/wechat_jiaxuan/pages/store/info.js
index 08cb80c..2b43e1a 100644
--- a/wechat_jiaxuan/pages/store/info.js
+++ b/wechat_jiaxuan/pages/store/info.js
@@ -33,6 +33,10 @@
     const { linkPhone } = this.data.info
     wx.makePhoneCall({ phoneNumber: linkPhone })
   },
+  callPhone(e) {
+    const phone = e.currentTarget.dataset.phone
+    wx.makePhoneCall({ phoneNumber: phone })
+  },
   handleDetail(e) {
     const id = e.currentTarget.dataset.id
     wx.navigateTo({
@@ -58,7 +62,6 @@
       this.setData({ info: res.data })
     })
   },
-  
   onReady() {
 
   },

--
Gitblit v1.9.3