diff --git a/src/api/menu.js b/src/api/menu.js
index 2046a03..54ca1f4 100644
--- a/src/api/menu.js
+++ b/src/api/menu.js
@@ -1,4 +1,3 @@
-
import request from '@/utils/request'
diff --git a/src/components/menu/index.vue b/src/components/menu/index.vue
index c865f18..20deb80 100644
--- a/src/components/menu/index.vue
+++ b/src/components/menu/index.vue
@@ -85,137 +85,137 @@ export default {
},
{
name: '产品中心',
- path: '/productCenter/industrialInternet',
+ path: '/productInfo',
type: 2,
children: [
{
name: '轮胎RFID',
- path: '/productCenter/industrialInternet',
+ path: '/productInfo',
icon: znzz,
children: [
{
name: '产品1',
- path: '/productCenter/industrialInternet',
+ path: '/productInfo',
icon: znzz
},
{
name: '产品2',
- path: '/productCenter/industrialInternet',
+ path: '/productInfo',
icon: znzz
},
{
name: '产品3',
- path: '/productCenter/industrialInternet',
+ path: '/productInfo',
icon: znzz
},
]
},
{
name: '超高频RFID',
- path: '/productCenter/industrialInternet',
+ path: '/productInfo',
icon: znzz,
children: [
{
name: '产品1',
- path: '/productCenter/industrialInternet',
+ path: '/productInfo',
icon: znzz
},
{
name: '产品2',
- path: '/productCenter/industrialInternet',
+ path: '/productInfo',
icon: znzz
},
{
name: '产品3',
- path: '/productCenter/industrialInternet',
+ path: '/productInfo',
icon: znzz
},
]
},
{
name: '高频RFID',
- path: '/productCenter/industrialInternet',
+ path: '/productInfo',
icon: znzz,
children: [
{
name: '产品1',
- path: '/productCenter/industrialInternet',
+ path: '/productInfo',
icon: znzz
},
{
name: '产品2',
- path: '/productCenter/industrialInternet',
+ path: '/productInfo',
icon: znzz
},
{
name: '产品3',
- path: '/productCenter/industrialInternet',
+ path: '/productInfo',
icon: znzz
},
]
},
{
name: '传感器',
- path: '/productCenter/industrialInternet',
+ path: '/productInfo',
icon: znzz,
children: [
{
name: '产品1',
- path: '/productCenter/industrialInternet',
+ path: '/productInfo',
icon: znzz
},
{
name: '产品2',
- path: '/productCenter/industrialInternet',
+ path: '/productInfo',
icon: znzz
},
{
name: '产品3',
- path: '/productCenter/industrialInternet',
+ path: '/productInfo',
icon: znzz
},
]
},
{
name: '物联终端',
- path: '/productCenter/industrialInternet',
+ path: '/productInfo',
icon: znzz,
children: [
{
name: '产品1',
- path: '/productCenter/industrialInternet',
+ path: '/productInfo',
icon: znzz
},
{
name: '产品2',
- path: '/productCenter/industrialInternet',
+ path: '/productInfo',
icon: znzz
},
{
name: '产品3',
- path: '/productCenter/industrialInternet',
+ path: '/productInfo',
icon: znzz
},
]
},
{
name: '工业软件',
- path: '/productCenter/industrialInternet',
+ path: '/productInfo',
icon: znzz,
children: [
{
name: '产品1',
- path: '/productCenter/industrialInternet',
+ path: '/productInfo',
icon: znzz
},
{
name: '产品2',
- path: '/productCenter/industrialInternet',
+ path: '/productInfo',
icon: znzz
},
{
name: '产品3',
- path: '/productCenter/industrialInternet',
+ path: '/productInfo',
icon: znzz
},
]
@@ -413,7 +413,7 @@ export default {
}
},
mounted() {
- // this.getMenu()
+ this.getMenu()
let query = this.$route.path
console.log(this.$route)
},
@@ -437,7 +437,7 @@ export default {
},
getMenu() {
getPortalConfigTypeList({
- configTypeClassfication: 1,
+ configTypeClassfication: 4,
parentId: 0,
pageNum: 1,
pageSize: 111
@@ -452,7 +452,7 @@ export default {
})
})
getPortalConfigTypeList({
- configTypeClassfication: 2,
+ configTypeClassfication: 3,
parentId: 0,
pageNum: 1,
pageSize: 111
diff --git a/src/router/index.js b/src/router/index.js
index da27f1a..eab878a 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -11,6 +11,10 @@ export default new Router({
component: Layout,
redirect: '/index',
children: [
+ {
+ path: 'productInfo',
+ component: () => import('@/views/productInfo.vue'),
+ },
{
path: 'index',
component: () => import('@/views/index/index.vue'),
diff --git a/src/views/index/carousel.vue b/src/views/index/carousel.vue
index fdb79b1..448ca5f 100644
--- a/src/views/index/carousel.vue
+++ b/src/views/index/carousel.vue
@@ -16,7 +16,7 @@
+