Commit c40bdd5c authored by 华国豪's avatar 华国豪 🙄

no message

parent ba8e3e9e
......@@ -46,77 +46,14 @@
</el-row>
<recommend/>
</div>
<div class="_block">
<div class="_block" v-for="item in ClassifyGoodsList">
<el-row class="tit">
<div>
<img src="../../assets/img/ps/shafa.png" alt="">
<p>家纺家饰</p>
</div>
</el-row>
<commodity2/>
</div>
<div class="_block">
<el-row class="tit">
<div>
<img src="../../assets/img/ps/jiaju.png" alt="">
<p>家居日用</p>
</div>
</el-row>
<commodity2/>
</div>
<div class="_block">
<el-row class="tit">
<div>
<img src="../../assets/img/ps/chuju.png" alt="">
<p>厨具锅具</p>
</div>
</el-row>
<commodity2/>
</div>
<div class="_block">
<el-row class="tit">
<div>
<img src="../../assets/img/ps/canju.png" alt="">
<p>餐具水具</p>
</div>
</el-row>
<commodity2/>
</div>
<div class="_block">
<el-row class="tit">
<div>
<img src="../../assets/img/ps/shuma.png" alt="">
<p>数码生活</p>
</div>
</el-row>
<commodity2/>
</div>
<div class="_block">
<el-row class="tit">
<div>
<img src="../../assets/img/ps/muying.png" alt="">
<p>母婴亲子</p>
</div>
</el-row>
<commodity2/>
</div>
<div class="_block">
<el-row class="tit">
<div>
<img src="../../assets/img/ps/xiangbao.png" alt="">
<p>箱包手袋</p>
</div>
</el-row>
<commodity2/>
</div>
<div class="_block">
<el-row class="tit">
<div>
<img src="../../assets/img/ps/shishang.png" alt="">
<p>个护时尚</p>
</div>
</el-row>
<commodity2/>
<commodity2 :data="item"/>
</div>
</el-row>
</el-row>
......@@ -138,8 +75,26 @@ export default {
},
data(){
return{
ClassifyGoodsList: [],
}
},methods: {
getClassifyGoods: function () {
this.apiJavaPost(
"/api/goodsMarket/getClassifyGoods",
{id: ''},
res => {
if (res.data.resultCode === 1) {
this.ClassifyGoodsList = res.data.data;
} else {
this.Error(res.data.message);
}
},
null
);
}
},
mounted() {
this.getClassifyGoods()
}
}
</script>
......@@ -77,8 +77,7 @@
export default {
components: {
},
props:{
},
props:['data'],
data(){
return{
list: [1,2,3,4,5,6,7,8]
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment