diff --git a/src/pages/index.jsx b/src/pages/index.jsx index 20b430c..057ca54 100644 --- a/src/pages/index.jsx +++ b/src/pages/index.jsx @@ -1,14 +1,10 @@ import './global.less'; import './index.less'; import Head from '../components/公共组件/顶部公司名称'; -import LeftBar from '../components/模块组件/总览/LeftSide'; -import BottomBar from '../components/模块组件/总览/Bottom'; -import RightBar from '../components/模块组件/总览/RightSide'; -import CenterTopData from '../components/模块组件/总览/CenterTop'; + import { SocketContextProvider } from '../store/socket-data-provider'; import useSlider, { Slider } from '../hooks/useSlider'; import NavMenu from '../components/公共组件/导航菜单'; -import V3DBG from '../assets/V3DBG.png'; import { useState } from 'react'; // import V3D from './V3D'; import Home from './总览'; @@ -25,22 +21,13 @@ export default function index() { <>
setNavActive(v)} /> + - -
- -
-
- -
- 图片加载错误 -
{/* */}
-
- -
-
- -
+ {navActive == '窑炉总览' && } + {navActive == '质检统计' && } + {navActive == '退火监测' && } + {navActive == '能耗分析' && } + {navActive == '窑炉内部' && }
diff --git a/src/pages/总览/index.jsx b/src/pages/总览/index.jsx index 3c97a2e..616daf4 100644 --- a/src/pages/总览/index.jsx +++ b/src/pages/总览/index.jsx @@ -1,3 +1,25 @@ +import LeftBar from '../../components/模块组件/总览/LeftSide'; +import BottomBar from '../../components/模块组件/总览/Bottom'; +import RightBar from '../../components/模块组件/总览/RightSide'; +import CenterTopData from '../../components/模块组件/总览/CenterTop'; + +import V3DBG from '../../assets/V3DBG.png'; + export default function Home() { - return
Home
; + return ( +
+ +
+
+ +
+ 图片加载错误 +
+
+ +
+
+ +
+ ); }