This commit is contained in:
liuye
2023-02-03 14:00:36 +08:00
parent ff77cdb5da
commit 23967fdb20

View File

@@ -280,12 +280,14 @@ export default {
return tel.replace(reg, "$1****$2");
},
share() {
console.log(123)
this.agentSign().then(() => {
this.injectJWeixin(['shareAppMessage', 'shareWechatMessage']).then(() => {
this.wxInvoke(['shareAppMessage', {
title: '幸运抽奖',
desc: '新年伊始,企业微信团队为创建安全和谐的网络办公环境,诚邀大家使用企业微信参与打卡活动!',
link: `/pages/AppLuckyDraw/AppLuckyDraw?activityId=${this.activityId}&friendId=${this.user.id}`,
// link: `/pages/AppLuckyDraw/AppLuckyDraw?activityId=${this.activityId}&friendId=${this.user.id}`,
link: 'https://www.baidu.com/',
imgUrl: 'https://cdn.cunwuyun.cn/xlgl/lock.png'
}])
})
@@ -326,6 +328,7 @@ export default {
background-image: url('./img/share-btn.png');
background-size: 100% 100%;
background-repeat: no-repeat;
cursor: pointer;
}
.box-content {
width: 706px;
@@ -527,6 +530,7 @@ export default {
bottom: 164px;
left: 50%;
margin-left: -148px;
cursor: pointer;
}
.turntable {
position: relative;
@@ -628,6 +632,7 @@ export default {
background-image: url('./img/share-btn-bg.png');
background-size: 100% 100%;
background-repeat: no-repeat;
cursor: pointer;
}
.sign-btn {