|
|
|
@ -104,11 +104,7 @@
|
|
|
|
|
<div class="main__details-msg">
|
|
|
|
|
<div class="main__details-msg--price flex flex-middle">
|
|
|
|
|
<span class="msg-txt">售价</span>
|
|
|
|
|
<strong class="msg-price">{{
|
|
|
|
|
detailData.productActivityVO.isStartActivity
|
|
|
|
|
? detailData.productActivityVO.activityPrice
|
|
|
|
|
: detailData.startingPrice
|
|
|
|
|
}}</strong>
|
|
|
|
|
<strong class="msg-price">{{ getPrice }}</strong>
|
|
|
|
|
<div
|
|
|
|
|
v-if="
|
|
|
|
|
detailData.productActivityVO.isActivity &&
|
|
|
|
@ -337,6 +333,15 @@ export default {
|
|
|
|
|
const stock = this.curSku.stock;
|
|
|
|
|
return singleBuyLimit ? Math.min(singleBuyLimit, stock || 1) : stock;
|
|
|
|
|
},
|
|
|
|
|
getPrice() {
|
|
|
|
|
if (this.curSku.sellPrice) {
|
|
|
|
|
return this.curSku.sellPrice;
|
|
|
|
|
} else {
|
|
|
|
|
return this.detailData.productActivityVO.isStartActivity
|
|
|
|
|
? this.detailData.productActivityVO.activityPrice
|
|
|
|
|
: this.detailData.startingPrice;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
onShowService() {
|
|
|
|
|