|
@@ -255,13 +255,14 @@ export default {
|
|
|
// 查询免费次数
|
|
|
this.getCustomerTimes()
|
|
|
this.prizeList = this.requestPrizeList()
|
|
|
- this.isFirstLoad = true
|
|
|
}else{
|
|
|
uni.showModal({
|
|
|
showCancel: false,
|
|
|
title: '活动已结束',
|
|
|
success() {
|
|
|
- uni.navigateBack()
|
|
|
+ uni.reLaunch({
|
|
|
+ url: '/pages/index/index'
|
|
|
+ })
|
|
|
}
|
|
|
})
|
|
|
}
|
|
@@ -270,11 +271,12 @@ export default {
|
|
|
showCancel: false,
|
|
|
title: '活动已结束',
|
|
|
success() {
|
|
|
- uni.navigateBack()
|
|
|
+ uni.reLaunch({
|
|
|
+ url: '/pages/index/index'
|
|
|
+ })
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
- uni.hideLoading()
|
|
|
})
|
|
|
},
|
|
|
// 格式化数据
|
|
@@ -292,7 +294,6 @@ export default {
|
|
|
isPrizeLimit: item.isPrizeLimit
|
|
|
})
|
|
|
})
|
|
|
-
|
|
|
return temp
|
|
|
},
|
|
|
// 获取免费抽奖次数
|