chore: 优化登录页面样式

pull/213/head
xiaojunnuo 2024-10-11 00:22:06 +08:00
parent 49395e8cb6
commit 443f3e7f10
1 changed files with 7 additions and 4 deletions

View File

@ -51,7 +51,7 @@ const siteInfo: Ref<SiteInfo> = computed(() => {
}); });
</script> </script>
<style lang="less" scoped> <style lang="less">
#userLayout.user-layout-wrapper { #userLayout.user-layout-wrapper {
height: 100%; height: 100%;
@ -66,7 +66,7 @@ const siteInfo: Ref<SiteInfo> = computed(() => {
.login-container { .login-container {
width: 100%; width: 100%;
min-height: 100%; height: 100%;
background: #f0f2f5 url(/static/background.svg) no-repeat 50%; background: #f0f2f5 url(/static/background.svg) no-repeat 50%;
background-size: 100%; background-size: 100%;
//padding: 50px 0 84px; //padding: 50px 0 84px;
@ -74,8 +74,10 @@ const siteInfo: Ref<SiteInfo> = computed(() => {
.user-layout-content { .user-layout-content {
padding: 32px 0 24px; padding: 32px 0 24px;
height: 100%;
.top { .top {
margin-top: 100px;
text-align: center; text-align: center;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -119,8 +121,9 @@ const siteInfo: Ref<SiteInfo> = computed(() => {
} }
.main { .main {
min-width: 300px; width: 400px;
width: 94%; max-width: 90vw;
flex: 1;
} }
.footer { .footer {