feat: 买家端查看商品详情新增商品参数功能,修复几个已知的bug

This commit is contained in:
Yer
2023-09-13 16:06:42 +08:00
parent 4b635735ae
commit ffe03fd785
3 changed files with 11 additions and 1 deletions

View File

@@ -18,6 +18,15 @@
<FormItem label="商品卖点">
{{ goods.sellingPoint }}
</FormItem>
<FormItem label="商品参数">
<div v-if="goods.goodsParamsDTOList && goods.goodsParamsDTOList.length" v-for="(item,index) in goods.goodsParamsDTOList" :key="index">
<div style="margin-bottom: 10px; display: flex; align-items: center;" >
{{ item.groupName }} : <tag v-for="(child,i) in item.goodsParamsItemDTOList" :key="i">
{{ child.paramName }} - {{ child.paramValue }}
</tag>
</div>
</div>
</FormItem>
</div>
<h4>商品交易信息</h4>
<div class="form-item-view">