|
@@ -2,6 +2,8 @@ import { Form, Input, Button, message } from 'antd';
|
|
import { UserOutlined, LockOutlined } from '@ant-design/icons';
|
|
import { UserOutlined, LockOutlined } from '@ant-design/icons';
|
|
import apiObj from '@api/index';
|
|
import apiObj from '@api/index';
|
|
import './index.less'
|
|
import './index.less'
|
|
|
|
+import loginBg from '@images/login-bg.png'
|
|
|
|
+import loginIcon from '@images/logo1.png'
|
|
|
|
|
|
const {post,api,interceptors} = apiObj;
|
|
const {post,api,interceptors} = apiObj;
|
|
function Login({history}) {
|
|
function Login({history}) {
|
|
@@ -26,11 +28,12 @@ function Login({history}) {
|
|
<div className="login-container clearfix">
|
|
<div className="login-container clearfix">
|
|
<div className="bg-box">
|
|
<div className="bg-box">
|
|
<h1>AI病案质控平台</h1>
|
|
<h1>AI病案质控平台</h1>
|
|
- <img src="" alt="背景图片"/>
|
|
|
|
|
|
+ <img src={loginBg} alt="背景图片"/>
|
|
</div>
|
|
</div>
|
|
<div className="content-box">
|
|
<div className="content-box">
|
|
<div className="logo">
|
|
<div className="logo">
|
|
- <img src="" alt="logo"/>
|
|
|
|
|
|
+ <img src={loginIcon} alt="logo"/>
|
|
|
|
+ <p className='welcome'>欢迎使用!</p>
|
|
</div>
|
|
</div>
|
|
<Form className='form-box' layout='vertical' onFinish={onLogin}>
|
|
<Form className='form-box' layout='vertical' onFinish={onLogin}>
|
|
<Form.Item
|
|
<Form.Item
|