Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ant-design-pro
Project
Project
Details
Activity
Releases
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thiago Borges
ant-design-pro
Commits
6670f9f8
Commit
6670f9f8
authored
Aug 29, 2017
by
afc163
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix footer
parent
c5d6923d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
18 deletions
+24
-18
BasicLayout.js
src/layouts/BasicLayout.js
+15
-15
PageHeaderLayout.js
src/layouts/PageHeaderLayout.js
+3
-3
AdvancedForm.js
src/routes/Forms/AdvancedForm.js
+1
-0
style.less
src/routes/Forms/style.less
+5
-0
No files found.
src/layouts/BasicLayout.js
View file @
6670f9f8
...
...
@@ -229,23 +229,23 @@ class BasicLayout extends React.PureComponent {
<
/Dropdown
>
<
/div
>
<
/Header
>
<
Content
style
=
{{
margin
:
'24px 24px 0
24px
'
,
height
:
'100%'
}}
>
<
Content
style
=
{{
margin
:
'24px 24px 0'
,
height
:
'100%'
}}
>
{
children
}
<
GlobalFooter
links
=
{[{
title
:
'帮助'
,
href
:
''
,
},
{
title
:
'隐私'
,
href
:
''
,
},
{
title
:
'条款'
,
href
:
''
,
blankTarget
:
true
,
}]}
copyright
=
{
<
div
>
Copyright
<
Icon
type
=
"copyright"
/>
2017
蚂蚁金服体验技术部出品
<
/div>
}
/>
<
/Content
>
<
GlobalFooter
links
=
{[{
title
:
'帮助'
,
href
:
''
,
},
{
title
:
'隐私'
,
href
:
''
,
},
{
title
:
'条款'
,
href
:
''
,
blankTarget
:
true
,
}]}
copyright
=
{
<
div
>
Copyright
<
Icon
type
=
"copyright"
/>
2017
蚂蚁金服体验技术部出品
<
/div>
}
/>
<
/Layout
>
<
/Layout
>
<
/DocumentTitle
>
...
...
src/layouts/PageHeaderLayout.js
View file @
6670f9f8
import
React
from
'react'
;
import
PageHeader
from
'../components/PageHeader'
;
export
default
({
children
,
...
restProps
})
=>
(
<
div
style
=
{{
margin
:
-
24
}
}
>
export
default
({
children
,
wrapperClassName
,
...
restProps
})
=>
(
<
div
style
=
{{
margin
:
'-24px -24px 0'
}}
className
=
{
wrapperClassName
}
>
<
PageHeader
{...
restProps
}
/
>
{
children
?
<
div
style
=
{{
margin
:
24
}}
>
{
children
}
<
/div> : null
}
{
children
?
<
div
style
=
{{
margin
:
'24px 24px 0'
}}
>
{
children
}
<
/div> : null
}
<
/div
>
);
src/routes/Forms/AdvancedForm.js
View file @
6670f9f8
...
...
@@ -97,6 +97,7 @@ function AdvancedForm({ form, dispatch, submitting }) {
<
PageHeaderLayout
title
=
"高级表单"
content
=
"在后台页面中,大批量的数据修改和提交是很常见的情况。"
wrapperClassName
=
{
styles
.
withFooterToolbar
}
>
<
Card
title
=
"仓库管理"
className
=
{
styles
.
card
}
bordered
=
{
false
}
>
<
Form
layout
=
"vertical"
hideRequiredMark
>
...
...
src/routes/Forms/style.less
View file @
6670f9f8
...
...
@@ -79,3 +79,8 @@
padding-bottom: 12.5px !important;
}
}
// custom footer for fixed footer toolbar
.withFooterToolbar + div {
padding-bottom: 64px;
}
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