diff --git a/src/project/activeAnalysis/AppLuckyDraw/AppLuckyDraw.vue b/src/project/activeAnalysis/AppLuckyDraw/AppLuckyDraw.vue index 419275d0..79c41127 100644 --- a/src/project/activeAnalysis/AppLuckyDraw/AppLuckyDraw.vue +++ b/src/project/activeAnalysis/AppLuckyDraw/AppLuckyDraw.vue @@ -287,10 +287,12 @@ export default { share() { this.agentSign().then((res) => { this.injectJWeixin(['shareAppMessage', 'shareWechatMessage']).then(() => { - wx.onMenuShareAppMessage({ + wx.invoke("shareAppMessage", { title: '幸运抽奖', 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; margin-bottom: 44px; .header-bg-img { - max-width: 100%; + width: 100%; } .share-btn { width: 200px;