|
@@ -235,6 +235,7 @@ const Scada = () => {
|
|
});
|
|
});
|
|
return (
|
|
return (
|
|
<Box
|
|
<Box
|
|
|
|
+ big
|
|
title="工艺监控"
|
|
title="工艺监控"
|
|
onClick={() => UnityAction.sendMsg('menuItem', '工艺监控')}
|
|
onClick={() => UnityAction.sendMsg('menuItem', '工艺监控')}
|
|
>
|
|
>
|
|
@@ -247,9 +248,12 @@ const Scada = () => {
|
|
);
|
|
);
|
|
};
|
|
};
|
|
|
|
|
|
-const Box = ({ title, children, onClick }) => {
|
|
|
|
|
|
+const Box = ({ title, children, onClick, big }) => {
|
|
return (
|
|
return (
|
|
- <div className={styles.box} onClick={onClick}>
|
|
|
|
|
|
+ <div
|
|
|
|
+ className={`${styles.box} ${big ? styles.boxBig : ''}`}
|
|
|
|
+ onClick={onClick}
|
|
|
|
+ >
|
|
<div className={styles.boxTitle}>{title}</div>
|
|
<div className={styles.boxTitle}>{title}</div>
|
|
{children}
|
|
{children}
|
|
</div>
|
|
</div>
|