diff --git a/pages/goods/index.vue b/pages/goods/index.vue index 30f9949..23946f6 100644 --- a/pages/goods/index.vue +++ b/pages/goods/index.vue @@ -32,12 +32,9 @@ - - {{ fen2yuan(state.goodsInfo.paidMemberPrice) }} + + {{ fen2yuan(state.selectedSku.price || state.goodsInfo.price) }} - - {{ fen2yuan(state.selectedSku.price || state.goodsInfo.price) }} - {{ fen2yuan(state.selectedSku.marketPrice || state.goodsInfo.marketPrice) }} diff --git a/sheep/components/s-goods-column/s-goods-column.vue b/sheep/components/s-goods-column/s-goods-column.vue index 58b531c..2d86ee4 100644 --- a/sheep/components/s-goods-column/s-goods-column.vue +++ b/sheep/components/s-goods-column/s-goods-column.vue @@ -35,12 +35,9 @@ @@ -140,12 +137,9 @@ @@ -224,19 +218,16 @@ + (goodsFields.original_price?.show || goodsFields.marketPrice?.show) && + (data.original_price > 0 || data.marketPrice > 0) + " class="goods-origin-price ss-m-t-16 font-OPPOSANS ss-flex" :style="[{ color: originPriceColor }]"> {{ priceUnit }} {{ fen2yuan(data.marketPrice) }} @@ -301,19 +292,10 @@ diff --git a/sheep/components/s-select-sku/s-select-sku.vue b/sheep/components/s-select-sku/s-select-sku.vue index 90961db..4278720 100644 --- a/sheep/components/s-select-sku/s-select-sku.vue +++ b/sheep/components/s-select-sku/s-select-sku.vue @@ -15,12 +15,9 @@ {{ goodsInfo.name }} - - {{ fen2yuan(goodsInfo.paidMemberPrice) }} + + {{ fen2yuan(state.selectedSku.price || goodsInfo.price) }} - - {{ fen2yuan(state.selectedSku.price || goodsInfo.price) }} - {{ formatStock('exact', state.selectedSku.stock || goodsInfo.stock) }}