diff --git a/src/router/index.js b/src/router/index.js
index 5faee30..da27f1a 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -35,6 +35,10 @@ export default new Router({
path: '/contactUs',
component: () => import('@/views/contactUs/index.vue'),
},
+ {
+ path: 'casesAndClients/more',
+ component: () => import('@/views/casesAndClients/IOT/more.vue'),
+ },
]
},
]
diff --git a/src/views/casesAndClients/IOT/more.vue b/src/views/casesAndClients/IOT/more.vue
index 5f74466..1f45c10 100644
--- a/src/views/casesAndClients/IOT/more.vue
+++ b/src/views/casesAndClients/IOT/more.vue
@@ -7,56 +7,9 @@
fit="contain">
青岛海威物联科技有限公司,致力于工业物联网软硬件系统研发、生产和销售,提供感知互联的工业化联网整体解决方案。
免费体验
-
-
-
- {{ i.configTypeName }}
-
-
-
-
-
-
-
-
{{ i.caseInfoTitle }}
-
- {{ i.caseInfoDesc }}
-
-
-
-
-
-
-
- 查看详情
-
-
-
-
-
-
-
-
-
智慧变电站
-
- 针对变配电场景下高压场/GIS组合电器、变压器、电容电抗蛋、避雷器、高压开关柜、隔离开关等电气设备采用不同的手段进行监测,系统可对实时监测的数据进行智能化多维度分机和诊断,评估设备运行状态,捕捉设备运行中的异常。通过对采集的设备图像、温度、环境参数等进行分析,使用户可以
-
-
-
-
- 查看详情
-
-
-
-
+
@@ -68,6 +21,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 {getTypicalHomeCaseInfo} from "@/api";
export default {
name: 'IOT',
@@ -78,43 +32,20 @@ export default {
data() {
return {
banner,
- tabsList: [],
- tabsActive: 0,
- contentList: [],
- configTypeId: 0,
- }
- },
- watch: {
- '$route'() {
- this.getData()
+ info:''
}
},
mounted() {
this.getData()
},
methods: {
- checkTabs(i, k) {
- this.tabsActive = k
- this.configTypeId = i.configTypeId
- this.getContentList(i.configTypeId)
- },
- getContentList(id) {
- getCaseCenterCaseInfos({
- configTypeId: id
- }).then(e => {
- this.contentList = e.data.sort((a, b) => a.productInfoOrder - b.productInfoOrder)
- console.log(this.contentList)
- })
- },
getData() {
- getPortalConfigTypeList({
- parentId: this.$route.query.portalConfigTypeId,
- pageNum: 1,
- pageSize: 10
- }).then(e => {
- this.tabsList = e.rows
- this.configTypeId = e.rows?.[0]?.configTypeId
- this.getContentList(e.rows?.[0]?.configTypeId)
+
+ getTypicalHomeCaseInfo({
+ configTypeId:parseFloat(this.$route.query.configTypeId ||'')
+ }).then(v=>{
+ this.info = v.caseInfoHtml
+ console.log(v)
})
}
}
@@ -184,100 +115,9 @@ export default {
}
}
-.list {
- width: 62vw;
- margin: 0 auto 5vw auto;
-
- .item1 {
- text-align: left;
- margin-top: 5vw;
- height: 18vw;
- position: relative;
-
- .left {
- display: inline-block;
- width: 55%;
-
- .itemTitle {
- font-size: 1.6vw;
- color: #000;
- letter-spacing: 2px;
- }
-
- .itemInfo {
- margin-top: 0.9vw;
- font-size: 1.1vw;
- line-height: 1.75vw;
- color: #0006;
- letter-spacing: 2.7px;
- }
- }
-
- .right {
- display: inline-block;
- width: 41%;
- margin-left: 4%;
- }
-
- .view {
- position: absolute;
- bottom: 0;
- left: 0;
- width: calc(100% - 3vw);
- height: 3.7vw;
- line-height: 3.7vw;
- padding-left: 3vw;
- font-size: 1.2vw;
- color: #fff;
- background-color: #3372ff;
- }
- }
-
- .item2 {
- text-align: left;
- margin-top: 5vw;
- height: 18vw;
- position: relative;
-
- .left {
- display: inline-block;
- width: 41%;
- margin-right: 4%;
- }
-
- .right {
-
- display: inline-block;
- width: 55%;
-
- .itemTitle {
- font-size: 1.6vw;
- color: #000;
- letter-spacing: 2px;
- }
-
- .itemInfo {
- margin-top: 0.9vw;
- font-size: 1.1vw;
- line-height: 1.75vw;
- color: #0006;
- letter-spacing: 2.7px;
- }
- }
-
- .view {
- position: absolute;
- bottom: 0;
- left: 0;
- width: calc(100% - 3vw);
- height: 3.7vw;
- line-height: 3.7vw;
- padding-left: 3vw;
- font-size: 1.2vw;
- color: #fff;
- background-color: #3372ff;
- }
- }
+.info{
+ width: 60vw;
+ margin: 0 auto;
}
.contactUs {
diff --git a/src/views/index/classicCase.vue b/src/views/index/classicCase.vue
index 9911e68..0f2253b 100644
--- a/src/views/index/classicCase.vue
+++ b/src/views/index/classicCase.vue
@@ -12,7 +12,7 @@
{{info.caseInfoDesc}}
-
查看详情 >>
+
查看详情 >>
@@ -77,8 +77,8 @@ export default {
this.info = e.data
})
},
- getCaseInfo() {
-
+ getCaseInfo(e) {
+ this.$router.push("casesAndClients/more?id="+e.configTypeId)
},
learnMore() {