提交 a6ff0855 编写于 作者: tao.wu's avatar tao.wu

微信二次分享调整

上级 8c2fddec
......@@ -122,11 +122,10 @@ export default {
// 滚动交互
this.scrollHandle();
// 微信分享
const shareUrl = encodeURIComponent(window.location.href);
this.$picaWxShare({
// baseUrl: BASE_URL[process.env.NUXT_ENV_APP],
baseUrl: 'https://test1-sc.yunqueyi.com',
authUrl: shareUrl,
authUrl: encodeURIComponent(window.location.href),
isDebug: false,
type: 15,
jsApiList: [
......@@ -139,7 +138,7 @@ export default {
wx.onMenuShareAppMessage({
title: this.shareObj.title1,
desc: this.shareObj.title2,
link: shareUrl,
link: window.location.href,
imgUrl: this.shareObj.shareImageUrl,
});
......@@ -147,7 +146,7 @@ export default {
wx.onMenuShareTimeline({
title: this.shareObj.title1,
desc: this.shareObj.title2,
link: shareUrl,
link: window.location.href,
imgUrl: this.shareObj.shareImageUrl,
});
})
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册