Fix:3292 【商城小程序】搜索页价格未超过5位数的不要换行

This commit is contained in:
modendeveloper
2025-03-01 17:16:34 +08:00
parent f8e83800bb
commit d07fc96efc
+3 -3
View File
@@ -97,13 +97,13 @@
</view>
<view class="info">
<view class="name more-t">
{{ good.productName }}
{{ good.productName }}
</view>
<view class="price-wrap">
<view class="price-wrap " :class="{'v12-align-center' : ('' + good.price).length < 5 && ('' + good.otPrice).length < 5}">
<view class="price">
{{ good.price }}
</view>
<view class="ot-price">
<view class="ot-price" :class="{'v12-ml-1' : ('' + good.price).length < 5 && ('' + good.otPrice).length < 5}">
{{ good.otPrice }}
</view>
</view>