新增名片卡片
This commit is contained in:
@@ -63,6 +63,20 @@ Page({
|
||||
})
|
||||
},
|
||||
|
||||
makePhoneCall(e){
|
||||
let phone = e.currentTarget.dataset.phone;
|
||||
console.log(phone);
|
||||
wx.makePhoneCall({
|
||||
phoneNumber: phone, //此号码仅用于测试
|
||||
success: function () {
|
||||
console.log("拨打电话成功!")
|
||||
},
|
||||
fail: function () {
|
||||
console.log("拨打电话失败!")
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user