...
|
...
|
@@ -127,7 +127,7 @@ $(window).on('seckill', function(event, detailData) { |
|
|
'</div>'
|
|
|
);
|
|
|
$('.sold-out').hide();
|
|
|
$('.cart-bar').append('<a href="javascript:;" class="sold-out">即将开抢</a>');
|
|
|
$('.btn-c').append('<a href="javascript:;" class="sold-out">即将开抢</a>');
|
|
|
$('.addto-cart').hide();
|
|
|
$('.cart-bar').show();
|
|
|
$('.current-price').show();
|
...
|
...
|
@@ -190,7 +190,7 @@ $(window).on('seckill', function(event, detailData) { |
|
|
}
|
|
|
if (seckillNum === 0) {
|
|
|
$('.sold-out').hide();
|
|
|
$('.cart-bar').append('<a href="javascript:;" class="sold-out">已售罄</a>');
|
|
|
$('.btn-c').append('<a href="javascript:;" class="sold-out">已售罄</a>');
|
|
|
$('.addto-cart').hide();
|
|
|
}
|
|
|
$('.current-price').show();
|
...
|
...
|
|