|
|
@ -1,10 +1,13 @@
|
|
|
|
import { FC, useEffect, useState } from 'react';
|
|
|
|
import { FC, useEffect, useState } from 'react';
|
|
|
|
import styles from './index.less';
|
|
|
|
import styles from './index.less';
|
|
|
|
|
|
|
|
import { Modal } from 'antd';
|
|
|
|
|
|
|
|
import ButtonComp from '@/components/ButtonComp';
|
|
|
|
|
|
|
|
|
|
|
|
interface PageProps {
|
|
|
|
interface PageProps {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const PowerOnAuth: FC<PageProps> = ({ }) => {
|
|
|
|
const PowerOnAuth: FC<PageProps> = ({ }) => {
|
|
|
|
|
|
|
|
const [visibility, setVisibility] = useState<boolean>(true);
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<div className={styles.con_warp}>
|
|
|
|
<div className={styles.con_warp}>
|
|
|
@ -50,6 +53,26 @@ const PowerOnAuth: FC<PageProps> = ({ }) => {
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{/* 开机认证 */}
|
|
|
|
|
|
|
|
<Modal
|
|
|
|
|
|
|
|
title="开机认证"
|
|
|
|
|
|
|
|
open={visibility}
|
|
|
|
|
|
|
|
centered
|
|
|
|
|
|
|
|
width={380}
|
|
|
|
|
|
|
|
onCancel={() => setVisibility(false)}
|
|
|
|
|
|
|
|
footer={null}
|
|
|
|
|
|
|
|
maskClosable={false}
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<div style={{ display: 'flex', justifyContent: 'center', fontSize: 16}}>
|
|
|
|
|
|
|
|
开机认证成功!
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div className='flex_jE mt20'>
|
|
|
|
|
|
|
|
<ButtonComp text={'确定'} onClick={() => {}} />
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</Modal>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|