mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-20 21:16:43 +08:00
测试微信分享
This commit is contained in:
@@ -276,14 +276,13 @@ export default {
|
|||||||
title = '国富人寿转账不成功问题件处理'
|
title = '国富人寿转账不成功问题件处理'
|
||||||
}
|
}
|
||||||
if (data.trigger == 'right_button_click') {
|
if (data.trigger == 'right_button_click') {
|
||||||
let token = window.localStorage.getItem('token')
|
|
||||||
// eslint-disable-next-line no-undef
|
// eslint-disable-next-line no-undef
|
||||||
EWebBridge.webCallAppInJs('bridge', {
|
EWebBridge.webCallAppInJs('bridge', {
|
||||||
flag: 'share',
|
flag: 'share',
|
||||||
extra: {
|
extra: {
|
||||||
title: title,
|
title: title,
|
||||||
content: this.shareContent,
|
content: this.shareContent,
|
||||||
url: `${location.origin}/#/questions/detail?&token=${token}`,
|
url: `${location.origin}/#/questions/detail/${this.problemDetail.id}/${this.problemDetail.receiveType}?&token=${localStorage.token}`,
|
||||||
img: this.$assetsUrl + 'images/logo.png'
|
img: this.$assetsUrl + 'images/logo.png'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@@ -434,6 +433,7 @@ export default {
|
|||||||
async created() {
|
async created() {
|
||||||
this.issueType = this.$route.params.type
|
this.issueType = this.$route.params.type
|
||||||
if (this.isWeixin) {
|
if (this.isWeixin) {
|
||||||
|
localStorage.setItem('token', this.$route.query.token)
|
||||||
let imgBase64Data = sessionStorage.getItem('oneimgBase64Data')
|
let imgBase64Data = sessionStorage.getItem('oneimgBase64Data')
|
||||||
let wxSigned = sessionStorage.getItem('onewxSigned')
|
let wxSigned = sessionStorage.getItem('onewxSigned')
|
||||||
let signInfo = JSON.parse(localStorage.getItem('signInfo'))
|
let signInfo = JSON.parse(localStorage.getItem('signInfo'))
|
||||||
|
|||||||
Reference in New Issue
Block a user