修改菜单

master
夜笙歌 3 weeks ago
parent a1aff06239
commit 0283603627

@ -9,7 +9,7 @@
<div class="name">技术参数</div>
</div>
<div class="left">
<div v-for="i in contentList.hwProductInfoDetailList" style="margin-bottom: 40px;width: 100%">
<div v-for="i in contentList" style="margin-bottom: 40px;width: 100%">
<div class="info2">
<div class="name2">{{ i.productInfoDetailTitle }}</div>
</div>
@ -29,7 +29,7 @@
<div class="info2">
<div class="name2">产品图示</div>
</div>
<div v-for=" i in ((contentList||{}).hwProductInfoDetailList||[]).map(e=>e.productInfoDetailPic)">
<div v-for=" i in (contentList||[]).map(e=>e.productInfoDetailPic)">
<img :src="i.productInfoDetailPic" alt=""
style="width: 100%">
</div>
@ -83,7 +83,7 @@ export default {
tabsActive: 0,
tabsList: [],
configTypeId: 0,
contentList: {}
contentList: []
}
},
mounted() {
@ -101,7 +101,7 @@ export default {
configTypeId: this.$route.query.id,
// parentId: 0
}).then(e => {
this.contentList = e.data.filter(v => v.configModal === '13').sort((a, b) => a.productInfoOrder - b.productInfoOrder)?.[0]
this.contentList = e.data?.[0]?.hwProductInfoDetailList.filter(v => v.configModal === '13').sort((a, b) => a.productInfoOrder - b.productInfoOrder)?.[0]
console.log(this.contentList)
})
},

Loading…
Cancel
Save