feat: ✨ 买家端查看商品详情新增商品参数功能,修复几个已知的bug
parent
4b635735ae
commit
ffe03fd785
|
@ -18,6 +18,15 @@
|
||||||
<FormItem label="商品卖点">
|
<FormItem label="商品卖点">
|
||||||
{{ goods.sellingPoint }}
|
{{ goods.sellingPoint }}
|
||||||
</FormItem>
|
</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>
|
</div>
|
||||||
<h4>商品交易信息</h4>
|
<h4>商品交易信息</h4>
|
||||||
<div class="form-item-view">
|
<div class="form-item-view">
|
||||||
|
|
|
@ -298,7 +298,7 @@
|
||||||
<!-- {{item.url}} -->
|
<!-- {{item.url}} -->
|
||||||
<div style="width:100%;display:flex;" v-for="(item, index) in listImages.images" :key="index">
|
<div style="width:100%;display:flex;" v-for="(item, index) in listImages.images" :key="index">
|
||||||
<img style="width:100px;flex:1;margin-top:10px;cursor:pointer;" :src="item.url"
|
<img style="width:100px;flex:1;margin-top:10px;cursor:pointer;" :src="item.url"
|
||||||
@click="getImages(item.url)" />
|
@click="handleView(item.url)" />
|
||||||
</div>
|
</div>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -335,6 +335,7 @@ export default {
|
||||||
this.selectDate = null;
|
this.selectDate = null;
|
||||||
this.searchForm.startDate = "";
|
this.searchForm.startDate = "";
|
||||||
this.searchForm.endDate = "";
|
this.searchForm.endDate = "";
|
||||||
|
this.searchForm.orderType = "NORMAL",
|
||||||
// 重新加载数据
|
// 重新加载数据
|
||||||
this.getDataList();
|
this.getDataList();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue