|
@@ -871,7 +871,8 @@
|
|
|
}
|
|
|
},
|
|
|
share(){
|
|
|
- console.log(this.shareInfo)
|
|
|
+ let middle = this.shareInfo.gotoUrl.split('=')[1];
|
|
|
+ let result = middle.split('&')[0];
|
|
|
const {
|
|
|
title,
|
|
|
content,
|
|
@@ -879,12 +880,12 @@
|
|
|
shareImg
|
|
|
} = this.shareInfo;
|
|
|
if (isAndroid) {
|
|
|
- window.native.share(title, content, gotoUrl, shareImg)
|
|
|
+ window.native.share(title, content, `${baseUrl}/h5/microserviceUserH5/vcloud/actFissionShare.html?username=${result}&strategyId=${this.strategyId}&tagId=${this.dataObj.tagId}`, shareImg)
|
|
|
} else if (isIOS) {
|
|
|
window.webkit.messageHandlers.share.postMessage({
|
|
|
title: title,
|
|
|
content: content,
|
|
|
- gotoUrl: gotoUrl,
|
|
|
+ gotoUrl: `${baseUrl}/h5/microserviceUserH5/vcloud/actFissionShare.html?username=${result}&strategyId=${this.strategyId}&tagId=${this.dataObj.tagId}`,
|
|
|
shareImg: shareImg
|
|
|
});
|
|
|
} else {
|