...
|
...
|
@@ -39,6 +39,10 @@ let _replaceData = function(el, cond, data, wh, fp, lastSoldTpl) { |
|
|
el.find('.sale-price').html(`¥${data.sales_price}`);
|
|
|
el.data('skn', data.product_skn);
|
|
|
|
|
|
if (data.salesPriceClass) {
|
|
|
el.find('.sale-price').addClass(data.salesPriceClass);
|
|
|
}
|
|
|
|
|
|
if (lastSoldTpl && data.total_sales_num) {
|
|
|
el.find('.sold-num-text').html(lastSoldTpl.replace('{{soldNum}}', data.total_sales_num));
|
|
|
} else {
|
...
|
...
|
|