优化登录和注册界面

This commit is contained in:
季圣华
2023-08-24 23:07:19 +08:00
parent 7b33475441
commit dbaf7db3da
4 changed files with 18 additions and 10 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 257 KiB

After

Width:  |  Height:  |  Size: 258 KiB

View File

@@ -162,7 +162,7 @@
#userLayout.user-layout-wrapper { #userLayout.user-layout-wrapper {
position: fixed; position: fixed;
left: 50%; left: 50%;
top: 16%; top: 12%;
margin-left: -543px; margin-left: -543px;
height: 100%; height: 100%;
@@ -193,13 +193,13 @@
background-size: 100%; background-size: 100%;
position: relative; position: relative;
width: 340px; width: 340px;
height: 520px; height: 460px;
background: rgba(255, 255, 255, 1); background: rgba(255, 255, 255, 1);
border-radius: 8px; border-radius: 8px;
right: 0; right: 0;
top: 0; top: 0;
padding: 30px 30px 0 30px; padding: 10px 30px 0 30px;
margin-top: 30px; margin-top: 50px;
-webkit-box-shadow: 0 2px 6px 0 rgb(200 200 200); -webkit-box-shadow: 0 2px 6px 0 rgb(200 200 200);
box-shadow: 0 2px 6px 0 rgb(200 200 200); box-shadow: 0 2px 6px 0 rgb(200 200 200);
overflow: hidden; overflow: hidden;
@@ -214,8 +214,8 @@
.header { .header {
height: 44px; height: 44px;
line-height: 44px; line-height: 44px;
margin-top: 45px; margin-top: 35px;
margin-bottom: 45px; margin-bottom: 35px;
.title { .title {
font-size: 35px; font-size: 35px;
color: #666; color: #666;
@@ -243,13 +243,13 @@
} }
} }
.footer { .footer {
position: fixed; position: absolute;
left: 0;
bottom: 0; bottom: 0;
width: 100%;
padding: 0 16px; padding: 0 16px;
margin: 48px 0 12px; margin: 48px 0 12px;
text-align: center; text-align: center;
left: 33%;
right: 33%;
.links { .links {
margin-bottom: 8px; margin-bottom: 8px;

View File

@@ -30,7 +30,7 @@
</router-link> </router-link>
</a-form-item> </a-form-item>
<a-form-item style="margin-top:24px"> <a-form-item style="margin-top:30px">
<a-button <a-button
size="large" size="large"
type="primary" type="primary"
@@ -375,6 +375,10 @@
font-size: 14px; font-size: 14px;
} }
.ant-form-item {
margin-bottom: 30px;
}
.getCaptcha { .getCaptcha {
display: block; display: block;
width: 100%; width: 100%;

View File

@@ -305,6 +305,10 @@
<style lang="less" scoped> <style lang="less" scoped>
.user-layout-register { .user-layout-register {
.ant-form-item {
margin-bottom: 18px;
}
& > h3 { & > h3 {
font-size: 16px; font-size: 16px;
margin-bottom: 20px; margin-bottom: 20px;