|
|
|
@ -5,8 +5,8 @@
|
|
|
|
|
style="width: 100%; height: 100%;position:absolute;top: 0;left: 0;"
|
|
|
|
|
:src="banner"
|
|
|
|
|
fit="contain"></el-image>
|
|
|
|
|
<div class="bannerInfo">青岛海威物联科技有限公司,致力于工业物联网软硬件系统研发、生产和销售,提供感知互联的工业化联网整体解决方案。</div>
|
|
|
|
|
<el-button type="primary" class="bannerBtn">免费体验</el-button>
|
|
|
|
|
<div class="bannerInfo">{{ bannerTitle }}</div>
|
|
|
|
|
<!-- <el-button type="primary" class="bannerBtn">免费体验</el-button>-->
|
|
|
|
|
<div class="tabs">
|
|
|
|
|
<div class="content">
|
|
|
|
|
<div v-for="(i,k) in tabsList" @click="checkTabs(i,k)" :class="`tab ${tabsActive === k ? 'active':''}`"
|
|
|
|
@ -19,7 +19,7 @@
|
|
|
|
|
<div class="list">
|
|
|
|
|
<div v-for="(i,k) in contentList">
|
|
|
|
|
<div v-if="k%2 === 1" class="item1">
|
|
|
|
|
<div class="view">
|
|
|
|
|
<div class="view" @click="getCaseInfo(i)">
|
|
|
|
|
<span>
|
|
|
|
|
查看详情
|
|
|
|
|
</span>
|
|
|
|
@ -38,7 +38,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div v-if="k%2 === 0" class="item2">
|
|
|
|
|
<div class="view">
|
|
|
|
|
<div class="view" @click="getCaseInfo(i)">
|
|
|
|
|
<span>
|
|
|
|
|
查看详情
|
|
|
|
|
</span>
|
|
|
|
@ -68,6 +68,7 @@ import banner from '@/assets/image/banner.png'
|
|
|
|
|
import ContactUs from '@/components/contactUs'
|
|
|
|
|
import Copyright from '@/components/copyright'
|
|
|
|
|
import {getCaseCenterCaseInfos, getPortalConfigTypeList} from "@/api/casesAndClients";
|
|
|
|
|
import {getPortalConfigList} from "@/api/productCenter";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: 'IOT',
|
|
|
|
@ -77,7 +78,8 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
banner,
|
|
|
|
|
banner:'',
|
|
|
|
|
bannerTitle: '',
|
|
|
|
|
tabsList: [],
|
|
|
|
|
tabsActive: 0,
|
|
|
|
|
contentList: [],
|
|
|
|
@ -93,6 +95,10 @@ export default {
|
|
|
|
|
this.getData()
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
getCaseInfo(e) {
|
|
|
|
|
console.log(e)
|
|
|
|
|
this.$router.push("/casesAndClients/more?id="+e.caseInfoId)
|
|
|
|
|
},
|
|
|
|
|
checkTabs(i, k) {
|
|
|
|
|
this.tabsActive = k
|
|
|
|
|
this.configTypeId = i.configTypeId
|
|
|
|
@ -115,6 +121,17 @@ export default {
|
|
|
|
|
this.tabsList = e.rows
|
|
|
|
|
this.configTypeId = e.rows?.[0]?.configTypeId
|
|
|
|
|
this.getContentList(e.rows?.[0]?.configTypeId)
|
|
|
|
|
getPortalConfigTypeList({
|
|
|
|
|
configTypeClassfication:2,
|
|
|
|
|
parentId: 0,
|
|
|
|
|
pageNum: 1,
|
|
|
|
|
pageSize: 10
|
|
|
|
|
}).then(v=>{
|
|
|
|
|
let nowTab = v.rows.find(vv=>vv.configTypeId === parseFloat(this.$route.query.portalConfigTypeId))
|
|
|
|
|
console.log(nowTab)
|
|
|
|
|
this.banner = nowTab?.homeConfigTypePic
|
|
|
|
|
// this.bannerTitle = e.rows?.[0]?.portalConfigDesc
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -206,6 +223,9 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.itemInfo {
|
|
|
|
|
height: 10.7vw;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
margin-top: 0.9vw;
|
|
|
|
|
font-size: 1.1vw;
|
|
|
|
|
line-height: 1.75vw;
|
|
|
|
@ -260,6 +280,9 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.itemInfo {
|
|
|
|
|
height: 10.7vw;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
margin-top: 0.9vw;
|
|
|
|
|
font-size: 1.1vw;
|
|
|
|
|
line-height: 1.75vw;
|
|
|
|
|