Fix:3787 【商城小程序】首页尖货推荐—开启了价格面议的商品价格区域没有显示“价格面议”

This commit is contained in:
linxi
2025-07-31 11:47:40 +08:00
parent 42a5ef715a
commit 17f6867202
+14 -2
View File
@@ -65,9 +65,21 @@
</view>
<view class="price-wrap">
<view class="price">
<text class="price-txt price-red">{{ item[priceKey] }}</text>
<view
v-if="item.isNegotiable === 1"
class="v12-primary-text v12-font-28 v12-font-weight"
>
价格面议
</view>
<text
v-else
class="price-txt price-red">
<text class="v12-font-20">
</text>
{{ item[priceKey] }}</text>
</view>
<view class="btn" @click.stop="$emit('add', item)">
<view v-if="item.isNegotiable === 0" class="btn" @click.stop="$emit('add', item)">
<image
:src="webUrl + '/home/icon-cart.png'"
class="img"