//wxll
<button type="default" bindtap="callPhone">撥打電話</button>
//js
callPhone: function () {
wx.makePhoneCall({
phoneNumber: '10086'
})
}
效果
//wxll
<button type="default" bindtap="callPhone">撥打電話</button>
//js
callPhone: function () {
wx.makePhoneCall({
phoneNumber: '10086'
})
}
效果