微信分享

This commit is contained in:
mengxiaolong
2020-08-21 11:59:55 +08:00
parent b121a8e7ac
commit c4e6f7ba1d

View File

@@ -470,17 +470,19 @@ export default {
} else {
title = '国富人寿转账不成功问题件处理'
}
let shareObj = {
title: title,
content: '签字进行',
shareType: 0,
url: `${location.origin}/#/questions/detail/${this.problemDetail.id}/${this.problemDetail.issueType}?&token=${localStorage.token}&receiveType=${this.problemDetail.receiveType}&prtNo=${this.$route.query.prtNo}`,
img: this.$assetsUrl + 'images/logo.png'
}
console.dir(shareObj)
if (data.trigger == 'right_button_click') {
// eslint-disable-next-line no-undef
EWebBridge.webCallAppInJs('bridge', {
flag: 'share',
extra: {
title: title,
content: '签字进行',
shareType: 0,
url: `${location.origin}/#/questions/detail/${this.problemDetail.id}/${this.problemDetail.issueType}?&token=${localStorage.token}&receiveType=${this.problemDetail.receiveType}&prtNo=${this.$route.query.prtNo}`,
img: this.$assetsUrl + 'images/logo.png'
}
extra: shareObj
})
}
},