From a41b9ff62e7a809b8ec1c4b000720a1c3a7448a2 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 06 六月 2024 14:40:38 +0800
Subject: [PATCH] #
---
src/pages/right/index.jsx | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/pages/right/index.jsx b/src/pages/right/index.jsx
index 06ee269..649b64f 100644
--- a/src/pages/right/index.jsx
+++ b/src/pages/right/index.jsx
@@ -6,14 +6,14 @@
import Panel from '@/components/panel';
-// import Allerway from './components/Allerway';
+import InOutCharts from './components/inout-charts';
import StatCharts from './components/stat-charts';
import TaskCharts from './components/task-charts';
// import Handles from './components/Handles';
const Right = () => {
- const [isExpanded, setIsExpanded] = useState(false);
-
+ const [isExpanded, setIsExpanded] = useState(true);
+
const containerAnimation = useSpring({
transform: isExpanded ? 'translate(0%)' : 'translateX(100%)',
config: { precision: 0.01 },
@@ -30,16 +30,16 @@
}}
className={`absolute top-2 w-[280px] right-2 bottom-2 ${styles.panel}`}
>
- <div className="overflow-auto h-full">
- <Panel title="鍑哄叆搴撲俊鎭�">
- {/* <Allerway /> */}
- </Panel>
- <Panel title="鍑哄叆搴撶粺璁�">
+ <div className="overflow-hidden h-full">
+ <Panel title="涓�鍛ㄥ唴鍑哄叆搴撶粺璁�">
<StatCharts />
</Panel>
- <Panel title="浠诲姟鍒嗗竷">
+ <Panel title="涓�鍛ㄥ唴浠诲姟鍒嗗竷">
<TaskCharts />
</Panel>
+ <Panel title="AGV淇℃伅">
+ <InOutCharts />
+ </Panel>
</div>
<div
className={`${'absolute text-white top-1/2 -translate-y-1/2 left-[-21px] bg-black bg-opacity-20 text-xl font-bold bg'}`}
--
Gitblit v1.9.1