向明星 10 months ago
parent cba4b0de62
commit ff6d786877

@ -55,6 +55,10 @@ const CodeDriver: FC<PageProps> = ({
<div className={styles.modal} style={{ width: 500, height: 460 }}>
<img src={require(`../../../assets/images/codemanage/${active}.png`)} width={500} height={460} />
<div className={styles.close} onClick={()=>{
onCancel('一体化密码机驱动安装程序')
}}></div>
{[1, 2].includes(active) && <div className={styles.title}> </div>}
{![1, 2].includes(active) && <div className={styles.title1}> </div>}

@ -77,6 +77,10 @@ const CodeManage: FC<PageProps> = ({
<div className={styles.modal} style={{ width: 500, height: 460 }}>
<img src={require(`../../../assets/images/codemanage/${active}.png`)} width={500} height={460} />
<div className={styles.close} onClick={()=>{
onCancel('一体化密码机管理软件')
}}></div>
{[1, 2].includes(active) && <div className={styles.title}> </div>}
{![1, 2].includes(active) && <div className={styles.title1}> </div>}
{active == 1 && <div className={styles.pic1}></div>}

@ -99,6 +99,10 @@ const CoreArea: FC<PageProps> = ({
<div className={styles.modal} style={{ width: 500, height: 460 }}>
<img src={require(`../../../assets/images/coreArea/${active}.png`)} width={500} height={460} />
<div className={styles.close} onClick={()=>{
onCancel('核心区安装程序')
}}></div>
{[1, 2, 3].includes(active) && <div className={styles.title}> </div>}
{![1, 2, 3].includes(active) && <div className={styles.title1}> </div>}

@ -55,6 +55,10 @@ const CodeDriver: FC<PageProps> = ({
<div className={styles.modal} style={{ width: 500, height: 460 }}>
<img src={require(`../../../assets/images/codemanage/${active}.png`)} width={500} height={460} />
<div className={styles.close} onClick={()=>{
onCancel('密码资源输入输出设备驱动')
}}></div>
{[1, 2].includes(active) && <div className={styles.title}> </div>}
{![1, 2].includes(active) && <div className={styles.title1}> </div>}

@ -99,6 +99,10 @@ const DutyArea: FC<PageProps> = ({
<div className={styles.modal} style={{ width: 500, height: 460 }}>
<img src={require(`../../../assets/images/coreArea/${active}.png`)} width={500} height={460} />
<div className={styles.close} onClick={()=>{
onCancel('执勤区安装程序')
}}></div>
{[1, 2, 3].includes(active) && <div className={styles.title}> </div>}
{![1, 2, 3].includes(active) && <div className={styles.title1}> </div>}

@ -56,6 +56,10 @@ const FlashPlayer: FC<PageProps> = ({
<div className={styles.modal} style={{ width: 656, height: 403 }}>
<img src={require(`../../../assets/images/flashPlayer/${active}.png`)} width={656} height={403} />
<div className={styles.close} onClick={()=>{
onCancel('FlashPlayer9')
}}></div>
{active != 2 && <div
className={styles.f_p}
onClick={() => {

@ -58,6 +58,10 @@ const HGoogleEarth: FC<PageProps> = ({
<div className={styles.modal} style={{ width: 'auto', height: ' auto' }}>
<img src={require(`../../../assets/images/googleEarth/${active}.jpg`)} />
<div className={styles.close} onClick={()=>{
onCancel('HGoogleEarth')
}}></div>
{active == 1 && <div className={styles.g_e} onClick={() => setValue()}></div>}
{active == 2 && <>

@ -56,6 +56,10 @@ const MSXML: FC<PageProps> = ({
<div className={styles.modal}>
<img src={require(`../../../assets/images/MSXML/${active}.jpg`)} width={689} height={508} />
<div className={styles.close} onClick={()=>{
onCancel('MSXML4')
}}></div>
{![6, 7].includes(active) && <div
className={styles.msx1}
style={active == 5 ? {width: 140, right: 170} : {}}

@ -56,6 +56,10 @@ const Net: FC<PageProps> = ({
<div className={styles.modal} style={{width: 500, height: 460}}>
<img src={require(`../../../assets/images/net/${active}.png`)} width={500} height={460} />
<div className={styles.close} onClick={()=>{
onCancel('.NET 2.0')
}}></div>
{[1,2].includes(active) && <div
className={styles.net}
onClick={() => setValue()}>

@ -56,6 +56,10 @@ const NetSP1: FC<PageProps> = ({
<div className={styles.modal} style={{width: 500, height: 460}}>
<img src={require(`../../../assets/images/netsp1/${active}.png`)} width={500} height={460} />
<div className={styles.close} onClick={()=>{
onCancel('.NET 2.0 SP1')
}}></div>
{[1,2].includes(active) && <div
className={styles.net}
onClick={() => setValue()}>

@ -189,4 +189,15 @@
left: 70px;
font-size: 13px;
font-weight: bold;
}
.close{
width: 25px;
height: 25px;
// background: red;
position: absolute;
top: 0px;
right: 5px;
&:hover{
cursor: pointer;
}
}

@ -174,6 +174,14 @@ const InstallExe: FC<PageProps> = ({ }) => {
message.success(text)
}
}
const handleClose = (index: number) => {
let sysName = localStorage.getItem(`${urlParams?.fileType}`);
if (sysName) {
let info = JSON.parse(sysName);
info.installExe[index].select = false;
localStorage.setItem(`${urlParams?.fileType}`, JSON.stringify(info));
}
}
// 取消选中
const uncheck = (name: any) => {

Loading…
Cancel
Save