Task:抽奖
This commit is contained in:
@@ -1645,7 +1645,7 @@ export default {
|
||||
(data.isOldUserPopupShow || 0) &&
|
||||
data.oldUserPopup &&
|
||||
data.oldUserPopup.image &&
|
||||
(data.lotteryCanDraw || false)
|
||||
(data.lotteryCanDraw || false)
|
||||
)
|
||||
this.isDrawPosterVisible = hasDrawPoster
|
||||
this.isOldUser = !hasDrawPoster && this.canShowOldPoster
|
||||
|
||||
@@ -1514,9 +1514,17 @@ export default {
|
||||
}
|
||||
if(news === 2) {
|
||||
const coupId = that.couponId ? that.couponId : (that.couponList.usable[0] && that.couponList.usable[0].id || '')
|
||||
let giftUrl = '/pkg_user/views/gift/gift?cartId=' + res.data.cartId
|
||||
if (that.storeInfo.discount) {
|
||||
giftUrl += '&discount=' + that.storeInfo.discount
|
||||
}
|
||||
if (that.source === 'countyLottery') {
|
||||
giftUrl += '&from=countyLottery'
|
||||
giftUrl += '&drawActivityId=' + Number(that.activityId || 0)
|
||||
}
|
||||
uni.navigateTo({
|
||||
// + '&couponId=' + coupId
|
||||
url: '/pkg_user/views/gift/gift?cartId=' + res.data.cartId + (that.storeInfo.discount ? '&discount=' + that.storeInfo.discount : '')
|
||||
url: giftUrl
|
||||
})
|
||||
}
|
||||
if(news === 0) {
|
||||
|
||||
Reference in New Issue
Block a user