...
|
...
|
@@ -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');
|
...
|
...
|
|