Commit adda204f by 高淑倩

打电话

parent ca538491
......@@ -65,6 +65,12 @@ wxService.page({
}
})
},
handelPhoneCall(e) {
const {phone} = e.currentTarget.dataset
wx.makePhoneCall({
phoneNumber: phone
})
},
//点击事件
//类型切换
onTopBarTap(e){
......
......@@ -8,9 +8,9 @@
<view class='u-items'>
<view class='u-item-lf'>
<label>{{memberInfo.mobile}}</label>
<image src='/assets/imgs/shoppingGuide/phone.png' mode='widthFix'></image>
<image src='/assets/imgs/shoppingGuide/phone.png' data-phone="{{memberInfo.mobile}}" bindtap="handelPhoneCall" mode='widthFix'></image>
</view>
<view class='u-item-rg'>立即联系</view>
<view class='u-item-rg' data-phone="{{memberInfo.mobile}}" bindtap="handelPhoneCall">立即联系</view>
</view>
<view class='u-items'>
<view class='u-item-lf'>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment