Authored by 刘传洋

m

... ... @@ -92,11 +92,11 @@ GoodsWinAction = {
$this.siblings('li').removeClass('active');
$this.addClass('active');
capi.getProductInfo(id, skn).then(res => {
capi.getProductInfo(id, skn).then(function(res) {
// 赠品价格为 0, 加价购价格为 活动价
if ($this.data('isgift')) {
res.salePrice = 0;
res.salePrice = '¥0.00';
} else if ($this.data('ispricegift')) {
if ($this.data('subjoinprice')) {
res.salePrice = '¥' + $this.data('subjoinprice');
... ...
... ... @@ -157,7 +157,7 @@ $('.bottom-tab-slide').on('click', '.bottom-title', function() {
function showTogetherSelWin(id, skn) {
capi.getProductInfo(id, skn).then(res => {
capi.getProductInfo(id, skn).then(function(res) {
$goodsSelWin.find('.detail-body').empty().append(productInfoTpl(res));
});
... ...