优化登录页大背景图片文件,加快页面加载 (#660)

* update:优化说明文档

* update:优化登录页大背景图片文件,加快页面加载
This commit is contained in:
hrz
2025-04-03 17:40:53 +08:00
committed by GitHub
parent 4553188739
commit b042a34726
20 changed files with 39 additions and 141 deletions
+14 -2
View File
@@ -1,9 +1,11 @@
.welcome {
min-width: 1200px;
min-height: 675px;
height: 100vh;
background-image: url("@/assets/login/background.png");
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(145deg, #f5f8fd, #6baaff, #9ebbfc, #f5f8fd);
background-size: cover;
/* 确保背景图像覆盖整个元素 */
background-position: center;
@@ -130,3 +132,13 @@
padding: 0;
}
}
.login-person {
width: 500px;
color: #fff;
position: absolute;
top: 50%;
left: 25%;
transform: translate(-50%, -50%);
z-index: 1;
}