领取数量调整描述为已领取数量,明确含义。

购物车无法渲染哪个商品参与了满减活动问题处理
master
Chopper 2021-08-26 11:15:07 +08:00
parent 8d60a40688
commit abaefc59a6
4 changed files with 16 additions and 4 deletions

View File

@ -8,7 +8,7 @@
<div v-else>{{end}}</div>
</div>
<span v-else class="cart-promotion">
<span v-if="end === ''"><span>{{ hours }}</span> : <span>{{ minutes }}</span> : <span>{{ seconds }}</span></span>
<span v-if="end === ''"><span>{{ hours }}</span> : <span>{{ minutes }}</span> : <span>{{ seconds }}</span></span>
<span v-else></span>
</span>
</div>

View File

@ -75,6 +75,18 @@
<promotion :time="promotion.endTime" type="cart"></promotion>
</div>
</template>
<template v-for="(promotion, promotionIndex) in goods.promotions">
<div class="promotion" :key="promotionIndex" v-if="promotion.promotionType === 'FULL_DISCOUNT'">
<span>满优惠活动</span>
<promotion :time="promotion.endTime" type="cart"></promotion>
</div>
</template>
<template v-for="(promotion, promotionIndex) in goods.promotions">
<div class="promotion" :key="promotionIndex" v-if="promotion.promotionType === 'COUPON'">
<span>优惠券</span>
<promotion :time="promotion.endTime" type="cart"></promotion>
</div>
</template>
</div>
</div>
<div class="width_150">

View File

@ -95,7 +95,7 @@ export default {
},
{
title: "领取数量/总数量",
title: "领取数量/总数量",
key: "publishNum",
width: 130,
render: (h, params) => {

View File

@ -92,7 +92,7 @@ export default {
},
{
title: "领取数量/总数量",
title: "领取数量/总数量",
key: "publishNum",
render: (h, params) => {
return h(