Authored by lijing

尺寸选择页吊牌价显示

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