From c3fce400381fb18f5863cc3fa69bbf5dc0cd9ac7 Mon Sep 17 00:00:00 2001 From: junjie Date: Wed, 2 Jun 2021 11:03:43 +0800 Subject: [PATCH] =?UTF-8?q?feat(frontend):logo=E7=AD=89=E5=B0=BA=E5=AF=B8?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/lang/en.js | 3 ++- frontend/src/lang/tw.js | 3 ++- frontend/src/lang/zh.js | 3 ++- frontend/src/styles/topbar.scss | 4 ++++ frontend/src/views/login/index.vue | 8 ++++++-- 5 files changed, 16 insertions(+), 5 deletions(-) diff --git a/frontend/src/lang/en.js b/frontend/src/lang/en.js index 2c9e49c281..b2749a9168 100644 --- a/frontend/src/lang/en.js +++ b/frontend/src/lang/en.js @@ -985,7 +985,8 @@ export default { loginLogo: 'Login page header logo', loginImage: 'Picture on the right side of the login page', loginTitle: 'Login page title', - title: 'System name' + title: 'System name', + advice_size: 'Advice picture size' }, auth: { authConfig: 'Auth Config', diff --git a/frontend/src/lang/tw.js b/frontend/src/lang/tw.js index cede5bd3a4..f65bcc240f 100644 --- a/frontend/src/lang/tw.js +++ b/frontend/src/lang/tw.js @@ -985,7 +985,8 @@ export default { loginLogo: '登陸頁面頭部 Logo', loginImage: '登陸頁面右側圖片', loginTitle: '登陸頁面標題', - title: '系統名稱' + title: '系統名稱', + advice_size: '建議圖片大小' }, auth: { authConfig: '權限配置', diff --git a/frontend/src/lang/zh.js b/frontend/src/lang/zh.js index 37f3874bdf..04b6c9c927 100644 --- a/frontend/src/lang/zh.js +++ b/frontend/src/lang/zh.js @@ -985,7 +985,8 @@ export default { loginLogo: '登录页面头部logo', loginImage: '登录页面右侧图片', loginTitle: '登录页面标题', - title: '系统名称' + title: '系统名称', + advice_size: '建议图片大小' }, auth: { authConfig: '权限配置', diff --git a/frontend/src/styles/topbar.scss b/frontend/src/styles/topbar.scss index c52d51d01d..2403e9733b 100644 --- a/frontend/src/styles/topbar.scss +++ b/frontend/src/styles/topbar.scss @@ -19,6 +19,10 @@ // color: rgb(191, 203, 217); color: rgba(255,255,255,0.87); float: left; + img{ + width: auto; + max-height: 45px; + } } .el-menu { float: left; diff --git a/frontend/src/views/login/index.vue b/frontend/src/views/login/index.vue index cbf50f8a8a..02a47191ce 100644 --- a/frontend/src/views/login/index.vue +++ b/frontend/src/views/login/index.vue @@ -180,9 +180,13 @@ export default { margin-top: 20px; } img{ - width: 240px; + /*width: 240px;*/ + width: auto; + max-height: 60px; @media only screen and (max-width: 1280px) { - width: 200px; + /*width: 200px;*/ + width: auto; + max-height: 50px; } } }