diff --git a/pages/goods/groupon.vue b/pages/goods/groupon.vue
index 3f464ed9..ae4ea0d6 100644
--- a/pages/goods/groupon.vue
+++ b/pages/goods/groupon.vue
@@ -80,7 +80,7 @@
-
+
@@ -90,6 +90,7 @@
{{
- fen2yuan(state.activity.price || state.goodsInfo.price)
+ fen2yuan(state.selectedSku.price * state.selectedSku.count || state.activity.price * state.selectedSku.count || state.goodsInfo.price * state.selectedSku.count || state.goodsInfo.price)
}}
未开始
已结束
@@ -168,7 +169,7 @@
goodsInfo: {}, // 商品信息
goodsSwiper: [], // 商品轮播图
showSelectSku: false, // 显示规格弹框
- selectedSkuPrice: {}, // 选中的规格价格
+ selectedSku: {}, // 选中的规格价格
activity: {}, // 团购活动
grouponId: 0, // 团购ID
grouponNum: 0, // 团购人数
@@ -183,7 +184,7 @@
// 规格变更
function onSkuChange(e) {
- state.selectedSkuPrice = e;
+ state.selectedSku = e;
}
function onSkuClose() {
diff --git a/sheep/components/s-select-groupon-sku/s-select-groupon-sku.vue b/sheep/components/s-select-groupon-sku/s-select-groupon-sku.vue
index e2a2950d..6259a088 100644
--- a/sheep/components/s-select-groupon-sku/s-select-groupon-sku.vue
+++ b/sheep/components/s-select-groupon-sku/s-select-groupon-sku.vue
@@ -22,7 +22,7 @@