diff --git a/pages-activity/activity/welfare/detail.vue b/pages-activity/activity/welfare/detail.vue index 2f93bca..a4512d1 100644 --- a/pages-activity/activity/welfare/detail.vue +++ b/pages-activity/activity/welfare/detail.vue @@ -174,6 +174,10 @@ export default { progressHint() { if (this.detail?.joined) return '您已成功参加本期活动' if (this.detail?.can_join) return '已达参与门槛,可立即参加活动' + const startTime = this.detail?.start_time ? new Date(this.detail.start_time).getTime() : 0 + if (startTime && startTime > Date.now()) { + return `活动将于 ${this.formatTime(this.detail.start_time)} 开始` + } const target = Number(this.detail?.threshold_amount || 0) const current = Number(this.detail?.current_paid || 0) if (target > current) { @@ -183,6 +187,8 @@ export default { }, joinButtonText() { if (this.detail?.joined) return '已参加' + const startTime = this.detail?.start_time ? new Date(this.detail.start_time).getTime() : 0 + if (startTime && startTime > Date.now()) return '未开始' if (this.detail?.can_join) return '参加活动' return '未达门槛' },