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.routerBase = '/';
window.resourceBaseUrl = '{{ helper.assets.resourceBase }}'; window.resourceBaseUrl = '{{ helper.assets.resourceBase }}';
</script> </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' -%} {% if ctx.app.config.env === 'local' -%}
{{ helper.assets.getScript('umi.dll.js') | safe }} {{ helper.assets.getScript('umi.dll.js') | safe }}
{%- endif %} {%- endif %}

View File

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

View File

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

View File

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