|
|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div>
|
|
|
|
|
<Carousel class="carousel" :bannerList="components.swiper || bannerList"/>
|
|
|
|
|
<Carousel class="carousel" :bannerList="components.swiper "/>
|
|
|
|
|
<ClassicCase class="classicCase" :data="components.classicCaseData ||[]"/>
|
|
|
|
|
<ProductCenter class="productCenter" :data="components.productCenterData ||[]"/>
|
|
|
|
|
<NewsCenter class="newsCenter"/>
|
|
|
|
|
@ -31,27 +31,28 @@ export default {
|
|
|
|
|
mounted() {
|
|
|
|
|
getHwWeb(-1).then(res => {
|
|
|
|
|
this.components = JSON.parse(res?.data?.webJsonString || '{}')
|
|
|
|
|
console.log(this.components)
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
bannerList: [
|
|
|
|
|
{
|
|
|
|
|
portalConfigPic: 'http://www.highwayiot.com/home/2/6/3rrzpl/resource/2018/10/23/5bcedfaf21a51.jpg',
|
|
|
|
|
// portalConfigTitle: '工业物联网定制化解决方案提供商',
|
|
|
|
|
// portalConfigDesc: 'INDUSTRIAL IOT CUSTOMIZATION SOLUTION PROVIDER'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
portalConfigPic: 'http://www.highwayiot.com/home/2/6/3rrzpl/resource/2018/10/26/5bd2d7716deb5.jpg',
|
|
|
|
|
// portalConfigTitle: '工业物联网定制化解决方案提供商',
|
|
|
|
|
// portalConfigDesc: 'INDUSTRIAL IOT CUSTOMIZATION SOLUTION PROVIDER'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
portalConfigPic: 'http://www.highwayiot.com/home/2/6/3rrzpl/resource/2018/10/23/5bcedfa35afa1.jpg',
|
|
|
|
|
// portalConfigTitle: '工业物联网定制化解决方案提供商',
|
|
|
|
|
// portalConfigDesc: 'INDUSTRIAL IOT CUSTOMIZATION SOLUTION PROVIDER'
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
// bannerList: [
|
|
|
|
|
// {
|
|
|
|
|
// portalConfigPic: 'http://www.highwayiot.com/home/2/6/3rrzpl/resource/2018/10/23/5bcedfaf21a51.jpg',
|
|
|
|
|
// portalConfigTitle: '工业物联网定制化解决方案提供商',
|
|
|
|
|
// portalConfigDesc: 'INDUSTRIAL IOT CUSTOMIZATION SOLUTION PROVIDER'
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// portalConfigPic: 'http://www.highwayiot.com/home/2/6/3rrzpl/resource/2018/10/26/5bd2d7716deb5.jpg',
|
|
|
|
|
// portalConfigTitle: '工业物联网定制化解决方案提供商',
|
|
|
|
|
// portalConfigDesc: 'INDUSTRIAL IOT CUSTOMIZATION SOLUTION PROVIDER'
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// portalConfigPic: 'http://www.highwayiot.com/home/2/6/3rrzpl/resource/2018/10/23/5bcedfa35afa1.jpg',
|
|
|
|
|
// portalConfigTitle: '工业物联网定制化解决方案提供商',
|
|
|
|
|
// portalConfigDesc: 'INDUSTRIAL IOT CUSTOMIZATION SOLUTION PROVIDER'
|
|
|
|
|
// },
|
|
|
|
|
// ],
|
|
|
|
|
components: {},
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@ -83,7 +84,8 @@ export default {
|
|
|
|
|
width: 100%;
|
|
|
|
|
background-color: #2e445c;
|
|
|
|
|
}
|
|
|
|
|
.copyright{
|
|
|
|
|
|
|
|
|
|
.copyright {
|
|
|
|
|
width: 100%;
|
|
|
|
|
background-color: #1d3348;
|
|
|
|
|
}
|
|
|
|
|
|