Fix:客服消息商品展示价格面议

This commit is contained in:
linxi
2025-04-14 10:51:42 +08:00
parent fdcdfc505f
commit aa58754f1c
2 changed files with 11 additions and 4 deletions
+3 -2
View File
@@ -817,7 +817,7 @@ export default {
}) })
}, },
goRoom() { goRoom() {
console.log(this.systemStore); console.log(this.storeInfo);
const params = { const params = {
goodsId: this.id, goodsId: this.id,
goodsName: this.attr.productSelect.store_name, goodsName: this.attr.productSelect.store_name,
@@ -826,7 +826,8 @@ export default {
seckillId: this.activityId, seckillId: this.activityId,
cover: this.attr.productSelect.image, cover: this.attr.productSelect.image,
goodsData: '', goodsData: '',
seckillData: '' seckillData: '',
isNegotiable: this.storeInfo.isNegotiable
} }
const name = this.storeInfo.merName const name = this.storeInfo.merName
uni.navigateTo({ uni.navigateTo({
+8 -2
View File
@@ -37,9 +37,12 @@
{{ wsJson(item.msg_content).skuStr }} {{ wsJson(item.msg_content).skuStr }}
</view> </view>
</view> </view>
<view class="price v12-primary-text v12-font-24"> <view class="price v12-primary-text v12-font-24" v-if="wsJson(item.msg_content).isNegotiable !== 1">
{{ wsJson(item.msg_content).price }} {{ wsJson(item.msg_content).price }}
</view> </view>
<view class="price v12-primary-text v12-font-24" v-else>
价格面议
</view>
</view> </view>
</view> </view>
</view> </view>
@@ -60,9 +63,12 @@
{{ params.skuStr }} {{ params.skuStr }}
</view> </view>
</view> </view>
<view class="price v12-primary-text v12-font-24"> <view class="price v12-primary-text v12-font-24" v-if="params.isNegotiable !== 1">
{{ params.price }} {{ params.price }}
</view> </view>
<view class="price v12-primary-text v12-font-24" v-else>
价格面议
</view>
</view> </view>
</view> </view>
</view> </view>