diff --git a/src/pages/ideContainer/index.tsx b/src/pages/ideContainer/index.tsx
index 2e0493b..2e13fdd 100644
--- a/src/pages/ideContainer/index.tsx
+++ b/src/pages/ideContainer/index.tsx
@@ -13,6 +13,7 @@ import { getAppListBySceneId } from '@/api/apps';
import ProjectContainer from '@/pages/orchestration/project';
import ApplicationContainer from '@/pages/orchestration/application';
import EventContainer from '@/pages/orchestration/event';
+import GlobalVarContainer from '@/pages/orchestration/globalVar';
type UrlParamsOptions = {
identity?: string;
@@ -21,7 +22,6 @@ type UrlParamsOptions = {
const CompListComponent = () =>
组件列表
;
const AppInstanceComponent = () => 应用实例
;
-const GlobalVarComponent = () => 全局变量
;
const AppCompComponent = () => 组件
;
const MyComponents = () => 我的组件
;
const MatchingComponents = () => 协同组件
;
@@ -139,7 +139,7 @@ function IDEContainer() {
case 'event':
return ;
case 'globalVar':
- return ;
+ return ;
case 'appCompList':
return ;
case 'myComponents':
diff --git a/src/pages/orchestration/globalVar/index.tsx b/src/pages/orchestration/globalVar/index.tsx
new file mode 100644
index 0000000..3557fa4
--- /dev/null
+++ b/src/pages/orchestration/globalVar/index.tsx
@@ -0,0 +1,63 @@
+import React, { useState } from 'react';
+import styles from './style/index.module.less';
+import { Button, Divider, Input, Space, Table } from '@arco-design/web-react';
+import { IconSearch } from '@arco-design/web-react/icon';
+
+const GlobalVarContainer = () => {
+ const [selectedItem, setSelectedItem] = useState('数字类型');
+
+ const menuItems = [
+ '数字类型',
+ '字符串类型',
+ '布尔类型',
+ '复合类型',
+ '集合类型',
+ '元祖类型',
+ '实例类型',
+ '列表类型'
+ ];
+
+ return (
+
+ {/*左侧菜单*/}
+
+ {menuItems.map((item, index) => (
+
setSelectedItem(item)}
+ >
+ {item}
+
+ ))}
+
+
+ {/*头部*/}
+
+
全局参数
+
+ }>
+ }
+ placeholder={'搜索'}
+ style={{ width: 236 }}
+ />
+
+
+
+
+ {/*数据列表*/}
+
+
+
+ );
+};
+
+export default GlobalVarContainer;
\ No newline at end of file
diff --git a/src/pages/orchestration/globalVar/style/index.module.less b/src/pages/orchestration/globalVar/style/index.module.less
new file mode 100644
index 0000000..14fd371
--- /dev/null
+++ b/src/pages/orchestration/globalVar/style/index.module.less
@@ -0,0 +1,53 @@
+.global-var-container {
+ display: flex;
+ height: 98%;
+ background-color: #ffffff;
+ padding: 17px 19px 0 24px;
+
+ .global-var-menu {
+ flex: 1;
+ border-right: 4px solid #E5E6EB;
+ padding-left: 30px;
+
+ & > div {
+ width: 80%;
+ height: 36px;
+ margin: 6px 0;
+ font-size: 16px;
+ cursor: pointer;
+ display: flex;
+ align-items: center;
+ padding-left: 10px;
+ }
+
+ .selected {
+ font-weight: bold;
+ background-color: #F0EEFC;
+ border-radius: 4px;
+ }
+ }
+
+
+ .global-var-content {
+ flex: 8;
+ padding: 0 0 0 40px;
+
+ .global-var-header {
+ display: flex;
+ justify-content: space-between;
+ margin-bottom: 15px;
+
+ .global-var-title {
+ font-size: 18px;
+ font-weight: 700;
+ }
+
+ .global-var-handle {
+ }
+ }
+
+ .global-var-list {
+
+ }
+ }
+}
\ No newline at end of file