diff --git a/pages/goods/components/detail/detail-cell-sku.vue b/pages/goods/components/detail/detail-cell-sku.vue index 3ba9739a..31a8b462 100644 --- a/pages/goods/components/detail/detail-cell-sku.vue +++ b/pages/goods/components/detail/detail-cell-sku.vue @@ -1,10 +1,10 @@ diff --git a/pages/goods/index.vue b/pages/goods/index.vue index 1661dfcb..3e4badc0 100644 --- a/pages/goods/index.vue +++ b/pages/goods/index.vue @@ -12,24 +12,25 @@ - + - {{ state.selectedSkuPrice.price || formatPrice(state.goodsInfo.price) }} + {{ fen2yuan(state.selectedSku.price || state.goodsInfo.price) }} - - {{ state.selectedSkuPrice.original_price || state.goodsInfo.original_price }} + + {{ fen2yuan(state.selectedSku.marketPrice || state.goodsInfo.marketPrice) }} - {{ formatSales(state.goodsInfo.sales_show_type, state.goodsInfo.sales) }} + {{ formatSales('exact', state.goodsInfo.salesCount) }} +
@@ -40,27 +41,29 @@
+ 领券
- {{ state.goodsInfo.title }} - {{ state.goodsInfo.subtitle }} + {{ state.goodsInfo.name }} + {{ state.goodsInfo.introduction }}
- + + + @buy="onBuy" @change="onSkuChange" @close="state.showSelectSku = false" />
@@ -73,7 +76,6 @@ -