diff --git a/pages/home/index.vue b/pages/home/index.vue index bca3b65..7096b64 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -1679,7 +1679,7 @@ export default { let opened = false try { const res = await checkDrawTime(activityId) - // opened = this.parseCheckTimeResult(res) + opened = this.parseCheckTimeResult(res) } catch (e) { opened = false } diff --git a/pages/shop/GoodsCon/index.vue b/pages/shop/GoodsCon/index.vue index a7fbd87..c360187 100644 --- a/pages/shop/GoodsCon/index.vue +++ b/pages/shop/GoodsCon/index.vue @@ -1495,6 +1495,9 @@ export default { case "day": q.dailyGoodsId = Number(this.activityId) break + case "countyLottery": + q.activityId = Number(this.activityId || 0) + break } postCartAdd(q).then(function (res) { that.isOpen = false diff --git a/pkg-video/views/county-lottery.vue b/pkg-video/views/county-lottery.vue index 8125e28..d8a4070 100644 --- a/pkg-video/views/county-lottery.vue +++ b/pkg-video/views/county-lottery.vue @@ -330,6 +330,9 @@ export default { new: 1, uniqueId: currentSelect.unique || '' } + if (this.activityId) { + q.activityId = Number(this.activityId) + } postCartAdd(q).then(res => { this.isOpen = false this.attr.cartAttr = false