!104 【功能优化】秒杀详情页过期活动处理

Merge pull request !104 from 卢越/master
This commit is contained in:
芋道源码
2024-10-01 10:57:24 +00:00
committed by Gitee
3 changed files with 7 additions and 1 deletions
+3 -1
View File
@@ -7,7 +7,9 @@
<detailSkeleton v-if="state.skeletonLoading" />
<!-- 下架/售罄提醒 -->
<s-empty
v-else-if="state.goodsInfo === null || state.goodsInfo.activity_type !== 'seckill'"
v-else-if="
state.goodsInfo === null || state.goodsInfo.activity_type !== 'seckill' || endTime.ms <= 0
"
text="活动不存在或已结束"
icon="/static/soldout-empty.png"
showAction