mirror of
https://github.com/PlayEdu/backend
synced 2025-12-23 07:09:27 +08:00
左侧栏初步
This commit is contained in:
0
src/pages/dashboard/Dashboard.module.css
Normal file
0
src/pages/dashboard/Dashboard.module.css
Normal file
10
src/pages/dashboard/Dashboard.tsx
Normal file
10
src/pages/dashboard/Dashboard.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import React from "react";
|
||||
import styles from "./Dashboard.module.css";
|
||||
|
||||
export const Dashboard: React.FC<any> = () => {
|
||||
return (
|
||||
<div>
|
||||
<p>首頁概況</p>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
1
src/pages/dashboard/index.ts
Normal file
1
src/pages/dashboard/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from "./Dashboard";
|
||||
@@ -1,14 +1,6 @@
|
||||
.page-content {
|
||||
width: 1200px;
|
||||
min-height: calc(100vh - 173px);
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-top: 30px;
|
||||
margin-bottom: 100px;
|
||||
}
|
||||
|
||||
.layout-wrap {
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
@@ -21,3 +13,16 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.right-top {
|
||||
width: 100%;
|
||||
height: 48px;
|
||||
}
|
||||
|
||||
.right-main {
|
||||
flex: 1;
|
||||
box-sizing: border-box;
|
||||
padding: 24px;
|
||||
overflow-y: auto;
|
||||
background-color: #f1f2f9;
|
||||
}
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
export * from "./home";
|
||||
export * from "./login";
|
||||
export * from "./login";
|
||||
export * from "./dashboard";
|
||||
Reference in New Issue
Block a user