diff --git a/pages/goods/index.vue b/pages/goods/index.vue index 23946f6..30f9949 100644 --- a/pages/goods/index.vue +++ b/pages/goods/index.vue @@ -32,9 +32,12 @@ - - {{ fen2yuan(state.selectedSku.price || state.goodsInfo.price) }} + + {{ fen2yuan(state.goodsInfo.paidMemberPrice) }} + + {{ 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 2d86ee4..58b531c 100644 --- a/sheep/components/s-goods-column/s-goods-column.vue +++ b/sheep/components/s-goods-column/s-goods-column.vue @@ -35,9 +35,12 @@ @@ -137,9 +140,12 @@ @@ -218,16 +224,19 @@ + (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) }} @@ -292,10 +301,19 @@ diff --git a/sheep/components/s-select-sku/s-select-sku.vue b/sheep/components/s-select-sku/s-select-sku.vue index 4278720..90961db 100644 --- a/sheep/components/s-select-sku/s-select-sku.vue +++ b/sheep/components/s-select-sku/s-select-sku.vue @@ -15,9 +15,12 @@ {{ goodsInfo.name }} - - {{ fen2yuan(state.selectedSku.price || goodsInfo.price) }} + + {{ fen2yuan(goodsInfo.paidMemberPrice) }} + + {{ fen2yuan(state.selectedSku.price || goodsInfo.price) }} + {{ formatStock('exact', state.selectedSku.stock || goodsInfo.stock) }}