Fix:3787 【商城小程序】首页尖货推荐—开启了价格面议的商品价格区域没有显示“价格面议”
This commit is contained in:
@@ -65,9 +65,21 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="price-wrap">
|
<view class="price-wrap">
|
||||||
<view class="price">
|
<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>
|
||||||
<view class="btn" @click.stop="$emit('add', item)">
|
<view v-if="item.isNegotiable === 0" class="btn" @click.stop="$emit('add', item)">
|
||||||
<image
|
<image
|
||||||
:src="webUrl + '/home/icon-cart.png'"
|
:src="webUrl + '/home/icon-cart.png'"
|
||||||
class="img"
|
class="img"
|
||||||
|
|||||||
Reference in New Issue
Block a user