diff --git a/src/api/productCenter.js b/src/api/productCenter.js index 44e8ae8..7446d4e 100644 --- a/src/api/productCenter.js +++ b/src/api/productCenter.js @@ -24,3 +24,11 @@ export function getProductCenterProductInfos(query) { params: query }) } +export function getProductCenterProductDetailInfo(query) { + return request({ + url: '/portal/portal/getProductCenterProductDetailInfos', + method: 'get', + params: query + }) +} + diff --git a/src/components/menu/index.vue b/src/components/menu/index.vue index feae91f..280dfb8 100644 --- a/src/components/menu/index.vue +++ b/src/components/menu/index.vue @@ -131,13 +131,29 @@ export default { pageNum: 1, pageSize: 111 }).then(e => { - // this.menuList[1].children = e.rows.map(v => { - // return { - // name: v.configTypeName, - // icon: v.homeConfigTypePic, - // path: '' - // } - // }) + console.log(e) + this.menuList[1].children = e.rows.map(v => { + return { + name: v.configTypeName, + icon: v.configTypeIcon, + path: '/productCenter/industrialInternet?portalConfigTypeId='+v.configTypeId + } + }) + }) + getPortalConfigTypeList({ + configTypeClassfication: 2, + parentId: 0, + pageNum: 1, + pageSize: 111 + }).then(e => { + console.log(e) + this.menuList[2].children = e.rows.map(v => { + return { + name: v.configTypeName, + icon: v.configTypeIcon, + path: '/casesAndClients/IOT?portalConfigTypeId='+v.configTypeId + } + }) }) } } diff --git a/src/views/casesAndClients/IOT/index.vue b/src/views/casesAndClients/IOT/index.vue index d1f53cc..5f74466 100644 --- a/src/views/casesAndClients/IOT/index.vue +++ b/src/views/casesAndClients/IOT/index.vue @@ -9,7 +9,8 @@ 免费体验
-
+
{{ i.configTypeName }}
@@ -36,7 +37,7 @@
-
+
{ diff --git a/src/views/contactUs/companyProfile.vue b/src/views/contactUs/companyProfile.vue index e9cef73..8dba3fe 100644 --- a/src/views/contactUs/companyProfile.vue +++ b/src/views/contactUs/companyProfile.vue @@ -102,7 +102,7 @@ export default { width: 78%; left: 50%; height: 11vw; - overflow: hidden; + //overflow: hidden; -webkit-transform: translateX(-50%); transform: translateX(-50%); letter-spacing: 2.5px; diff --git a/src/views/index/carousel.vue b/src/views/index/carousel.vue index fbf4eef..1c35ac4 100644 --- a/src/views/index/carousel.vue +++ b/src/views/index/carousel.vue @@ -2,10 +2,14 @@
- +
+ +
{{ item.portalConfigTitle }}
+
{{ item.portalConfigDesc }}
+
@@ -31,7 +35,7 @@ export default { pageNum:1, pageSize:100 }).then(e=>{ - this.bannerList = e.rows.map(v=>v.portalConfigPic) + this.bannerList = e.rows }) } }, @@ -39,6 +43,7 @@ export default { diff --git a/src/views/productCenter/index.vue b/src/views/productCenter/index.vue index bd6d2c1..e60ee0a 100644 --- a/src/views/productCenter/index.vue +++ b/src/views/productCenter/index.vue @@ -7,9 +7,10 @@ fit="contain">
{{ bannerTitle }}
免费体验 -
+
-
+
{{ i.configTypeName }}
@@ -33,10 +34,10 @@
-
- - - +
+ + +
@@ -88,10 +89,16 @@ export default { mounted() { this.getData() }, + watch: { + '$route'() { + this.getData() + } + }, methods: { getContentList(id) { getProductCenterProductInfos({ - configTypeId: id + configTypeId: id, + parentId: 0 }).then(e => { this.contentList = e.data.sort((a, b) => a.productInfoOrder - b.productInfoOrder) console.log(this.contentList) @@ -103,9 +110,10 @@ export default { this.getContentList(i.configTypeId) }, getData() { + console.log(this.$route.query) getPortalConfigList({ portalConfigType: 2, - portalConfigTypeId: 4, + portalConfigTypeId: this.$route.query.portalConfigTypeId, pageNum: 1, pageSize: 5 }).then(e => { @@ -113,7 +121,7 @@ export default { this.bannerTitle = e.rows?.[0]?.portalConfigDesc }) getPortalConfigTypeList({ - parentId: 4, + parentId: this.$route.query.portalConfigTypeId, pageNum: 1, pageSize: 50 }).then(e => { diff --git a/src/views/productCenter/product/highFrequencyRFID.vue b/src/views/productCenter/product/highFrequencyRFID.vue index e2141b9..03f5c19 100644 --- a/src/views/productCenter/product/highFrequencyRFID.vue +++ b/src/views/productCenter/product/highFrequencyRFID.vue @@ -6,24 +6,24 @@
- + -
+
-
{{ i.productInfoDetailDesc }}
-
HW-RFR-050-B-003-B1204S
+
{{ (info[0]||{}).productInfoDetailTitle }}
+
{{ (info[0]||{}).productInfoDetailDesc }}
-
-
射频协议
-
符合ISO/IEC 13.56MHZ
+
+
{{ i.productInfoDetailTitle }}
+
{{ i.productInfoDetailDesc }}
@@ -38,6 +38,7 @@ diff --git a/src/views/productCenter/product/ultraHighFrequencyRFID.vue b/src/views/productCenter/product/ultraHighFrequencyRFID.vue index d5569f3..c4b41f8 100644 --- a/src/views/productCenter/product/ultraHighFrequencyRFID.vue +++ b/src/views/productCenter/product/ultraHighFrequencyRFID.vue @@ -5,16 +5,16 @@
- - + + -
+
-
+
- RFID通道门具有窄波束、高增益特点,适用于超高频门禁通道类、物流仓储、人员、图书、档案馆、医疗系统、设备资产等应用。 + {{ i.productInfoDetailDesc }}
@@ -38,6 +38,7 @@ @@ -117,6 +131,7 @@ export default { display: inline-block; box-shadow: 0 0 3px #0002; margin-bottom: 1.4vw; + vertical-align: top; .image { width: 100%;