From 4ee0610b0088b35f7f48b020b807453e28297b45 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 10 十月 2024 13:43:16 +0800
Subject: [PATCH] #
---
zy-acs-flow/src/map/settings/index.jsx | 15 +++++++++++++++
zy-acs-flow/src/map/insight/index.jsx | 15 +++++++++++++++
zy-acs-flow/src/map/MapPage.jsx | 17 +++++++++++++++++
3 files changed, 47 insertions(+), 0 deletions(-)
diff --git a/zy-acs-flow/src/map/MapPage.jsx b/zy-acs-flow/src/map/MapPage.jsx
index 5ed4622..1839aef 100644
--- a/zy-acs-flow/src/map/MapPage.jsx
+++ b/zy-acs-flow/src/map/MapPage.jsx
@@ -22,7 +22,9 @@
import Player from './player';
import * as Tool from './tool';
import { NotificationProvider, useNotification } from './Notification';
+import Insight from "./insight";
import Device from "./Device";
+import Settings from "./settings";
import * as Http from './http';
let player;
@@ -39,6 +41,7 @@
const [mapContainer, setMapContainer] = useState(null);
const [mode, setMode] = useState(MapMode.OBSERVER_MODE);
+ const [insightVisible, setInsightVisible] = useState(false);
const [deviceVisible, setDeviceVisible] = useState(false);
const [settingsVisible, setSettingsVisible] = useState(false);
@@ -291,6 +294,13 @@
</SpeedDial>
</Box>
+ <Insight
+ open={insightVisible}
+ onCancel={() => {
+ setInsightVisible(false);
+ }}
+ />
+
<Device
open={deviceVisible}
onCancel={() => {
@@ -300,6 +310,13 @@
width={378}
/>
+ <Settings
+ open={settingsVisible}
+ onCancel={() => {
+ setSettingsVisible(false);
+ }}
+ />
+
</Box>
);
}
diff --git a/zy-acs-flow/src/map/insight/index.jsx b/zy-acs-flow/src/map/insight/index.jsx
new file mode 100644
index 0000000..479dd9f
--- /dev/null
+++ b/zy-acs-flow/src/map/insight/index.jsx
@@ -0,0 +1,15 @@
+
+
+const Insight = (props) => {
+ const { open, onCancel } = props;
+
+
+ return (
+ <>
+
+ </>
+ )
+}
+
+
+export default Insight;
\ No newline at end of file
diff --git a/zy-acs-flow/src/map/settings/index.jsx b/zy-acs-flow/src/map/settings/index.jsx
new file mode 100644
index 0000000..ddaed44
--- /dev/null
+++ b/zy-acs-flow/src/map/settings/index.jsx
@@ -0,0 +1,15 @@
+
+
+const Settings = (props) => {
+ const { open, onCancel } = props;
+
+
+ return (
+ <>
+
+ </>
+ )
+}
+
+
+export default Settings;
\ No newline at end of file
--
Gitblit v1.9.1