【功能修复】修正“暂无可用优惠券”字体颜色

pull/96/head
卢越 2024-09-08 10:06:15 +08:00
parent 5f8ed35521
commit dbc192faa7
1 changed files with 5 additions and 1 deletions

View File

@ -122,7 +122,11 @@
</text> </text>
<text <text
class="item-value" class="item-value"
:class="state.couponInfo.length > 0 ? 'text-red' : 'text-disabled'" :class="
state.couponInfo.filter((coupon) => coupon.match).length > 0
? 'text-red'
: 'text-disabled'
"
v-else v-else
> >
{{ {{