diff --git a/src/components/login/Login.css b/src/components/login/Login.css index 9757dfa..91088ac 100644 --- a/src/components/login/Login.css +++ b/src/components/login/Login.css @@ -28,6 +28,7 @@ line-height: 36px; font-weight: 700; color: #eda716; + margin: 0.67em 0 !important; } .header .logo h1 span { @@ -110,7 +111,7 @@ .loginForm_mode{ position: absolute; width: 330px; - height: 380px; + height: 320px; padding: 0 27px; /*top: 2%;*/ right: 5%; @@ -121,7 +122,7 @@ box-shadow: 2px 2px 3px rgba(214, 214, 214, .9); } .loginForm_face{ - height: 487px; + height: 437px; } .loginForm_face .normalLogin{ @@ -138,7 +139,7 @@ } .loginMiddle { - height: 195px; + height: 125px; } .loginTip { diff --git a/src/components/login/Login.js b/src/components/login/Login.js index 1a6eb28..a4c2d1c 100644 --- a/src/components/login/Login.js +++ b/src/components/login/Login.js @@ -3,20 +3,14 @@ import { LockOutlined, UserOutlined } from '@ant-design/icons'; import { Form } from '@ant-design/compatible'; import '@ant-design/compatible/assets/index.css'; import { Input, Button, Select, message, Radio } from 'antd-v4'; -import { FloatButton } from 'antd'; -import commonConfig from '../../utils/config'; -import * as commonServices from '../../services/services'; -import * as commonFunc from '../../components/Common/commonFunc'; +import commonConfig from '@/utils/config'; +import * as commonServices from '@/services/services'; +import * as commonFunc from '@/components/Common/commonFunc'; import logo from '@/assets/foot_logo.png'; -import * as commonUtils from '../../utils/utils'; +import * as commonUtils from '@/utils/utils'; import styles from './Login.css'; import FaceDetect from '../FaceDetect'; - -const AppComponent = () => { - return -} - const FormItem = Form.Item; const { Option } = Select; @@ -370,7 +364,6 @@ class LoginForm extends Component { return (
-

{XiaoLingYang}{WelcometoERP}

@@ -416,14 +409,14 @@ class LoginForm extends Component { {/* rules: [{ required: true, message: pleaseInputPassword }],*/} {/* })(} type="password" placeholder={pleaseInputPassword} />)}*/} {/**/} - + {/*
{getFieldDecorator('companys', { initialValue: companysId, rules: [{ required: true, message: chooseBranchCompany }], })()}
-
+
*/}