uniapp【优化】:商品详情品牌显示优化

This commit is contained in:
花城
2024-11-25 16:31:51 +08:00
parent b8436adf56
commit 11cc885472

View File

@@ -33,7 +33,7 @@
<view class="brief">{{ props.goodsDetailData?.brief }}</view>
</view>
<view class="tag-box" v-if="props.goodsDetailData?.brand || props.goodsDetailData?.labels?.length > 0">
<view class="m-r-10 m-b-10">
<view class="m-r-10 m-b-10" v-if="props.goodsDetailData?.brand?.name">
<uv-tags :text="props.goodsDetailData?.brand?.name"></uv-tags>
</view>
<view class="m-r-10 m-b-10" v-for="item, index in props.goodsDetailData?.labels" :key="index">