Compare commits

..

No commits in common. 'dev-zcx' and 'master' have entirely different histories.

  1. 10
      src/pages/index/components/ggl/index.vue
  2. 7
      src/pages/me/help.vue

@ -48,9 +48,7 @@
actiNum: 0, actiNum: 0,
total: 0, total: 0,
winningList: [], winningList: [],
activityRule: undefined, activityRule: undefined
startTime: undefined,
endTime: undefined
} }
}, },
onLoad(op) { onLoad(op) {
@ -117,9 +115,6 @@
}) })
}, },
handleComplete() { handleComplete() {
if(){
}
saveWinner({ saveWinner({
phone: useUserStore().userInfo?.phone || '', phone: useUserStore().userInfo?.phone || '',
detailId: this.detailId, detailId: this.detailId,
@ -128,14 +123,11 @@
this.btnText = '再刮一次!' this.btnText = '再刮一次!'
if(resp.code == 200) { if(resp.code == 200) {
this.getActivityNum() this.getActivityNum()
if(this.result != '谢谢惠顾'){
let help = ",完成助力即可领取奖品!" let help = ",完成助力即可领取奖品!"
uni.showToast({ uni.showToast({
icon: 'none', icon: 'none',
title: `恭喜获得${this.result}` + help title: `恭喜获得${this.result}` + help
}) })
}
this.showBtn = true this.showBtn = true
} }
}) })

@ -92,12 +92,7 @@
path: '/pages/me/help?id=' + this.winnerId + '&type=2' path: '/pages/me/help?id=' + this.winnerId + '&type=2'
} }
}, },
onPullDownRefresh() {
if(this.type == 1){
this.getWinnerInfo()
this.getHelpInfo()
}
}
methods: { methods: {
// //
getWinnerInfo() { getWinnerInfo() {

Loading…
Cancel
Save