Kaynağa Gözat

feat: 菜单图标修改

outaozhen 4 yıl önce
ebeveyn
işleme
e385a169ab
2 değiştirilmiş dosya ile 17 ekleme ve 16 silme
  1. 1 1
      config/defaultSettings.js
  2. 16 15
      config/routes.js

+ 1 - 1
config/defaultSettings.js

@@ -8,7 +8,7 @@ const proSettings = {
   colorWeak: false,
   title: 'CLD.V2',
   pwa: false,
-  iconfontUrl: '//at.alicdn.com/t/font_2276974_falgk97npm9.js',
+  iconfontUrl: '//at.alicdn.com/t/font_2486255_ibmkj1yy5b.js',
   splitMenus: true
 }
 export default proSettings

+ 16 - 15
config/routes.js

@@ -23,7 +23,7 @@ export default [
   {
     path: '/workbench',
     name: 'workbench',
-    icon: 'icon-chess',
+    icon: 'icon-gongzuotai',
     routes: [
       {
         path: '/workbench',
@@ -32,7 +32,7 @@ export default [
       {
         path: '/workbench/dashboard',
         name: 'dashboard',
-        icon: 'icon-tachometer-alt',
+        icon: 'icon-yibiaopan',
         component: './Workbench/Dashboard',
         access: 'authPermDataFilter'
       }
@@ -41,7 +41,7 @@ export default [
   {
     path: '/customer',
     name: 'customer',
-    icon: 'icon-address-book-o',
+    icon: 'icon-kehu',
     routes: [
       {
         path: '/customer',
@@ -58,7 +58,7 @@ export default [
       {
         path: '/customer/company',
         name: 'company',
-        icon: 'icon-building',
+        icon: 'icon-danwei',
         component: './Customer/Company',
         access: 'authRouteFilter',
         validatePerm: true
@@ -82,7 +82,7 @@ export default [
   {
     path: '/product',
     name: 'product',
-    icon: 'icon-box',
+    icon: 'icon-chanpin',
     routes: [
       {
         path: '/product',
@@ -91,7 +91,7 @@ export default [
       {
         path: '/product/lock',
         name: 'lock',
-        icon: 'icon-magic',
+        icon: 'icon-ruanjiansuo',
         routes: [
           {
             path: '/product/lock',
@@ -184,7 +184,7 @@ export default [
       {
         path: 'product',
         name: 'product',
-        icon: 'icon-chanpin',
+        icon: 'icon-chanpinxiaoshou',
         routes: [
           {
             path: '/statistic/product',
@@ -241,22 +241,22 @@ export default [
   {
     path: 'http://cld.smartcost.com.cn/saeaBorad',
     name: 'saeaBorad',
-    icon: 'icon-clipboard-list'
+    icon: 'icon-caiwufeiyong'
   },
   {
     path: 'http://cld.smartcost.com.cn/invoice',
     name: 'invoice',
-    icon: 'icon-credit-card1'
+    icon: 'icon-kaipiaohetong'
   },
   {
     path: 'http://cld.smartcost.com.cn/holidayborad',
     name: 'holidayborad',
-    icon: 'icon-siglyphalarmclock'
+    icon: 'icon-kaoqin'
   },
   {
     path: '/hr',
     name: 'hr',
-    icon: 'icon-users',
+    icon: 'icon-renzi',
     routes: [
       {
         path: '/hr',
@@ -265,27 +265,28 @@ export default [
       {
         path: '/hr/addressbook',
         name: 'addressbook',
-        icon: 'icon-address-book-o',
+        icon: 'icon-tongxunlu',
         component: './Hr/AddressBook'
         // access: 'authRouteFilter'
       },
       {
         path: '/hr/employee',
         name: 'employee',
-        icon: 'icon-users',
+        icon: 'icon-bumenyuyuangong',
         component: './Hr/Employee',
         access: 'authRouteFilter'
       },
       {
         path: '/hr/notification',
         name: 'notification',
-        icon: 'icon-commentingo',
+        icon: 'icon-tongzhizhongxin',
         component: './Hr/Notification',
         access: 'authRouteFilter'
       },
       {
         path: 'http://cld.smartcost.com.cn/hr',
-        name: 'oldHr'
+        name: 'oldHr',
+        icon: 'icon-a-CLD10renzi'
       }
     ]
   },