Fix:3477 【商城小程序】开启了价格面议的商品价格区域需显示为【价格面议】(页面:搜索结果列表、商详页点击库存后弹出的规格弹窗、店铺详情页商品列表、商品收藏列表、商品足迹、文玩商品列表)

This commit is contained in:
modendeveloper
2025-04-01 12:40:53 +08:00
parent f2fba444a0
commit 3bbd796a85
7 changed files with 17 additions and 6 deletions
+1
View File
@@ -482,6 +482,7 @@
:attr="attr"
:cartNum="cart_num"
@changeFun="changeFun"
:isNegotiable="storeInfo.isNegotiable === 1"
@gift="gift"
:isGift="isGift"
/>
+2 -1
View File
@@ -73,7 +73,7 @@
<view class="text">
<view class="name more-t">{{ item.storeName }}</view>
<view class="vip acea-row row-between-wrapper">
<view class="ai-end" :class="{'flex': force2Decimal(item.price).length < 6}">
<view v-if="!item.isNegotiable" class="ai-end" :class="{'flex': force2Decimal(item.price).length < 6}">
<view class="money">
<text class="num" v-if="item.vipPrice && item.vipPrice > 0">{{ force2Decimal(item.vipPrice) }}</text>
@@ -81,6 +81,7 @@
</view>
<view class="vip-money">{{ force2Decimal(item.otPrice) }}</view>
</view>
<view v-else class="money">价格面议</view>
<view class="" @click.stop="addToCart(item)">
<image class="logo" :src="webUrl+'/orderIcon/组 355.png'" mode="" style="margin-right:0; width: 34rpx; height:34rpx"/>
</view>
+2 -1
View File
@@ -45,7 +45,7 @@
</view>
<view class="more-t v12-font-20 v12-mt-2">{{ historyItem.storeName }}</view>
<view class="v12-justify-between v12-mt-2 price">
<view class="v12-font-bold v12-primary-text" :class="{'v12-align-center': (historyItem.price).toString().length < 5 && (historyItem.otPrice).toString().length < 5 }">
<view v-if="!historyItem.isNegotiable" class="v12-font-bold v12-primary-text" :class="{'v12-align-center': (historyItem.price).toString().length < 5 && (historyItem.otPrice).toString().length < 5 }">
<text class="v12-font-16"></text>
<text class="v12-font-24 v12-mr-1">{{ historyItem.price }}</text>
<view class="ot-price v12-font-weight-400">
@@ -54,6 +54,7 @@
<view class="under-line"></view>
</view>
</view>
<view v-else class="v12-font-26 v12-primary-text v12-font-bold">价格面议</view>
<image
:src="webUrl+'/orderIcon/组 355.png'"
class="icon"