diff --git a/pages/activity/goods_bargain_details/index.vue b/pages/activity/goods_bargain_details/index.vue index 53c11a30..5f651dac 100644 --- a/pages/activity/goods_bargain_details/index.vue +++ b/pages/activity/goods_bargain_details/index.vue @@ -461,7 +461,6 @@ * 去支付 */ goConfirm() { - // TODO 芋艿:目前跳转不合理,应该跳转到支付界面 uni.navigateTo({ url: `/pages/activity/bargain/index` }) diff --git a/pages/activity/goods_combination_details/index.vue b/pages/activity/goods_combination_details/index.vue index 664b7f71..7b333bed 100644 --- a/pages/activity/goods_combination_details/index.vue +++ b/pages/activity/goods_combination_details/index.vue @@ -459,16 +459,18 @@ }, 0); // 计算活动状态 const now = new Date().getTime(); - if (this.activity.status !== 0) { - if (this.activity.startTime > now) { - this.status = 1; - } else if (now <= this.activity.endTime) { - this.status = 2; + if (this.activity.status === 0) { + if (this.activity.status === 1) { + this.status = 0; } else { - this.status = 3; + if (this.activity.startTime > now) { + this.status = 1; + } else if (now <= this.activity.endTime) { + this.status = 2; + } else { + this.status = 3; + } } - } else { - this.status = 0; } // 参团记录 CombinationApi.getHeadCombinationRecordList(this.id, 1).then(res => { diff --git a/pages/activity/goods_combination_status/index.vue b/pages/activity/goods_combination_status/index.vue index 8e93c577..09b5ed98 100644 --- a/pages/activity/goods_combination_status/index.vue +++ b/pages/activity/goods_combination_status/index.vue @@ -100,7 +100,7 @@