-
+
-
{
-
- console.log(item.name)
- }
- }
- />
+
+
+
+ 您好:18888888
+
+
+
+
diff --git a/src/layout/head/head.css b/src/layout/head/head.css
index 27565c8..b84e38a 100644
--- a/src/layout/head/head.css
+++ b/src/layout/head/head.css
@@ -5,7 +5,7 @@
top: 0;
left: 0;
background-color: var(--color-light);
- box-shadow: 0 3px 3px rgba(0, 0, 0, 0.3);
+ box-shadow: 0 2px 6px 0 var(--color-box-shadow);
z-index: 0;
color: var(--color-dark);
}
@@ -45,6 +45,7 @@
padding-left: 60px;
display: flex;
justify-content: right;
+ background-image: url('./head-right-bg.png');
}
.head .center .head-item {
@@ -56,4 +57,14 @@
font-size: var(--font-size-head);
cursor: pointer;
position: relative;
+}
+
+.ant-dropdown .dropdown-item {
+ display: flex;
+ width: 100%;
+ justify-content: center;
+}
+
+.ant-dropdown .dropdown-item .title {
+ margin-left: 5px;
}
\ No newline at end of file
diff --git a/src/main.tsx b/src/main.tsx
index 3d7150d..0475b4a 100644
--- a/src/main.tsx
+++ b/src/main.tsx
@@ -4,7 +4,7 @@ import App from './App.tsx'
import './index.css'
ReactDOM.createRoot(document.getElementById('root')!).render(
-
-
- ,
+
+
+ ,
)
diff --git a/src/route/index/index.css b/src/route/index/index.css
index 2f7069c..ba08d02 100644
--- a/src/route/index/index.css
+++ b/src/route/index/index.css
@@ -1,20 +1,20 @@
.index {
position: relative;
height: 100%;
- background-color: var(--color-light);
}
.index .left {
position: absolute;
width: 220px;
height: 100%;
+ overflow: auto;
top: 0;
left: 0;
+ background-color: var(--color-light);
}
.index .right {
- margin-left: 220px;
- border-left: 1px solid var(--color-border);
+ margin-left: 235px;
box-sizing: border-box;
height: 100%;
}
\ No newline at end of file
diff --git a/src/route/index/index.tsx b/src/route/index/index.tsx
index 8b74e26..ff03dc2 100644
--- a/src/route/index/index.tsx
+++ b/src/route/index/index.tsx
@@ -19,9 +19,9 @@ export default function Index() {
}
},
list: [
- {id: 'proj1', icon: './vite.svg', name: '全部项目'},
- {id: 'proj2', icon: './vite.svg', name: '进行中的'},
- {id: 'proj3', icon: './vite.svg', name: '已完成的'}
+ {id: 'proj1', name: '全部项目'},
+ {id: 'proj2', name: '进行中的'},
+ {id: 'proj3', name: '已完成的'}
],
handleListItem(e: MouseEvent
, index: number, item: IMenuListItem) {
console.log(e);
@@ -39,9 +39,9 @@ export default function Index() {
}
},
list: [
- {id: 'agent1', icon: './vite.svg', name: '全部项目'},
- {id: 'agent2', icon: './vite.svg', name: '进行中的'},
- {id: 'agent3', icon: './vite.svg', name: '已完成的'},
+ {id: 'agent1', name: '全部项目'},
+ {id: 'agent2', name: '进行中的'},
+ {id: 'agent3', name: '已完成的'},
],
handleListItem(e: MouseEvent, index: number, item: IMenuListItem) {
console.log(e);
diff --git a/src/route/proj/ProjNew.tsx b/src/route/proj/ProjNew.tsx
index bd393df..14e1b5c 100644
--- a/src/route/proj/ProjNew.tsx
+++ b/src/route/proj/ProjNew.tsx
@@ -80,7 +80,7 @@ export default function ProjNew() {
-