...
|
...
|
@@ -78,7 +78,11 @@ function render(data) { |
|
|
$chosePanel.find('.text-info>.name').text(cartInfo.name);
|
|
|
$chosePanel.find('.sale-price').text(cartInfo.salePrice);
|
|
|
if (!cartInfo.price) {
|
|
|
$chosePanel.find('.sale-price').addClass('no-price');
|
|
|
if (data.isSecKill === 'Y') {
|
|
|
$('.price').append('<span class="market-price">' + cartInfo.salePrice + '</span>');
|
|
|
} else {
|
|
|
$chosePanel.find('.sale-price').addClass('no-price');
|
|
|
}
|
|
|
} else {
|
|
|
$chosePanel.find('.market-price').text(cartInfo.price).removeClass(dbClass);
|
|
|
}
|
...
|
...
|
|