diff --git a/src/components/NavMenu.vue b/src/components/NavMenu.vue new file mode 100755 index 0000000..52086d3 --- /dev/null +++ b/src/components/NavMenu.vue @@ -0,0 +1,37 @@ + +
+ + + + diff --git a/src/components/VHeader.vue b/src/components/VHeader.vue index 22e49da..29c03a9 100644 --- a/src/components/VHeader.vue +++ b/src/components/VHeader.vue @@ -31,7 +31,7 @@ export default { {name:'停车服务',routerLink:'/service'}, {name:'官网中心',routerLink:'/center'}, {name:'黄石停车',routerLink:'/park'}, - {name:'联系我们',routerLink:'/about'}, + {name:'关于我们',routerLink:'/about'}, ] } } diff --git a/src/components/config.js b/src/components/config.js new file mode 100755 index 0000000..629df06 --- /dev/null +++ b/src/components/config.js @@ -0,0 +1,89 @@ +let config = { + "entity": null, + "childs": [ + { + "entity": { + "id": 1, //id标识 + "title": "中心首页", //菜单标题 + "icon": "el-icon-s-home",//菜单logo + "url": "/views/dashboard",//菜单路径 + }, + }, + { + "entity": { + "id": 2, + "title": "我的钱包", + "icon": "el-icon-bank-card", + "url": "example", + }, + "childs": [ + { + "entity": { + "id": 2-1, + "title": "我的账户", + "url": "account", + }, + "childs": null + }, + { + "entity": { + "id": 2-2, + "title": "我的卡券", + "url": "cardticket", + } + }, + ] + }, + { + "entity": { + "id": 3, + "title": "我的订单", + "icon": "el-icon-tickets", + "url": "order", + }, + + }, + { + "entity": { + "id": 4, + "title": "欠费补缴", + "icon": "el-icon-document-checked", + "url": "payback", + } + }, + { + "entity": { + "id": 5, + "title": "我的车辆", + "icon": "el-icon-truck", + "url": "mycar", + } + }, + { + "entity": { + "id": 6, + "title": "个人中心", + "icon": "el-icon-s-custom", + "url": "mycar", + }, + "childs": [ + { + "entity": { + "id": 6-1, + "title": "个人资料", + "url": "information", + }, + "childs": null + }, + { + "entity": { + "id": 6-2, + "title": "我的评价", + "url": "myevaluate", + } + }, + ] + }, + ] +} +export default config diff --git a/src/icons/svg/car.svg b/src/icons/svg/car.svg new file mode 100644 index 0000000..6ef1981 --- /dev/null +++ b/src/icons/svg/car.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/card.svg b/src/icons/svg/card.svg new file mode 100644 index 0000000..2a15d88 --- /dev/null +++ b/src/icons/svg/card.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/skill.svg b/src/icons/svg/skill.svg new file mode 100644 index 0000000..a3b7312 --- /dev/null +++ b/src/icons/svg/skill.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 4953f36..e7f52ae 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -2,7 +2,7 @@