diff --git a/pages/goods/groupon.vue b/pages/goods/groupon.vue
index 948a7111..20372c00 100644
--- a/pages/goods/groupon.vue
+++ b/pages/goods/groupon.vue
@@ -218,6 +218,9 @@
if (isEmpty(state.selectedSkuPrice)) {
return formatPrice(state.goodsInfo.price);
}
+ if(state.grouponNum === 0 && state.grouponType === 'groupon_ladder') {
+ return formatPrice(state.goodsInfo.price)
+ }
if (state.grouponType === 'groupon') {
return state.selectedSkuPrice.groupon_price;
}
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 3a644610..541be7de 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
@@ -15,7 +15,8 @@
{{ goodsInfo.title }}
@@ -180,6 +181,10 @@
if (isEmpty(state.selectedSkuPrice)) {
return formatPrice(props.goodsInfo.price);
}
+ if(state.grouponNum === 0 && activityType === 'groupon_ladder') {
+ return formatPrice(props.goodsInfo.price)
+ }
+
if (activityType === 'groupon') {
return state.selectedSkuPrice.groupon_price;
}
@@ -195,6 +200,9 @@
if (isEmpty(state.selectedSkuPrice)) {
return formatPrice(props.goodsInfo.price);
}
+
+ if(state.grouponNum === 0 && activityType === 'groupon_ladder') return;
+
if (activityType === 'groupon') {
return state.selectedSkuPrice.leader_price;
}
@@ -206,7 +214,7 @@
// 获取阶梯价
function getSkuPriceByLadder() {
- return state.selectedSkuPrice.ladders.find((item) => item.ladder == state.grouponNum);
+ return state.selectedSkuPrice.ladders.find((item) => item.ladder == state.grouponNum);
}
watch(