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