通过button open-type属性为share,分享小程序。或生命周期onShareAppMessage()
![](https://img-blog.csdnimg.cn/img_convert/4fc8650e8e07d6d63bfabf2bdf87cc86.png)
拨打电话api:wx.makePhoneCall(Object object)
属性 | 类型 | 默认值 | 必填 | 说明 |
phoneNumber | string | 是 | 需要拨打的电话号码 | |
success | function | 否 | 接口调用成功的回调函数 | |
fail | function | 否 | 接口调用失败的回调函数 | |
complete | function | 否 | 接口调用结束的回调函数(调用成功、失败都会执行) |