fuzhibianhao(e){
if (e.currentTarget.dataset.title!='') {
let t=this
wx.setClipboardData({
data: "bind&"+t.data.user.sysUserCode,
success (res) {
// wx.hideToast()
wx.getClipboardData({
success (res) {
// wx.showToast({
// title: '复制成功'
// })
wx.showModal({
title: '复制成功',
// 请前往SUFN三峰公众号发送"bind&'+e.currentTarget.dataset.title+'"进行关联绑定
content: '请扫码进入SUFN三峰公众号并从公众号点击进行小程序关联绑定',
showCancel:false,
success (res) {
// if (res.confirm) {
// console.log('用户点击确定')
// } else if (res.cancel) {
// console.log('用户点击取消')
// }
}
})
}
})
}
})
}
},
微信小程序长按复制
于 2022-07-22 11:11:40 首次发布