...
|
...
|
@@ -35,7 +35,7 @@ function _productAddFlag(productList) { |
|
|
productList.forEach(product => {
|
|
|
if (now < product.startTime * 1000) { // 未开抢
|
|
|
product.wait = true;
|
|
|
} else if (product.secKillStatus === 0) { // 已开抢-已抢光
|
|
|
} else if (product.secKillStatus === 0 || (now > product.endTime * 1000)) { // 确实已抢光, 过了秒杀时间
|
|
|
product.over = true;
|
|
|
}
|
|
|
});
|
...
|
...
|
|