|
|
|
|
@ -3,12 +3,14 @@
|
|
|
|
|
<div class="title">PRODUCT CENTER</div>
|
|
|
|
|
<div class="subTitle">产品中心</div>
|
|
|
|
|
<div class="productList">
|
|
|
|
|
<div v-for="i in productList" class="productItem" @click="toLink(i)">
|
|
|
|
|
<template v-for="(i,k) in productList">
|
|
|
|
|
|
|
|
|
|
<div class="productItem" @click="toLink(i)">
|
|
|
|
|
<div class="imageArea">
|
|
|
|
|
<el-image
|
|
|
|
|
style="width: 100%;height: 100%"
|
|
|
|
|
:src="i.homeConfigTypePic"
|
|
|
|
|
fit="contain"></el-image>
|
|
|
|
|
style="width: 100%;height: 100%"
|
|
|
|
|
:src="i.homeConfigTypePic"
|
|
|
|
|
fit="contain"></el-image>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="imageAreaModel">
|
|
|
|
|
<span>
|
|
|
|
|
@ -20,7 +22,10 @@
|
|
|
|
|
{{ i.homeConfigTypeName }}
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<br v-if="k === 3"/>
|
|
|
|
|
</template>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
@ -33,7 +38,45 @@ export default {
|
|
|
|
|
name: 'ProductCenter',
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
productList:[]
|
|
|
|
|
productList: [
|
|
|
|
|
{
|
|
|
|
|
homeConfigTypePic: '',
|
|
|
|
|
configTypeId: '11',
|
|
|
|
|
homeConfigTypeName: '轮胎RFID',
|
|
|
|
|
configTypeDesc: '轮胎RFID是一种基于RFID技术的轮胎识别系统,它可以通过RFID标签读取轮胎的信息,实现轮胎的识别、定位、监控等功能。',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
homeConfigTypePic: '',
|
|
|
|
|
configTypeId: '12',
|
|
|
|
|
homeConfigTypeName: '超高频RFID',
|
|
|
|
|
configTypeDesc: '轮胎RFID是一种基于RFID技术的轮胎识别系统,它可以通过RFID标签读取轮胎的信息,实现轮胎的识别、定位、监控等功能。',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
homeConfigTypePic: '',
|
|
|
|
|
configTypeId: '13',
|
|
|
|
|
homeConfigTypeName: '高频RFID',
|
|
|
|
|
configTypeDesc: '轮胎RFID是一种基于RFID技术的轮胎识别系统,它可以通过RFID标签读取轮胎的信息,实现轮胎的识别、定位、监控等功能。',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
homeConfigTypePic: '',
|
|
|
|
|
configTypeId: '14',
|
|
|
|
|
homeConfigTypeName: '传感器',
|
|
|
|
|
configTypeDesc: '轮胎RFID是一种基于RFID技术的轮胎识别系统,它可以通过RFID标签读取轮胎的信息,实现轮胎的识别、定位、监控等功能。',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
homeConfigTypePic: '',
|
|
|
|
|
configTypeId: '15',
|
|
|
|
|
homeConfigTypeName: '物联终端',
|
|
|
|
|
configTypeDesc: '轮胎RFID是一种基于RFID技术的轮胎识别系统,它可以通过RFID标签读取轮胎的信息,实现轮胎的识别、定位、监控等功能。',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
homeConfigTypePic: '',
|
|
|
|
|
configTypeId: '16',
|
|
|
|
|
homeConfigTypeName: '工业软件',
|
|
|
|
|
configTypeDesc: '轮胎RFID是一种基于RFID技术的轮胎识别系统,它可以通过RFID标签读取轮胎的信息,实现轮胎的识别、定位、监控等功能。',
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
mounted(){
|
|
|
|
|
@ -41,18 +84,18 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
methods:{
|
|
|
|
|
toLink(e){
|
|
|
|
|
this.$router.push('/productCenter?id=' + e.configTypeId)
|
|
|
|
|
this.$router.push('/productCenter#item' + e.configTypeId)
|
|
|
|
|
console.log(e.configTypeId)
|
|
|
|
|
},
|
|
|
|
|
getData(){
|
|
|
|
|
getPortalConfigTypeList({
|
|
|
|
|
configTypeClassfication:1,
|
|
|
|
|
parentId:0,
|
|
|
|
|
pageNum:1,
|
|
|
|
|
pageSize:111
|
|
|
|
|
}).then(e=>{
|
|
|
|
|
this.productList = e.rows
|
|
|
|
|
})
|
|
|
|
|
// getPortalConfigTypeList({
|
|
|
|
|
// configTypeClassfication:1,
|
|
|
|
|
// parentId:0,
|
|
|
|
|
// pageNum:1,
|
|
|
|
|
// pageSize:111
|
|
|
|
|
// }).then(e=>{
|
|
|
|
|
// this.productList = e.rows
|
|
|
|
|
// })
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@ -90,6 +133,7 @@ export default {
|
|
|
|
|
margin: 0 1vw;
|
|
|
|
|
box-shadow: 0 0 10px #0003;
|
|
|
|
|
position: relative;
|
|
|
|
|
margin-top: 2vw;
|
|
|
|
|
|
|
|
|
|
.imageArea {
|
|
|
|
|
width: 12.5vw;
|
|
|
|
|
|