From 39868da3de6192d19dfd316c8be1c080b2d3ebe7 Mon Sep 17 00:00:00 2001 From: zhouwx <1175765986@qq.com> Date: 星期五, 18 四月 2025 14:35:46 +0800 Subject: [PATCH] 修改 --- src/views/homePage.vue | 37 ++++++++++++++++++++++++++++++++++--- 1 files changed, 34 insertions(+), 3 deletions(-) diff --git a/src/views/homePage.vue b/src/views/homePage.vue index 480d40d..f136db4 100644 --- a/src/views/homePage.vue +++ b/src/views/homePage.vue @@ -293,6 +293,10 @@ sidebarRouters.value = menu.commonMenu } Cookies.set('routers',JSON.stringify(sidebarRouters.value)) + }else { + ElMessage.warning('监管部门账号不可登录') + loading.value = false + return } let path = "" if(sidebarRouters.value[0].children && sidebarRouters.value[0].children.length > 0){ @@ -376,19 +380,31 @@ .content{ display: flex; min-width: 1200px; - min-height: 600px; + min-height: 560px; border-radius: 16px; background: url("../assets/images/logbox.jpg") no-repeat center; background-size: cover; box-shadow: 0 10px 20px rgba(0,0,0,.1); transform: translateY(-50px); + position: relative; +} +@keyframes float { + 100% { + transform: translateX(0); + opacity: 100%; + -webkit-opacity: 100% + } } .imgBox { width: 50%; - min-height: 600px; + min-height: 560px; + opacity: 0; + -webkit-opacity: 0; + transform: translateX(50px); display: flex; justify-content: center; align-items: center; + animation: float ease 0.6s 0.6s forwards; } .fromRow{ width: 100%; @@ -402,16 +418,31 @@ align-items: center; background-repeat: no-repeat; } +@keyframes showForm { + 100% { + transform: translateY(0); + opacity: 100%; + -webkit-opacity: 100% + } +} .formBox{ width: 50%; height: 100%; + position: absolute; + right: 0; + top: -20px; + transform: translateY(30px); + opacity: 0; + -webkit-opacity: 0; min-height: 600px; - border-radius: 0 16px 16px 0; + border-radius: 16px; background: #fff; padding: 30px; display: flex; flex-direction: column; justify-content: center; + z-index: 999; + animation: showForm ease-in-out 0.6s forwards; } .loginTitle{ width: 100%; -- Gitblit v1.9.2