diff --git a/src/components/Result/index.less b/src/components/Result/index.less
index 6cebc9da637a125ef2d3421e0645fe0e23a8ba17..68652a9ebea4c0b103d68ff7f00d6ba4c89cb5a9 100644
--- a/src/components/Result/index.less
+++ b/src/components/Result/index.less
@@ -24,24 +24,28 @@
color: @heading-color;
font-weight: 500;
line-height: 32px;
- margin-bottom: 8px;
+ margin-bottom: 16px;
}
.description {
font-size: 14px;
color: @text-color-secondary;
- margin-bottom: 16px;
+ margin-bottom: 24px;
}
.extra {
background: rgba(245, 245, 245, 0.5);
padding: 16px 40px;
- margin-bottom: 24px;
+ margin-top: 24px;
border-radius: @border-radius-sm;
text-align: left;
}
- .actions button:not(:last-child) {
- margin-right: 8px;
+ .actions {
+ margin-top: 32px;
+
+ button:not(:last-child) {
+ margin-right: 8px;
+ }
}
}
diff --git a/src/layouts/UserLayout.less b/src/layouts/UserLayout.less
index 1a66afc5810d5bc99a9e26ee216c4da7fbd8abc6..e245a390646bd7378fa9708cfa34cd33e8b6726a 100644
--- a/src/layouts/UserLayout.less
+++ b/src/layouts/UserLayout.less
@@ -1,13 +1,13 @@
@import "~antd/lib/style/themes/default.less";
.container {
- background: @background-color-base;
- background-image: url('https://gw.alipayobjects.com/zos/rmsportal/bOjjckIwLKuWCswKAghg.svg');
+ background: #f0f2f5;
+ background-image: url('https://gw.alipayobjects.com/zos/rmsportal/TVYTbAXWheQpRcWDaDMu.svg');
width: 100%;
min-height: 100%;
background-repeat: no-repeat;
background-position: center;
- background-size: 85%;
+ background-size: 100%;
padding: 110px 0 144px 0;
position: relative;
}
@@ -27,7 +27,7 @@
.logo {
height: 44px;
vertical-align: top;
- margin-right: 12px;
+ margin-right: 16px;
}
.title {
@@ -39,7 +39,7 @@
}
.desc {
- font-size: @font-size-lg;
+ font-size: @font-size-base;
color: @text-color-secondary;
margin-top: 12px;
margin-bottom: 40px;
diff --git a/src/routes/User/Login.js b/src/routes/User/Login.js
index 3866513004de9bedd2e5037a77a101379011e6b3..dc441ea10aa75dbc2c6f63ee751f452e00a39088 100644
--- a/src/routes/User/Login.js
+++ b/src/routes/User/Login.js
@@ -63,7 +63,7 @@ export default class Login extends Component {
renderMessage = (message) => {
return (
}
placeholder="admin"
/>
@@ -105,6 +106,7 @@ export default class Login extends Component {
}],
})(
}
type="password"
placeholder="888888"
@@ -128,6 +130,7 @@ export default class Login extends Component {
}],
})(
}
placeholder="手机号"
/>
@@ -167,10 +170,10 @@ export default class Login extends Component {
valuePropName: 'checked',
initialValue: true,
})(
- 自动登录
+ 自动登录
)}
忘记密码
-