抽奖
This commit is contained in:
@@ -133,7 +133,7 @@
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import {mapState, mapActions} from 'vuex'
|
||||
import {mapActions, mapState} from 'vuex'
|
||||
export default {
|
||||
name: "AppLuckyDraw",
|
||||
appName: "幸运抽奖",
|
||||
@@ -147,7 +147,7 @@ export default {
|
||||
awardNumber: 2, // 中奖区域 从1开始
|
||||
isStart: false, //防止多次触发动画
|
||||
animationData: {}, //动画对象
|
||||
showPhoneMask: false,
|
||||
showPhoneMask: true,
|
||||
phone: '',
|
||||
activityId: '',
|
||||
friendId: '',
|
||||
@@ -211,6 +211,7 @@ export default {
|
||||
|
||||
this.$http.post(`/app/appmarketingactivityinfo/bindPhone?phone=${this.phone}`).then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.showPhoneMask = false
|
||||
this.getDetail()
|
||||
this.$u.toast('绑定成功')
|
||||
}
|
||||
@@ -282,10 +283,10 @@ export default {
|
||||
this.agentSign().then(() => {
|
||||
this.injectJWeixin(['shareAppMessage', 'shareWechatMessage']).then(() => {
|
||||
this.wxInvoke(['shareAppMessage', {
|
||||
// title: this.params.title,
|
||||
// desc: this.params.tableExplain,
|
||||
title: '幸运抽奖',
|
||||
desc: '新年伊始,企业微信团队为创建安全和谐的网络办公环境,诚邀大家使用企业微信参与打卡活动!',
|
||||
link: `/pages/AppLuckyDraw/AppLuckyDraw?activityId=${this.activityId}&friendId=${this.user.id}`,
|
||||
// imgUrl: this.params.headPicture
|
||||
imgUrl: 'https://cdn.cunwuyun.cn/xlgl/lock.png'
|
||||
}])
|
||||
})
|
||||
})
|
||||
@@ -653,6 +654,9 @@ export default {
|
||||
line-height: 48px;
|
||||
box-sizing: border-box;
|
||||
margin: 0 0 0 16px;
|
||||
.label {
|
||||
width: 150px;
|
||||
}
|
||||
.color-999{
|
||||
color: #999;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user