Authored by ccbikai(👎🏻🍜)

Merge remote-tracking branch 'origin/feature/13418'

... ... @@ -90,7 +90,7 @@ const _procShowStatus = (data, showStatus, isBeginSale) => {
break;
case 4: // 开售后,立即购买(用户已领取限购码)
data.gotCode = true;
data.cartInfo.canBuyLimit = true;
data.cartInfo.canNotBuy = true;
break;
case 5: // 开售前,限购码已被抢光(用户未领取限购码)
data.codeEmpty = true;
... ...
... ... @@ -179,8 +179,8 @@
<a href="javascript:;" class="sold-out limit">即将发售</a>
{{/if}}
{{#if canBuyLimit}}
<a href="javascript:;" id="addtoCart" class="addto-cart">立即购买</a>
{{#if canNotBuy}}
<a href="javascript:;" class="addto-cart can-not-buy">立即购买</a>
{{/if}}
{{#if noLimitCode}}
... ...
... ... @@ -768,6 +768,10 @@ $basicBtnC: #eb0313;
line-height: 80px;
}
.can-not-buy {
background-color: #ccc;
}
.sold-out {
background-color: #ccc;
}
... ...