update good rate part

This commit is contained in:
lb
2023-07-01 10:59:38 +08:00
parent 75a41a5713
commit 45c3edcd48
12 changed files with 114 additions and 51 deletions

View File

@@ -1,6 +1,19 @@
import cls from './good.module.less';
import Container from '../Container';
import TodayTableData from './substitutionCharts/TodayTableData';
import GoodRateChart from './substitutionCharts/GoodRateChart';
import TechSplitline from './substitutionCharts/TechSplitline';
const GoodProduction = () => {
return <div></div>
}
return (
<Container icon="good" title="本日生产良品率" className={cls.goodProd}>
<div className="goodProd__content">
<TodayTableData />
<TechSplitline />
<GoodRateChart />
</div>
</Container>
);
};
export default GoodProduction;
export default GoodProduction;

View File

@@ -52,7 +52,7 @@ export default function Kiln() {
<Container title="窑炉信息" icon="kiln" className={cls.leftBar__top}>
<div className={cls.leftBar__top__content}>
{infos.map((item) => (
<div className={cls.info__item}>
<div key={item.label} className={cls.info__item}>
{item.label}: {item.value}
</div>
))}

View File

@@ -0,0 +1,9 @@
.goodProd {
background: url(../../assets/good.png) no-repeat, #9f84;
background-size: 100% 100%;
width: 625px;
// height: 626px;
flex: 1;
height: 1px;
margin-top: 24px;
}

View File

@@ -0,0 +1,7 @@
import cls from './index.module.less';
const GoodRateChart = (props) => {
return <div className={cls.GoodRateChart}>good rate chart</div>;
};
export default GoodRateChart;

View File

@@ -0,0 +1,7 @@
import cls from './index.module.less';
const TechSplitline = (props) => {
return <div className={cls.techSplitline}></div>;
};
export default TechSplitline;

View File

@@ -0,0 +1,5 @@
.techSplitline {
height: 2px;
width: 100%;
background: radial-gradient(#3ce7ff, #3ce8ff92, #3ce8ff32, transparent);
}

View File

@@ -0,0 +1,7 @@
import cls from './index.module.less';
const TodayTableData = (props) => {
return <div className={cls.todayTableData}>today table data</div>;
};
export default TodayTableData;