addPhone: function(){
wx.showModal({
title: '添加xxx至通讯录',
content: '一键添加,随时为您服务!\n服务内容:\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n1·xxxxxxxx;\n2·xxxxxxx;\t\t\t\t\n3·xxxxxx;\t\t\t\t\t\t\t\t\t\t\t\n4·xxxxx;\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n5·xxxxxx;\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n6·xxxxxx;\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t',
showCancel: false,
success: function(res){
if(res.confirm){
wx.addPhoneContact({
photoFilePath: '/page/comimg/md_logo.png',
lastName: 'xxxxxx',
mobilePhoneNumber: 'xxxxxxx',
weChatNumber: 'xxxxxxxx',
addressStreet: 'xxxxxxxxxxxxxx',
organization: 'xxxxxxxxxxxxxx',
email: 'xxxxxxxxxxxxxxxxxx',
url: 'xxxxxxxxxxxxxx',
success: function(nickName){
wx.showToast({
title: '已添加至通讯录',
icon: 'success',
duration: 2400
})
}
})
}else{
console.log('用户点击取消')
}
}
})
},