|
|
@ -209,9 +209,9 @@ |
|
|
|
doShare() { |
|
|
|
doShare() { |
|
|
|
let that = this; |
|
|
|
let that = this; |
|
|
|
if (app.globalData.accountType == '0000012&key') { |
|
|
|
if (app.globalData.accountType == '0000012&key') { |
|
|
|
that.shareLink = 'https://hsgcs.dctpay.com/hsgH5?accountId=0000013&key=&code=' + that.orderNo; |
|
|
|
that.shareLink = 'https://hsg.dctpay.com/hsgH5?accountId=0000013&key=&code=' + that.orderNo; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
that.shareLink = 'https://hsgcs.dctpay.com/hsgH5?accountId=0000014&key=&code=' + that.qrCodeSn; |
|
|
|
that.shareLink = 'https://hsg.dctpay.com/hsgH5?accountId=0000014&key=&code=' + that.qrCodeSn; |
|
|
|
} |
|
|
|
} |
|
|
|
let theUrl = window.location.href.split('#')[0]; |
|
|
|
let theUrl = window.location.href.split('#')[0]; |
|
|
|
let datas = { |
|
|
|
let datas = { |
|
|
@ -234,7 +234,7 @@ |
|
|
|
// title: '分享好友,立获大额优惠券', // 分享标题 |
|
|
|
// title: '分享好友,立获大额优惠券', // 分享标题 |
|
|
|
// desc: '分享好友,立获大额优惠券', // 分享描述 |
|
|
|
// desc: '分享好友,立获大额优惠券', // 分享描述 |
|
|
|
// link: that.shareLink, // 分享链接 |
|
|
|
// link: that.shareLink, // 分享链接 |
|
|
|
// imgUrl: 'https://hsgcs.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({ |
|
|
@ -256,7 +256,7 @@ |
|
|
|
title: '分享朋友圈,立获大额优惠券', // 分享标题 |
|
|
|
title: '分享朋友圈,立获大额优惠券', // 分享标题 |
|
|
|
desc: '分享朋友圈,立获大额优惠券', // 分享描述 |
|
|
|
desc: '分享朋友圈,立获大额优惠券', // 分享描述 |
|
|
|
link: that.shareLink, // 分享链接 |
|
|
|
link: that.shareLink, // 分享链接 |
|
|
|
imgUrl: 'https://hsgcs.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({ |
|
|
|