diff --git a/src/components/Main/Bucket/index.module.less b/src/components/Main/Bucket/index.module.less
new file mode 100644
index 0000000..47bfce4
--- /dev/null
+++ b/src/components/Main/Bucket/index.module.less
@@ -0,0 +1,10 @@
+.proCard{
+ max-width: 100%;
+ margin: 10px;
+}
+.div_proCard{
+ display: flex;
+ flex-direction: row;
+ gap: 20px;
+ flex-wrap: wrap;
+}
diff --git a/src/components/Main/Bucket/index.tsx b/src/components/Main/Bucket/index.tsx
index d526060..3ee3de6 100644
--- a/src/components/Main/Bucket/index.tsx
+++ b/src/components/Main/Bucket/index.tsx
@@ -1,7 +1,97 @@
/** @format */
import { FunctionComponent } from "react";
+import { ProCard } from "@ant-design/pro-components";
+import { Avatar, Button } from "antd";
+import {
+ EditOutlined,
+ EllipsisOutlined,
+ PlusCircleFilled,
+ SettingOutlined,
+} from "@ant-design/icons";
+import bucket from "@/assets/icons/bucket.svg";
+import selectOptions from "@/components/Main/Settings/defaultSettings.ts";
+import StorageIcon from "@/context/stroage-icon.ts";
+import styles from "./index.module.less";
const Bucket: FunctionComponent = () => {
- return
存储桶
;
+ // const [modalVisit, setModalVisit] = useState(false);
+ const bucketList = selectOptions.map((storage, index) => {
+ return (
+ {
+ console.log(collapsed);
+ }}
+ title={
+
+
+ {storage.name}
+
+ }
+ headerBordered
+ collapsible
+ defaultCollapsed
+ extra={
+ }
+ size="middle"
+ onClick={() => {
+ // setDrawerVisit(true);
+ }}>
+ 创建
+
+ }>
+
+
,
+
,
+
,
+ ]}>
+
+
size
+
+
,
+
,
+
,
+ ]}>
+
+
+
+
+ );
+ });
+
+ return (
+ <>
+
+ {bucketList}
+
+ >
+ );
};
export default Bucket;
diff --git a/src/components/Main/Bucket/index_createBucket.tsx b/src/components/Main/Bucket/index_createBucket.tsx
new file mode 100644
index 0000000..ed5fc79
--- /dev/null
+++ b/src/components/Main/Bucket/index_createBucket.tsx
@@ -0,0 +1,87 @@
+/** @format */
+
+import { FunctionComponent, useState } from "react";
+import {
+ ModalForm,
+ ProForm,
+ ProFormDateRangePicker,
+ ProFormSelect,
+ ProFormText,
+} from "@ant-design/pro-components";
+import { message } from "antd";
+
+const createBucket: FunctionComponent = () => {
+ const [modalVisit, setModalVisit] = useState(false);
+ return (
+ <>
+ {
+ message.success("提交成功");
+ return true;
+ }}
+ onOpenChange={setModalVisit}>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ >
+ );
+};
+export default createBucket;