Authored by htoooth

add status

... ... @@ -403,7 +403,6 @@ const _getFashionTopGoodsStatus = (uid, showStatus, isBeginSale) => {
result.dis = true;
} else {
result.openSoon = true;
result.hadLimitedCode = false;
}
result.getLimitedCode = true;
break;
... ... @@ -411,14 +410,12 @@ const _getFashionTopGoodsStatus = (uid, showStatus, isBeginSale) => {
result.buyNow = true;
result.dis = true;
result.limitedCodeSoldOut = true;
result.hadLimitedCode = false;
break;
case 3: // 开售后,商品已经售罄
result.soldOut = true;
break;
case 4:// 开售后,立即购买(用户已领取限购码)
result.buyNow = true;
result.dis = false;
result.hadLimitedCode = true;
if (uid) { // 限购码失效
result.getLimitedCodeDis = true;
... ... @@ -426,7 +423,6 @@ const _getFashionTopGoodsStatus = (uid, showStatus, isBeginSale) => {
break;
case 5: // 开售前,限购码已被抢光(用户未领取限购码)
result.openSoon = true;
result.hadLimitedCode = true;
result.limitedCodeSoldOut = true;
break;
case 6: // 开售前,即将开售(用户已领取限购码)
... ...