This commit is contained in:
liuye
2023-02-03 16:40:48 +08:00
parent 7014e7541c
commit c2081eebd4

View File

@@ -287,10 +287,12 @@ export default {
share() { share() {
this.agentSign().then((res) => { this.agentSign().then((res) => {
this.injectJWeixin(['shareAppMessage', 'shareWechatMessage']).then(() => { this.injectJWeixin(['shareAppMessage', 'shareWechatMessage']).then(() => {
wx.onMenuShareAppMessage({ wx.invoke("shareAppMessage", {
title: '幸运抽奖', title: '幸运抽奖',
desc: '新年伊始,企业微信团队为创建安全和谐的网络办公环境,诚邀大家使用企业微信参与打卡活动!', desc: '新年伊始,企业微信团队为创建安全和谐的网络办公环境,诚邀大家使用企业微信参与打卡活动!',
link: `./AppLuckyDraw/AppLuckyDraw?activityId=${this.activityId}&friendId=${this.user.id}`, link: location.host+`/apps/AppLuckyDraw/AppLuckyDraw?activityId=${this.activityId}&friendId=${this.user.id}`,
}, function(res) {
}); });
}) })
}) })
@@ -311,7 +313,7 @@ export default {
position: relative; position: relative;
margin-bottom: 44px; margin-bottom: 44px;
.header-bg-img { .header-bg-img {
max-width: 100%; width: 100%;
} }
.share-btn { .share-btn {
width: 200px; width: 200px;