Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivManage
Commits
80c27a1f
Commit
80c27a1f
authored
Dec 09, 2020
by
陈前坚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: 树收缩展开,提交按钮居中
parent
52a1093c
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
7 deletions
+12
-7
editForm.jsx
src/pages/mobileConfig/menuconfig/editForm.jsx
+2
-2
miniMenu.jsx
src/pages/mobileConfig/menuconfig/miniMenu.jsx
+1
-1
UserManage.less
src/pages/userCenter/UserManage.less
+3
-0
RoleManage.jsx
src/pages/userCenter/roleManage/RoleManage.jsx
+1
-1
editForm.jsx
src/pages/webConfig/menuconfig/editForm.jsx
+2
-2
webMenu.jsx
src/pages/webConfig/menuconfig/webMenu.jsx
+1
-1
webMenu.less
src/pages/webConfig/menuconfig/webMenu.less
+2
-0
No files found.
src/pages/mobileConfig/menuconfig/editForm.jsx
View file @
80c27a1f
...
...
@@ -123,7 +123,7 @@ const EditForm = props => {
<
Item
label=
"功能参数"
name=
"funParam"
>
<
Input
/>
</
Item
>
<
Item
wrapperCol=
{
{
offset
:
5
}
}
style=
{
{
marginTop
:
'40px'
}
}
>
<
Item
wrapperCol=
{
{
offset
:
10
}
}
style=
{
{
marginTop
:
'40px'
}
}
>
<
Button
type=
"primary"
htmlType=
"submit"
>
提交
</
Button
>
...
...
@@ -211,7 +211,7 @@ const EditForm = props => {
<
Item
label=
"功能参数"
name=
"funParam"
>
<
Input
/>
</
Item
>
<
Item
wrapperCol=
{
{
offset
:
5
}
}
style=
{
{
marginTop
:
'40px'
}
}
>
<
Item
wrapperCol=
{
{
offset
:
10
}
}
style=
{
{
marginTop
:
'40px'
}
}
>
<
Button
type=
"primary"
htmlType=
"submit"
>
提交
</
Button
>
...
...
src/pages/mobileConfig/menuconfig/miniMenu.jsx
View file @
80c27a1f
...
...
@@ -527,7 +527,7 @@ const MiniMenu = props => {
onDrop=
{
handleDrop
}
// onDragEnter=
{
handleDragEnter
}
selectedKeys=
{
[
menuID
]
}
expandedKeys=
{
[
menuID
]
}
//
expandedKeys=
{[
menuID
]}
/>
)
}
</
div
>
...
...
src/pages/userCenter/UserManage.less
View file @
80c27a1f
...
...
@@ -50,6 +50,9 @@
.ant-notification-close-icon{
vertical-align: 0.2em;
}
.ant-tree-switcher-icon svg{
font-size: 14px;
}
}
.redText{
color: red;
...
...
src/pages/userCenter/roleManage/RoleManage.jsx
View file @
80c27a1f
...
...
@@ -354,7 +354,7 @@ const SiteManage = () => {
showIcon
onSelect=
{
handleTreeSelect
}
autoExpandParent
expandedKeys=
{
currentSelectId
}
//
expandedKeys=
{
currentSelectId
}
treeData=
{
treeData
}
selectedKeys=
{
currentSelectId
}
blockNode
...
...
src/pages/webConfig/menuconfig/editForm.jsx
View file @
80c27a1f
...
...
@@ -97,7 +97,7 @@ const EditForm = props => {
</
Select
>
</
EditeConfigWrapper
>
</
Item
>
<
Item
wrapperCol=
{
{
offset
:
5
}
}
style=
{
{
marginTop
:
'40px'
}
}
>
<
Item
wrapperCol=
{
{
offset
:
10
}
}
style=
{
{
marginTop
:
'40px'
}
}
>
<
Button
type=
"primary"
htmlType=
"submit"
>
提交
</
Button
>
...
...
@@ -140,7 +140,7 @@ const EditForm = props => {
>
<
PicturesWall
/>
</
Item
>
<
Item
wrapperCol=
{
{
offset
:
5
}
}
style=
{
{
marginTop
:
'40px'
}
}
>
<
Item
wrapperCol=
{
{
offset
:
10
}
}
style=
{
{
marginTop
:
'40px'
}
}
>
<
Button
type=
"primary"
htmlType=
"submit"
>
提交
</
Button
>
...
...
src/pages/webConfig/menuconfig/webMenu.jsx
View file @
80c27a1f
...
...
@@ -324,7 +324,7 @@ const MiniMenu = props => {
blockNode
autoExpandParent
selectedKeys=
{
[
menuID
]
}
expandedKeys=
{
[
menuID
]
}
//
expandedKeys=
{[
menuID
]}
/>
)
}
</
div
>
...
...
src/pages/webConfig/menuconfig/webMenu.less
View file @
80c27a1f
...
...
@@ -8,6 +8,8 @@
min-height: 100%;
border: 1px solid #eee;
padding: 10px;
height: calc( 100vh - 198px);
overflow-y: auto;
.ant-tree-node-content-wrapper{
display: flex;
align-items: center;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment