【新增】普通商品详情新增显示代理商价格体系,只有登陆后的代理商才会显示。

This commit is contained in:
大灰灰
2022-11-13 00:20:02 +08:00
parent ef30d77af2
commit e171a77976

View File

@@ -126,7 +126,7 @@
<!--代理价格体系-->
<view class="coreshop-margin-left-8 coreshop-margin-right-8 coreshop-margin-top-12 coreshop-padding-8 coreshop-border-radius-9 coreshop-bg-white" v-if="userAgentGrade && userAgent">
<view class="coreshop-margin-left-8 coreshop-margin-right-8 coreshop-margin-top-12 coreshop-padding-8 coreshop-border-radius-9 coreshop-bg-white" v-if="userAgent && userAgentGrade">
<view class="coreshop-flex coreshop-flex-wrap coreshop-font-sm coreshop-flex-direction-row">
<view class="coreshop-basis-4">
<text class="coreshop-text-black coreshop-font-weight-bold coreshop-font-15">代理价格</text>
@@ -730,12 +730,8 @@
console.log(res.otherData.agentProducts);
_this.agentProducts = res.otherData.agentProducts;
}
if (res.otherData.userAgentGrade) {
_this.userAgentGrade = res.otherData.userAgentGrade;
}
if (res.otherData.userAgent) {
_this.userAgent = res.otherData.userAgent;
}
_this.userAgentGrade = res.otherData.userAgentGrade;
_this.userAgent = res.otherData.userAgent;
//价格区间
if (res.data.minPrice != res.data.maxPrice) {