|
@@ -396,7 +396,6 @@ const _getFashionTopGoodsStatus = (uid, showStatus, isBeginSale) => { |
|
@@ -396,7 +396,6 @@ const _getFashionTopGoodsStatus = (uid, showStatus, isBeginSale) => { |
396
|
result.dis = true;
|
396
|
result.dis = true;
|
397
|
} else {
|
397
|
} else {
|
398
|
result.openSoon = true;
|
398
|
result.openSoon = true;
|
399
|
- result.hadLimitedCode = false;
|
|
|
400
|
}
|
399
|
}
|
401
|
result.getLimitedCode = true;
|
400
|
result.getLimitedCode = true;
|
402
|
break;
|
401
|
break;
|
|
@@ -404,14 +403,12 @@ const _getFashionTopGoodsStatus = (uid, showStatus, isBeginSale) => { |
|
@@ -404,14 +403,12 @@ const _getFashionTopGoodsStatus = (uid, showStatus, isBeginSale) => { |
404
|
result.buyNow = true;
|
403
|
result.buyNow = true;
|
405
|
result.dis = true;
|
404
|
result.dis = true;
|
406
|
result.limitedCodeSoldOut = true;
|
405
|
result.limitedCodeSoldOut = true;
|
407
|
- result.hadLimitedCode = false;
|
|
|
408
|
break;
|
406
|
break;
|
409
|
case 3: // 开售后,商品已经售罄
|
407
|
case 3: // 开售后,商品已经售罄
|
410
|
result.soldOut = true;
|
408
|
result.soldOut = true;
|
411
|
break;
|
409
|
break;
|
412
|
case 4:// 开售后,立即购买(用户已领取限购码)
|
410
|
case 4:// 开售后,立即购买(用户已领取限购码)
|
413
|
result.buyNow = true;
|
411
|
result.buyNow = true;
|
414
|
- result.dis = false;
|
|
|
415
|
result.hadLimitedCode = true;
|
412
|
result.hadLimitedCode = true;
|
416
|
if (uid) { // 限购码失效
|
413
|
if (uid) { // 限购码失效
|
417
|
result.getLimitedCodeDis = true;
|
414
|
result.getLimitedCodeDis = true;
|
|
@@ -419,7 +416,6 @@ const _getFashionTopGoodsStatus = (uid, showStatus, isBeginSale) => { |
|
@@ -419,7 +416,6 @@ const _getFashionTopGoodsStatus = (uid, showStatus, isBeginSale) => { |
419
|
break;
|
416
|
break;
|
420
|
case 5: // 开售前,限购码已被抢光(用户未领取限购码)
|
417
|
case 5: // 开售前,限购码已被抢光(用户未领取限购码)
|
421
|
result.openSoon = true;
|
418
|
result.openSoon = true;
|
422
|
- result.hadLimitedCode = true;
|
|
|
423
|
result.limitedCodeSoldOut = true;
|
419
|
result.limitedCodeSoldOut = true;
|
424
|
break;
|
420
|
break;
|
425
|
case 6: // 开售前,即将开售(用户已领取限购码)
|
421
|
case 6: // 开售前,即将开售(用户已领取限购码)
|