diff --git a/pages/activity/seckill/list.vue b/pages/activity/seckill/list.vue index a6a07d14..8d3e371a 100644 --- a/pages/activity/seckill/list.vue +++ b/pages/activity/seckill/list.vue @@ -2,11 +2,21 @@ - + - + @@ -19,12 +29,24 @@ - + - - + + {{ config.startTime }} @@ -38,7 +60,10 @@ - + 距结束 {{ countDown.h }} @@ -53,148 +78,157 @@ - + - + - 限量 {{ activity.stock}} - {{activity.unitName}} + + 限量 + {{ activity.stock }} {{ activity.unitName }} + + :class="[ + 'ss-reset-button cart-btn', + { disabled: activeTimeConfig?.status === TimeStatusEnum.END }, + ]" + v-if="activeTimeConfig?.status === TimeStatusEnum.WAIT_START" + > 未开始 + v-else-if="activeTimeConfig?.status === TimeStatusEnum.STARTED" + > 马上抢 + :class="[ + 'ss-reset-button cart-btn', + { disabled: activeTimeConfig?.status === TimeStatusEnum.END }, + ]" + v-else + > 已结束 - 0" + :status="loadStatus" + :content-text="{ contentdown: '上拉加载更多', - }" @tap="loadMore" /> + }" + @tap="loadMore" + /> \ No newline at end of file +