update login and logo style

This commit is contained in:
medcl 2020-03-28 13:29:49 +08:00
parent 7d213f4eae
commit 9685b53930
4 changed files with 4 additions and 6 deletions

View File

@ -19,7 +19,6 @@
window.routerBase = '/';
window.resourceBaseUrl = '{{ helper.assets.resourceBase }}';
</script>
<script src="https://gw.alipayobjects.com/os/antv/pkg/_antv.data-set-0.9.6/dist/data-set.min.js"></script>
{% if ctx.app.config.env === 'local' -%}
{{ helper.assets.getScript('umi.dll.js') | safe }}
{%- endif %}

View File

@ -21,7 +21,7 @@
display: inline-block;
vertical-align: middle;
font-size: 20px;
margin: 0 0 0 12px;
margin: 3px 0 0 12px;
font-family: 'Myriad Pro', 'Helvetica Neue', Arial, Helvetica, sans-serif;
font-weight: 600;
}

View File

@ -41,7 +41,6 @@
}
.header {
height: 44px;
line-height: 44px;
a {
text-decoration: none;
@ -60,7 +59,7 @@
font-family: 'Myriad Pro', 'Helvetica Neue', Arial, Helvetica, sans-serif;
font-weight: 600;
position: relative;
top: 2px;
top: 5px;
}
.desc {

View File

@ -81,10 +81,10 @@ class LoginPage extends Component {
login.type === 'account' &&
!submitting &&
this.renderMessage(formatMessage({ id: 'app.login.message-invalid-credentials' }))}
<UserName name="userName" placeholder="admin/user" />
<UserName name="userName" placeholder="username" />
<Password
name="password"
placeholder="888888/123456"
placeholder="password"
onPressEnter={() => this.loginForm.validateFields(this.handleSubmit)}
/>
</Tab>