|
@@ -1,35 +1,40 @@
|
|
import React from "react";
|
|
import React from "react";
|
|
import { useTranslation } from "react-i18next";
|
|
import { useTranslation } from "react-i18next";
|
|
-import {FocusMode as Card} from '../../component/card';
|
|
|
|
-import {ContentBeforeAfter as Form} from '../../component/form';
|
|
|
|
|
|
+import { FocusMode as Card } from "../../component/card";
|
|
|
|
+import { ContentBeforeAfter as Form } from "../../component/form";
|
|
import List from "../listnew";
|
|
import List from "../listnew";
|
|
-import Tree from '../../component/tree';
|
|
|
|
|
|
+import Tree from "../../component/tree";
|
|
|
|
|
|
-import "./index.css"
|
|
|
|
|
|
+import "./index.css";
|
|
|
|
+import { Button, FluentProvider } from "@fluentui/react-components";
|
|
function MyNavlink() {
|
|
function MyNavlink() {
|
|
- const { t } = useTranslation();
|
|
|
|
- return (
|
|
|
|
- <div className="layout-main">
|
|
|
|
- <div className="layout-row">
|
|
|
|
- <div className="layout-col-12 card-height">
|
|
|
|
- <Card></Card>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div className="layout-row">
|
|
|
|
- <div className="layout-col-4 tree-height">
|
|
|
|
- <Tree></Tree>
|
|
|
|
- </div>
|
|
|
|
- <div className="layout-col-8 list-height">
|
|
|
|
- <List></List>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div className="layout-row">
|
|
|
|
- <div className="layout-col-12 form-height">
|
|
|
|
- <Form/>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
|
|
+ const { t } = useTranslation();
|
|
|
|
+ return (
|
|
|
|
+ <div className="layout-main">
|
|
|
|
+ <div className="layout-row">
|
|
|
|
+ <label className="layout-col-12 layout-title">卡片组件</label>
|
|
|
|
+ <div className="layout-col-12 card-height">
|
|
|
|
+ <Card></Card>
|
|
</div>
|
|
</div>
|
|
- );
|
|
|
|
|
|
+ </div>
|
|
|
|
+ <div className="layout-row">
|
|
|
|
+ <label className="layout-col-4 layout-title">树形组件</label>
|
|
|
|
+ <label className="layout-col-8 layout-title">列表组件</label>
|
|
|
|
+ <div className="layout-col-4 tree-height">
|
|
|
|
+ <Tree></Tree>
|
|
|
|
+ </div>
|
|
|
|
+ <div className="layout-col-8 list-height">
|
|
|
|
+ <List></List>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div className="layout-row">
|
|
|
|
+ <label className="layout-col-12 layout-title">表单组件</label>
|
|
|
|
+ <div className="layout-col-12 form-height">
|
|
|
|
+ <Form />
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ );
|
|
}
|
|
}
|
|
|
|
|
|
-export default MyNavlink;
|
|
|
|
|
|
+export default MyNavlink;
|