Commit 41e9c3cf authored by 徐光星's avatar 徐光星

Merge branch 'feat/shareInfo' into 'master'

feat: 更改app share icon尺寸

See merge request !76
parents 54bea444 720e6359
......@@ -162,6 +162,8 @@ export default {
const link = `${window.location.origin}${window.location.pathname}?vccToken={token}&tenantId=${localStorage.get('tenantId') || ''}`;
this.link = link;
const defaultTitle = +localStorage.get('tenantId') === 560761 ? '羊小咩' : '活动页';
let shareUrl = shareCoverImage || coverImage;
shareUrl += isApp ? '?imageMogr2/thumbnail/120x120' : ''
this.shareInfo = {
event: "showShareView",
data: {
......@@ -170,7 +172,7 @@ export default {
title: pageName || defaultTitle,
desc: pageDescribe || '美好生活更从容',
link,
imgUrl: shareCoverImage || coverImage // 图片地址
imgUrl: shareUrl
}
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment