Authored by htoooth

add status

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