分享
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user