Feat(商品详情):店铺资料通过配置控制是否显示

This commit is contained in:
lifizer
2026-09-08 10:09:47 +08:00
parent 452f3e3327
commit 8c00c82e3f
+3 -1
View File
@@ -309,7 +309,7 @@
</view> </view>
</view> </view>
<!-- v6服务项目结束 --> <!-- v6服务项目结束 -->
<view class="store-section goods-section" v-if="systemStore"> <view class="store-section goods-section" v-if="systemStore && appProductHideMerchant !== '1'">
<view class="flex jc-between ai-center"> <view class="flex jc-between ai-center">
<view class="title bold flex ai-center"> <view class="title bold flex ai-center">
<view> <view>
@@ -579,6 +579,7 @@ export default {
mixins: [pageListenMixins], mixins: [pageListenMixins],
data: function () { data: function () {
return { return {
appProductHideMerchant: '0',
isGift: false, isGift: false,
giftBg: '', giftBg: '',
// 商品信息是否展开 // 商品信息是否展开
@@ -1210,6 +1211,7 @@ export default {
this.posterData.price = this.storeInfo.price this.posterData.price = this.storeInfo.price
this.posterData.code = this.storeInfo.codeBase this.posterData.code = this.storeInfo.codeBase
this.systemStore = data.systemStore this.systemStore = data.systemStore
this.appProductHideMerchant = data.appProductHideMerchant
const good_list = data.goodList || [] const good_list = data.goodList || []
const goodArray = [] const goodArray = []
const count = Math.ceil(good_list.length / 6) const count = Math.ceil(good_list.length / 6)