wechat_jiaxuan/pages/store/store.js
@@ -25,6 +25,7 @@ latitude: res.latitude, longitude: res.longitude, }) this.getShops(res.latitude, res.longitude) } }) }, @@ -70,6 +71,14 @@ url: `/pages/store/info?id=${id}`, }) }, userDetail(e) { const iamId = e.currentTarget.dataset.id console.log('e', e); console.log('iamId', iamId); wx.navigateTo({ url: `/pages/store/staff?id=${iamId}`, }) }, makePhone(e) { console.log('e', e); const phoneNumber = e.currentTarget.dataset.phone