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