fix:修复【C端】商品列表,价格重叠展示。

This commit is contained in:
wangsongsole 2022-10-11 18:31:47 +08:00
parent 1b8c953fb1
commit 96113e6519
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@
:class="item.stock&&(item.stock<0||item.available!=1)&&(item.available!=2?'changegray':'')"></img>
</div>
<div class="item-name"
:style="{fontSize:(item.entity.product_name||item.entity.batch_goods_name).length>6?'0.1rem':'0.12rem'}"
:style="{fontSize:(item.entity.product_name||item.entity.batch_goods_name).length>6?'0.08rem':'0.12rem'}"
v-html="item.type==1?item.entity.product_name:item.entity.batch_goods_name"
:class="item.stock&&(item.stock<0||item.available!=1)&&(item.available!=2?'changegray':'')">
</div>