From 890cfe586036853be551c3adfe70970565c368d0 Mon Sep 17 00:00:00 2001 From: Pan Date: Fri, 24 Nov 2017 14:29:43 +0800 Subject: [PATCH] refactor:refine icons --- src/icons/svg/404.svg | 1 - src/icons/svg/EXCEL.svg | 1 - src/icons/svg/QQ.svg | 1 - src/icons/svg/a.svg | 1 - src/icons/svg/b.svg | 1 - src/icons/svg/bug.svg | 1 - src/icons/svg/c.svg | 1 - src/icons/svg/email.svg | 1 - src/icons/svg/example.svg | 1 + src/icons/svg/{yanjing.svg => eye.svg} | 0 src/icons/svg/form.svg | 1 + src/icons/svg/from.svg | 1 - src/icons/svg/icons.svg | 1 - src/icons/svg/{mima.svg => password.svg} | 0 src/icons/svg/quanxian.svg | 1 - src/icons/svg/shouce.svg | 1 - src/icons/svg/tab.svg | 1 - src/icons/svg/table.svg | 2 +- src/icons/svg/theme.svg | 1 - src/icons/svg/tubiao.svg | 1 - src/icons/svg/tuozhuai.svg | 1 - src/icons/svg/{yonghuming.svg => user.svg} | 0 src/icons/svg/weixin.svg | 1 - src/icons/svg/wujiaoxing.svg | 1 - src/icons/svg/xinrenzhinan.svg | 1 - src/icons/svg/zonghe.svg | 1 - src/icons/svg/zujian.svg | 1 - src/router/index.js | 6 +++--- src/views/login/index.vue | 4 ++-- 29 files changed, 8 insertions(+), 27 deletions(-) delete mode 100644 src/icons/svg/404.svg delete mode 100644 src/icons/svg/EXCEL.svg delete mode 100644 src/icons/svg/QQ.svg delete mode 100644 src/icons/svg/a.svg delete mode 100644 src/icons/svg/b.svg delete mode 100644 src/icons/svg/bug.svg delete mode 100644 src/icons/svg/c.svg delete mode 100644 src/icons/svg/email.svg create mode 100644 src/icons/svg/example.svg rename src/icons/svg/{yanjing.svg => eye.svg} (100%) create mode 100644 src/icons/svg/form.svg delete mode 100644 src/icons/svg/from.svg delete mode 100644 src/icons/svg/icons.svg rename src/icons/svg/{mima.svg => password.svg} (100%) delete mode 100644 src/icons/svg/quanxian.svg delete mode 100644 src/icons/svg/shouce.svg delete mode 100644 src/icons/svg/tab.svg delete mode 100644 src/icons/svg/theme.svg delete mode 100644 src/icons/svg/tubiao.svg delete mode 100644 src/icons/svg/tuozhuai.svg rename src/icons/svg/{yonghuming.svg => user.svg} (100%) delete mode 100644 src/icons/svg/weixin.svg delete mode 100644 src/icons/svg/wujiaoxing.svg delete mode 100644 src/icons/svg/xinrenzhinan.svg delete mode 100644 src/icons/svg/zonghe.svg delete mode 100644 src/icons/svg/zujian.svg diff --git a/src/icons/svg/404.svg b/src/icons/svg/404.svg deleted file mode 100644 index bc5bc9f..0000000 --- a/src/icons/svg/404.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/EXCEL.svg b/src/icons/svg/EXCEL.svg deleted file mode 100644 index e5dd5ce..0000000 --- a/src/icons/svg/EXCEL.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/QQ.svg b/src/icons/svg/QQ.svg deleted file mode 100644 index 97aee71..0000000 --- a/src/icons/svg/QQ.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/a.svg b/src/icons/svg/a.svg deleted file mode 100644 index 6297fe8..0000000 --- a/src/icons/svg/a.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/b.svg b/src/icons/svg/b.svg deleted file mode 100644 index 0c08ff0..0000000 --- a/src/icons/svg/b.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/bug.svg b/src/icons/svg/bug.svg deleted file mode 100644 index a12a939..0000000 --- a/src/icons/svg/bug.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/c.svg b/src/icons/svg/c.svg deleted file mode 100644 index 17124d9..0000000 --- a/src/icons/svg/c.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/email.svg b/src/icons/svg/email.svg deleted file mode 100644 index 8a87e14..0000000 --- a/src/icons/svg/email.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/example.svg b/src/icons/svg/example.svg new file mode 100644 index 0000000..19cd9ed --- /dev/null +++ b/src/icons/svg/example.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/yanjing.svg b/src/icons/svg/eye.svg similarity index 100% rename from src/icons/svg/yanjing.svg rename to src/icons/svg/eye.svg diff --git a/src/icons/svg/form.svg b/src/icons/svg/form.svg new file mode 100644 index 0000000..d848c8a --- /dev/null +++ b/src/icons/svg/form.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/from.svg b/src/icons/svg/from.svg deleted file mode 100644 index 7a4bd16..0000000 --- a/src/icons/svg/from.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/icons.svg b/src/icons/svg/icons.svg deleted file mode 100644 index 906af96..0000000 --- a/src/icons/svg/icons.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/mima.svg b/src/icons/svg/password.svg similarity index 100% rename from src/icons/svg/mima.svg rename to src/icons/svg/password.svg diff --git a/src/icons/svg/quanxian.svg b/src/icons/svg/quanxian.svg deleted file mode 100644 index 37c6070..0000000 --- a/src/icons/svg/quanxian.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/shouce.svg b/src/icons/svg/shouce.svg deleted file mode 100644 index 94c68bb..0000000 --- a/src/icons/svg/shouce.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/tab.svg b/src/icons/svg/tab.svg deleted file mode 100644 index 657057d..0000000 --- a/src/icons/svg/tab.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/table.svg b/src/icons/svg/table.svg index 083bc8c..da6ffff 100644 --- a/src/icons/svg/table.svg +++ b/src/icons/svg/table.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/icons/svg/theme.svg b/src/icons/svg/theme.svg deleted file mode 100644 index 9c0873c..0000000 --- a/src/icons/svg/theme.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/tubiao.svg b/src/icons/svg/tubiao.svg deleted file mode 100644 index b1b3133..0000000 --- a/src/icons/svg/tubiao.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/tuozhuai.svg b/src/icons/svg/tuozhuai.svg deleted file mode 100644 index 819c8d5..0000000 --- a/src/icons/svg/tuozhuai.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/yonghuming.svg b/src/icons/svg/user.svg similarity index 100% rename from src/icons/svg/yonghuming.svg rename to src/icons/svg/user.svg diff --git a/src/icons/svg/weixin.svg b/src/icons/svg/weixin.svg deleted file mode 100644 index d88a64b..0000000 --- a/src/icons/svg/weixin.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/wujiaoxing.svg b/src/icons/svg/wujiaoxing.svg deleted file mode 100644 index 685a301..0000000 --- a/src/icons/svg/wujiaoxing.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/xinrenzhinan.svg b/src/icons/svg/xinrenzhinan.svg deleted file mode 100644 index 3985ab5..0000000 --- a/src/icons/svg/xinrenzhinan.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/zonghe.svg b/src/icons/svg/zonghe.svg deleted file mode 100644 index 681422e..0000000 --- a/src/icons/svg/zonghe.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/icons/svg/zujian.svg b/src/icons/svg/zujian.svg deleted file mode 100644 index d183e56..0000000 --- a/src/icons/svg/zujian.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index 2434442..99c6b84 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -32,9 +32,9 @@ export const constantRouterMap = [ component: Layout, redirect: 'noredirect', name: 'Example', - icon: 'zujian', + icon: 'example', children: [ - { path: 'index', name: 'Form', icon: 'zonghe', component: _import('page/form') } + { path: 'index', name: 'Form', icon: 'form', component: _import('page/form') } ] }, @@ -42,7 +42,7 @@ export const constantRouterMap = [ path: '/table', component: Layout, redirect: '/table/index', - icon: 'tubiao', + icon: 'table', noDropdown: true, children: [{ path: 'index', name: 'Table', component: _import('table/index'), meta: { role: ['admin'] }}] }, diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 07c313b..8ccd2ee 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -5,13 +5,13 @@

vue-element-admin

- +