From f4180dac4dc2f763c29b92941a8eb5a02c2a26ec Mon Sep 17 00:00:00 2001 From: yaoyanan <794433246@qq.com> Date: Thu, 25 Mar 2021 18:49:54 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=A1=B5pc=E9=80=82=E9=85=8D?= =?UTF-8?q?=E8=B0=83=E8=AF=95=EF=BC=88logo=E9=9C=80=E5=AE=8C=E5=96=84?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/layouts/UserLayout.vue | 182 ++++++------------ jero-web/src/views/user/Login.vue | 85 ++++---- .../src/views/user/alteration/Alteration.vue | 3 + jero-web/src/views/user/alteration/Step2.vue | 18 +- 4 files changed, 109 insertions(+), 179 deletions(-) diff --git a/jero-web/src/components/layouts/UserLayout.vue b/jero-web/src/components/layouts/UserLayout.vue index 41a618b2..ec615116 100644 --- a/jero-web/src/components/layouts/UserLayout.vue +++ b/jero-web/src/components/layouts/UserLayout.vue @@ -2,7 +2,13 @@
- +
@@ -27,6 +33,16 @@ document.body.classList.remove('userLayout') }, } + var comO,logo,logoImg + window.onresize = function(){ + comO = document.getElementsByClassName("company")[0] + logo = document.getElementsByClassName("logo")[0] + logoImg = document.getElementsByClassName("logo-img")[0] + console.log(logo.width) + comO.style.left = (logoImg.width + 10) + 'px' + comO.style.height = logoImg.height + 'px' + logo.style.height = logoImg.height + 'px' + } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + \ No newline at end of file diff --git a/jero-web/src/views/user/Login.vue b/jero-web/src/views/user/Login.vue index 3e0b9317..1eedf707 100644 --- a/jero-web/src/views/user/Login.vue +++ b/jero-web/src/views/user/Login.vue @@ -28,7 +28,6 @@ type="password" autocomplete="false" placeholder="请输入密码" - @paste.native.capture.prevent="handleOperate" > @@ -36,7 +35,7 @@ - + @@ -50,26 +49,29 @@ - - + - - 自动登录 + + + 自动登录 + - + - - 忘记密码 - + + + 忘记密码 + + - +