|
|
|
@ -63,12 +63,12 @@ export default { |
|
|
|
|
link: that.shareLink, // 分享链接
|
|
|
|
|
imgUrl: 'https://hsg.dctpay.com/filesystem/wxApplets/logo.png', // 分享图标
|
|
|
|
|
success: function(res) { |
|
|
|
|
// 支付成功后的回调函数
|
|
|
|
|
uni.showToast({ |
|
|
|
|
title: '分享成功', |
|
|
|
|
duration: 2000, |
|
|
|
|
icon: 'none' |
|
|
|
|
}) |
|
|
|
|
// 回调函数
|
|
|
|
|
// uni.showToast({
|
|
|
|
|
// title: '分享成功',
|
|
|
|
|
// duration: 2000,
|
|
|
|
|
// icon: 'none'
|
|
|
|
|
// })
|
|
|
|
|
}, |
|
|
|
|
cancel: function(r) {}, |
|
|
|
|
fail: function(res) {} |
|
|
|
@ -81,12 +81,12 @@ export default { |
|
|
|
|
link: that.shareLink, // 分享链接
|
|
|
|
|
imgUrl: 'https://hsg.dctpay.com/filesystem/wxApplets/logo.png', // 分享图标
|
|
|
|
|
success: function(res) { |
|
|
|
|
// 支付成功后的回调函数
|
|
|
|
|
uni.showToast({ |
|
|
|
|
title: '分享成功', |
|
|
|
|
duration: 2000, |
|
|
|
|
icon: 'none' |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
// uni.showToast({
|
|
|
|
|
// title: '分享成功',
|
|
|
|
|
// duration: 2000,
|
|
|
|
|
// icon: 'none'
|
|
|
|
|
// })
|
|
|
|
|
}, |
|
|
|
|
cancel: function(r) {}, |
|
|
|
|
fail: function(res) {} |
|
|
|
|