From 584c4e94897a838564407043375c066951215dac Mon Sep 17 00:00:00 2001 From: bylxc <1615099439@qq.com> Date: Tue, 15 Dec 2020 00:37:09 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E5=BF=BD=E7=95=A5=20node=5Fmodules?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintignore b/.eslintignore index 1f18712f..29190f7f 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,7 +1,7 @@ build/*.js config/*.js src/assets -/node_modules/ +node_modules/ /static/ /zTree_v3/ /*.js/ From 8ad9a91ce095d6bc37dea0516757ab05cbdd16de Mon Sep 17 00:00:00 2001 From: bylxc <1615099439@qq.com> Date: Tue, 15 Dec 2020 00:38:29 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=B5=8B=E8=BE=B9?= =?UTF-8?q?=E6=A0=8Flogo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 3 ++- src/views/layout/components/Sidebar/SidebarItem.vue | 12 +++--------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index cd5a5759..78ef4b23 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -49,7 +49,8 @@ export const constantRouterMap = [ component: _import('xm/core/xmProject/XmProjectMng'), name: 'dashboard', meta: { title: 'dashboard', icon: 'home-page', noCache: true } - }] + }], + hidden: true } ] diff --git a/src/views/layout/components/Sidebar/SidebarItem.vue b/src/views/layout/components/Sidebar/SidebarItem.vue index 33196a85..80674b9f 100644 --- a/src/views/layout/components/Sidebar/SidebarItem.vue +++ b/src/views/layout/components/Sidebar/SidebarItem.vue @@ -1,22 +1,16 @@ @@ -78,13 +83,34 @@ export default { .logo { height: 56px; width: 100%; - padding: 0 20px; + // padding: 0 20px; display: flex; align-items: center; justify-content: center; img { width: 100%; } + .logo-text { + display: flex; + align-items: center; + justify-content: left; + color: #fff; + img { + width: 30%; + } + .systemName { + font-size: 14px; + font-weight: bold; + font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; + } + .name { + font-size: 12px; + font-weight: bold; + transform: scale(0.7); + margin-left: -8px; + + } + } } .has-logo { width: 100%;