修改显示

master
夜笙歌 6 months ago
parent 1a59bc3c69
commit 048c85e22f

@ -1,5 +1,5 @@
<template>
<div>
<div class="content">
<div class="banner">
<el-image
style="width: 100%; height: 100%;position:absolute;top: 0;left: 0;"
@ -126,4 +126,12 @@ export default {
width: 100%;
background-color: #1d3348;
}
.content{
text-align: left;
.info{
/deep/ img{
max-width: 100%;
}
}
}
</style>

@ -3,7 +3,7 @@
<div class="title">PRODUCT CENTER</div>
<div class="subTitle">产品中心</div>
<div class="productList">
<div v-for="i in productList" class="productItem">
<div v-for="i in productList" class="productItem" @click="toLink(i)">
<div class="imageArea">
<el-image
style="width: 100%;height: 100%"
@ -40,6 +40,11 @@ export default {
this.getData()
},
methods:{
toLink(e){
this.$router.push('/productCenter/industrialInternet?portalConfigTypeId='+e.configTypeId)
console.log(e.configTypeId)
},
getData(){
getPortalConfigTypeList({
configTypeClassfication:1,
@ -47,6 +52,7 @@ export default {
pageNum:1,
pageSize:111
}).then(e=>{
console.log(e)
this.productList = e.rows
})
}

Loading…
Cancel
Save