Commit 6f3aa35e authored by 陈前坚's avatar 陈前坚

perf: style

parent c7af9ddd
...@@ -162,6 +162,7 @@ const AppMenu = () => { ...@@ -162,6 +162,7 @@ const AppMenu = () => {
// 获取当前菜单详细 // 获取当前菜单详细
const onSelect = (props, e) => { const onSelect = (props, e) => {
// e.node.pos节点类型,根据这个渲染不同的编辑表单item,0-x一级菜单,0-0-x二级,0-0-0-x三级 // e.node.pos节点类型,根据这个渲染不同的编辑表单item,0-x一级菜单,0-0-x二级,0-0-0-x三级
console.log(e);
if (e) { if (e) {
if (e.node.pos.lastIndexOf('-') === 1) { if (e.node.pos.lastIndexOf('-') === 1) {
setNodeType(1); setNodeType(1);
......
This diff is collapsed.
...@@ -18,14 +18,6 @@ ...@@ -18,14 +18,6 @@
} }
} }
} }
.freeze{
color:gray;
}
.freezeGray{
color:#1890FF;
}
.ant-tree-treenode:hover{ .ant-tree-treenode:hover{
.iconWraper1>span{ .iconWraper1>span{
margin-left: 12px; margin-left: 12px;
...@@ -37,11 +29,10 @@ ...@@ -37,11 +29,10 @@
min-height: calc(100vh - 194px); min-height: calc(100vh - 194px);
display: flex; display: flex;
.orgContainer{ .orgContainer{
width: 20%; min-height: calc(100vh - 194px);
height: calc(100vh - 194px);
float: left; float: left;
padding: 10px; padding: 10px;
min-width: 300px; min-width: 240px;
background: white; background: white;
.ant-tree{ .ant-tree{
padding-top: 6px; padding-top: 6px;
...@@ -51,15 +42,33 @@ ...@@ -51,15 +42,33 @@
} }
} }
} }
.hide{
display: none;
// width:0;
transition: 1s;
}
.userContainer{ .userContainer{
padding: 12px; margin-left: 10px;
margin-left: 12px;
flex: 1; flex: 1;
height: calc(100vh - 194px); height: calc(100vh - 194px);
background: white; background: white;
.ant-table-pagination-right{ .ant-table-pagination-right{
padding-right: 12px; padding-right: 12px;
} }
.ant-btn-primary{
margin-left: 30px;
background: #50aefc;
}
.ant-table-thead tr th{
font-weight: 600;
color:rgba(0,0,0,0.85);
}
.ant-table-cell{
text-align:center;
overflow: hidden;
text-overflow:ellipsis;
white-space: nowrap;
}
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment