添加返回首页人口

master_basic
鲁誉程 1 year ago
parent 6afa4cb2ad
commit e7872bc586

@ -1,4 +1,5 @@
.entrance {
position: relative;
width: 100vw;
min-height: 100vh;
background: url('../../assets/images/bk_img.png') no-repeat;
@ -50,4 +51,12 @@
margin-right: 20px;
background-color: saddlebrown;
}
}
.goback {
position: absolute;
left: 20px;
top: 20px;
font-size: 18px;
cursor: pointer;
}

@ -3,6 +3,7 @@ import { history, useLocation } from "umi";
import styles from './index.less';
import { Input, Modal, message } from 'antd';
import ButtonComp from '@/components/ButtonComp';
import { LeftOutlined } from '@ant-design/icons';
interface PageProps { }
@ -48,6 +49,7 @@ const CoreSystemEntrance: FC<PageProps> = ({ }) => {
return (
<div className={styles.entrance}>
<div className={styles.goback} onClick={() => history.push('/')}><LeftOutlined /></div>
<div className={styles.text_warp}>
<div></div>
<div></div>

@ -3,6 +3,7 @@ import { history, useLocation } from 'umi';
import styles from './index.less';
import DeviceInstall from './DeviceInstall';
import PowerOnAuth from './PowerOnAuth';
import { LeftOutlined } from '@ant-design/icons';
interface PageProps { }
@ -56,7 +57,7 @@ const InitialSystem: FC<PageProps> = ({ }) => {
<div className={styles.initial_warp}>
{/* 头部 */}
<div className={styles.header_warp}>
<div className='ml20'></div>
<div className='ml20' style={{cursor: 'pointer'}} onClick={() => history.push('/')}><LeftOutlined /></div>
<div className='mr20'></div>
</div>
{/* 底部 */}

Loading…
Cancel
Save