diff --git a/src/assets/line.png b/src/assets/line.png new file mode 100644 index 0000000..ffe97b4 Binary files /dev/null and b/src/assets/line.png differ diff --git a/src/components/模块组件/能耗分析/1 b/src/components/模块组件/能耗分析/1 deleted file mode 100644 index 56a6051..0000000 --- a/src/components/模块组件/能耗分析/1 +++ /dev/null @@ -1 +0,0 @@ -1 \ No newline at end of file diff --git a/src/pages/global.less b/src/pages/global.less index c2c6c8c..9446e66 100644 --- a/src/pages/global.less +++ b/src/pages/global.less @@ -61,3 +61,39 @@ .absolute { position: absolute; } + +.grid { + display: grid; +} + +.gap { + gap: 24px; +} + +.gap-12 { + gap: 12px; +} + +.gap-8 { + gap: 8px; +} + +.gap-6 { + gap: 6px; +} + +.bgray { + background: #fff3; +} + +.row1 { + grid-row: 1 / 2; +} + +.row2 { + grid-row: 2 / 3; +} + +.row3 { + grid-row: 3 / 4; +} diff --git a/src/pages/index.jsx b/src/pages/index.jsx index 5c77a90..257c5c5 100644 --- a/src/pages/index.jsx +++ b/src/pages/index.jsx @@ -8,10 +8,7 @@ import NavMenu from '../components/公共组件/导航菜单'; import { useState } from 'react'; // import V3D from './V3D'; import Home from './总览'; -import CheckInfo from './质检统计'; -import FireCheck from './退火监测'; import EnergyAnalysis from './能耗分析'; -import KilnInner from './窑炉内部'; export default function index() { const { styles, value, setValue } = useSlider(75); diff --git a/src/pages/能耗分析/index.jsx b/src/pages/能耗分析/index.jsx index 31e7c8e..151b9cf 100644 --- a/src/pages/能耗分析/index.jsx +++ b/src/pages/能耗分析/index.jsx @@ -1,4 +1,43 @@ -export default function EnergyAnalysis() { +import cls from './index.module.css'; + +function EnergyAnalysis(props) { console.log('[rendering...] 加载 能耗分析页面'); - return
EnergyAnalysis
; + return ( +
+
+
+ 烟气处理 + 氧气含量: 80% + 一氧化氮排放浓度: 20mg/m³ + 二氧化硫排放浓度: 20mg/m³ + 二氧化氮排放浓度: 20mg/m³ +
+
+
+
+ +
+
+
+
+ +
+ +
+
+
+
+ +
+
+
+
+
+
+
+
+
+ ); } + +export default EnergyAnalysis; diff --git a/src/pages/能耗分析/index.module.css b/src/pages/能耗分析/index.module.css new file mode 100644 index 0000000..e89267e --- /dev/null +++ b/src/pages/能耗分析/index.module.css @@ -0,0 +1,38 @@ +.grid { + display: grid; + justify-content: center; + gap: 24px; + grid-template-columns: 900px 900px 16px 900px 900px; + /* grid-template-rows: 128px 389px 389px; */ + height: 100%; +} + +.vgrid { + display: grid; + gap: 24px; + grid-template-rows: 128px 389px 389px; +} + +.vvgrid { + display: grid; + gap: 24px; + grid-template-rows: repeat(3, 253px); +} + +.line { + background: url(../../assets/line.png) 0 60% no-repeat; +} + +.smoke { + display: grid; + gap: 6px; + grid-template-columns: 187px 347px 347px ; + grid-template-rows: 60px 60px; +} + + +.oxygen {} + +.no { + +} \ No newline at end of file