Compare commits
1 Commits
master
...
29520d0daa
| Author | SHA1 | Date | |
|---|---|---|---|
| 29520d0daa |
@@ -48,7 +48,9 @@
|
||||
actiNum: 0,
|
||||
total: 0,
|
||||
winningList: [],
|
||||
activityRule: undefined
|
||||
activityRule: undefined,
|
||||
startTime: undefined,
|
||||
endTime: undefined
|
||||
}
|
||||
},
|
||||
onLoad(op) {
|
||||
@@ -115,6 +117,9 @@
|
||||
})
|
||||
},
|
||||
handleComplete() {
|
||||
if(){
|
||||
|
||||
}
|
||||
saveWinner({
|
||||
phone: useUserStore().userInfo?.phone || '',
|
||||
detailId: this.detailId,
|
||||
@@ -123,11 +128,14 @@
|
||||
this.btnText = '再刮一次!'
|
||||
if(resp.code == 200) {
|
||||
this.getActivityNum()
|
||||
let help = ",完成助力即可领取奖品!"
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: `恭喜获得${this.result}` + help
|
||||
})
|
||||
if(this.result != '谢谢惠顾'){
|
||||
let help = ",完成助力即可领取奖品!"
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: `恭喜获得${this.result}` + help
|
||||
})
|
||||
}
|
||||
|
||||
this.showBtn = true
|
||||
}
|
||||
})
|
||||
|
||||
@@ -92,7 +92,12 @@
|
||||
path: '/pages/me/help?id=' + this.winnerId + '&type=2'
|
||||
}
|
||||
},
|
||||
|
||||
onPullDownRefresh() {
|
||||
if(this.type == 1){
|
||||
this.getWinnerInfo()
|
||||
this.getHelpInfo()
|
||||
}
|
||||
}
|
||||
methods: {
|
||||
//查询中奖信息
|
||||
getWinnerInfo() {
|
||||
|
||||
Reference in New Issue
Block a user