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 @@ - - + - - 自动登录 + + + 自动登录 + - + - - 忘记密码 - + + + 忘记密码 + + - +