diff --git a/README.md b/README.md index 71ba34d864dcb18100b2e9627e0b796c6777de07..b277fc4b630447c5709b7e7d847f54deb2edcf3d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# manage-system # +# vue-manage-system # 基于Vue.js 2.x系列 + Element UI 的后台管理系统解决方案。[线上地址](http://blog.gdfengshuo.com/example/work/) [English document](https://github.com/lin-xin/manage-system/blob/master/README_EN.md) @@ -31,6 +31,7 @@ - [x] 权限测试 - [x] 404 / 403 - [x] 三级菜单 +- [x] 自定义图标 ## 目录结构介绍 ## @@ -53,6 +54,7 @@ | |-- BaseTable.vue // 基础表格 | |-- DashBoard.vue // 系统首页 | |-- DragList.vue // 拖拽列表组件 + | |-- Icon.vue // 自定义图标组件 | |-- Login.vue // 登录 | |-- Markdown.vue // markdown组件 | |-- Premission.vue // 权限测试组件 diff --git a/README_EN.md b/README_EN.md index fcb200921763c98be3a0911880cfdcfde7ccd863..11361d0dc633b1b0097b9ff5307e745098f2430a 100644 --- a/README_EN.md +++ b/README_EN.md @@ -1,4 +1,4 @@ -# manage-system # +# vue-manage-system # The web management system solution based on Vue2 and Element-UI。[live demo](http://blog.gdfengshuo.com/example/work/) ## Donation @@ -22,6 +22,8 @@ The scheme as a set of multi-function background frame templates, suitable for m - [x] List drag sort - [x] Permission - [x] 404 / 403 +- [x] Three level menu +- [x] Custom icon ## Directory structure ## diff --git a/src/App.vue b/src/App.vue index 5d24c8d30532f6afb74dcb27ccdb9e958c5e5d3c..a8e06b60ea32feac11141119743a73eafbe19c80 100644 --- a/src/App.vue +++ b/src/App.vue @@ -4,6 +4,7 @@ \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index 44b3301f0b7d1a5a681479234a824a1ef69a4fe4..6a29535d7e98e2f969b097b309564ff4b68a2466 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -19,6 +19,11 @@ export default new Router({ component: resolve => require(['../components/page/Dashboard.vue'], resolve), meta: { title: '系统首页' } }, + { + path: '/icon', + component: resolve => require(['../components/page/Icon.vue'], resolve), + meta: { title: '自定义图标' } + }, { path: '/table', component: resolve => require(['../components/page/BaseTable.vue'], resolve), diff --git a/static/css/main.css b/static/css/main.css index d17d3ffd717e98f0374aa39606f7e302dc4ff6e1..f7cad756ffd3f539f71c52f9f661721fdfa5dbe4 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -19,6 +19,9 @@ body { a { text-decoration: none } +[class*=" el-icon-lx"], [class^=el-icon-lx] { + font-family: lx-iconfont!important; +} .content-box { position: absolute;