<view class='call' bindtap='call'>立即拨打</view>
call: function () {
wx.makePhoneCall({
phoneNumber: '400-8888-794',
success: function () {
console.log("拨打电话成功!")
},
fail: function () {
console.log("拨打电话失败!")
}
})
}
小程序和公众号打通版免费项目案例:github.crmeb.net/u/mmj
小程序、公众号、h5打通版商城