diff --git a/hx-op/src/router/home.ts b/hx-op/src/router/home.ts index c4e935a..b8ea9f4 100644 --- a/hx-op/src/router/home.ts +++ b/hx-op/src/router/home.ts @@ -6,23 +6,14 @@ const home = { redirect: { name: 'homeIndex' }, children: [ { - path: 'homeModule', - name: 'HomeModule', - meta: { title: '首页', hideChildren: true, icon: 'dicizhishou' }, - component: Base, - redirect: { name: 'homeIndex' }, - children: [ - { - path: 'index', - name: 'homeIndex', - component: () => import('/@/view/developing.vue'), - meta: { - title: '首页', - keepAlive: true, - // backApi: [], - }, - }, - ], + path: 'index', + name: 'homeIndex', + component: () => import('/@/view/developing.vue'), + meta: { + title: '首页', + keepAlive: true, + // backApi: [], + }, }, ], }; diff --git a/hx-op/src/router/organizationManage.ts b/hx-op/src/router/organizationManage.ts index 83c3dd1..f4ecc42 100644 --- a/hx-op/src/router/organizationManage.ts +++ b/hx-op/src/router/organizationManage.ts @@ -1,28 +1,19 @@ const Base = () => import('/nerv-lib/saas/view/system/layout/content.vue'); const organizationManage = { path: '/organizationManage', - name: 'organizationManage', + name: 'EnterpriseManage', meta: { title: '企业管理', icon: 'dicizhishou', index: 99, hideChildren: true }, - redirect: { name: 'EnterpriseManage' }, + redirect: { name: 'EnterpriseManageIndex' }, children: [ { - path: 'enterpriseManage', - name: 'EnterpriseManage', - meta: { title: '企业管理', hideChildren: true, icon: 'dicizhishou' }, - component: Base, - redirect: { name: 'EnterpriseManageIndex' }, - children: [ - { - path: 'index', - name: 'EnterpriseManageIndex', - component: () => import('/@/view/organizationManage/enterpriseManage/index.vue'), - meta: { - title: '企业管理', - keepAlive: true, - // backApi: [], - }, - }, - ], + path: 'index', + name: 'EnterpriseManageIndex', + component: () => import('/@/view/organizationManage/enterpriseManage/index.vue'), + meta: { + title: '企业管理', + keepAlive: true, + // backApi: [], + }, }, ], }; diff --git a/hx-op/src/theme/global.less b/hx-op/src/theme/global.less index 714d672..fc42a0d 100644 --- a/hx-op/src/theme/global.less +++ b/hx-op/src/theme/global.less @@ -11,10 +11,11 @@ // .ant-menu-dark.ant-menu-horizontal>.ant-menu-item:hover { // background-color: #43BB79 !important; // } - + .ant-menu-inline .ant-menu-item, .ant-menu-inline .ant-menu-submenu-title { - width: 100% !important; + max-width: 100% !important; + transition: none !important; } .ns-basic-table .ant-btn:hover { @@ -46,17 +47,17 @@ } // header菜单字体样式 -.ant-menu-dark.ant-menu-horizontal>.ant-menu-item, -.ant-menu-dark.ant-menu-horizontal>.ant-menu-submenu { - color: #fff; -} +// .ant-menu-dark.ant-menu-horizontal>.ant-menu-item, +// .ant-menu-dark.ant-menu-horizontal>.ant-menu-submenu { +// color: #fff; +// } -.ant-menu-dark .ant-menu-item, -.ant-menu-dark .ant-menu-item-group-title, -.ant-menu-dark .ant-menu-item>a, -.ant-menu-dark .ant-menu-item>span>a { - color: #fff; -} +// .ant-menu-dark .ant-menu-item, +// .ant-menu-dark .ant-menu-item-group-title, +// .ant-menu-dark .ant-menu-item>a, +// .ant-menu-dark .ant-menu-item>span>a { +// color: #fff; +// } @font-face { /*给字体命名*/ @@ -111,13 +112,13 @@ .ant-menu-title-content { svg { - color: #A1ABC2; + // color: #A1ABC2; } } .ant-menu-item-selected { svg { - color: #D0DBF5; + // color: #D0DBF5; } } @@ -181,3 +182,7 @@ background-color: #AEAEAE; } } + +#app { + min-width: 1200px; +}