+ {/*左侧菜单*/}
+
+ {menuItems.map((item, index) => (
+
setSelectedItem(item.label)}
+ >
+

+
{item.label}
+
+ ))}
+
+
+ {/*头部*/}
+
+
+
+ }
+ placeholder={'搜索'}
+ style={{ width: 236 }}
+ />
+
+
+
+
+
+ {['未设计', '编码中', '已部署'].map((item) => {
+ return (
+
+ {({ checked }) => {
+ return (
+
+ );
+ }}
+
+ );
+ })}
+
+ }>
+
+
+
+
+
+
- ))}
-
-
- {/*头部*/}
-
-
-
- }
- placeholder={'搜索'}
- style={{ width: 236 }}
+ {/*数据列表*/}
+
+
+
+
`第 ${range[0]}-${range[1]} 条,共 ${total} 条`}
+ onChange={handlePageChange}
/>
-
-
-
-
-
- {['未设计', '编码中', '已部署'].map((item) => {
- return (
-
- {({ checked }) => {
- return (
-
- );
- }}
-
- );
- })}
-
- }>
-
-
-
-
+
-
-
- {/*数据列表*/}
-
-
+
+ {/*新增弹窗*/}
+
+ >
);
};
diff --git a/src/pages/componentDevelopment/componentList/style/addComponentModal.module.less b/src/pages/componentDevelopment/componentList/style/addComponentModal.module.less
new file mode 100644
index 0000000..4ef4d57
--- /dev/null
+++ b/src/pages/componentDevelopment/componentList/style/addComponentModal.module.less
@@ -0,0 +1,48 @@
+.add-component-modal {
+ :global(.arco-modal-content) {
+ padding-left: 0;
+ padding-right: 0;
+ background-color: #f7f8fa
+ }
+}
+
+.add-component-container {
+
+ .first-half {
+ width: 100%;
+ display: flex;
+ justify-content: space-between;
+ margin-bottom: 20px;
+
+ .component-preview {
+ overflow: hidden;
+ width: 30%;
+ background-color: #fff;
+ padding: 15px 5px;
+ border: 1px solid transparent;
+ border-top-right-radius: 5px;
+ border-bottom-right-radius: 5px;
+ }
+
+ .component-info {
+ width: 67%;
+ background-color: #fff;
+ padding: 15px 5px;
+ border: 1px solid transparent;
+ border-top-left-radius: 5px;
+ border-bottom-left-radius: 5px;
+ }
+ }
+
+ .last-half {
+ box-sizing: border-box;
+ width: 100%;
+ background-color: #fff;
+ padding: 15px 20px;
+
+ .last-half-header {
+ display: flex;
+ justify-content: space-between;
+ }
+ }
+}
\ No newline at end of file