小程序调用手机拨打电话功能
wx.showModal({
title:"取消预约",
content:"请联系客服",
showCancel:true,
success(res){
if (res.confirm) {
wx.makePhoneCall({
phoneNumber: '111122151',
})
} else if (res.cancel) {
return
}
}
})