一. 拨打电话功能
wx.makePhoneCall({
phoneNumber: "电话号码"
})
二. 获取收货地址功能
wx.chooseAddress({
success: (res) => {
console.log(res)
this.setData({
addressInfo: res //地址信息
})
},
fail: function(err) {
}
})
三. 使用微信内置地图查看位置功能
wx.openLocation({
latitude: 31.241366,
longitude: 121.519952,
name: "名称",
address: " "
})