Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ant-design-pro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
duanledexianxianxian
ant-design-pro
Commits
e7d8c49e
Commit
e7d8c49e
authored
Oct 12, 2017
by
ddcat1115
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update PageHeader
parent
aca772d0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
+3
-7
src/components/PageHeader/demo/standard.md
src/components/PageHeader/demo/standard.md
+2
-6
src/components/PageHeader/demo/structure.md
src/components/PageHeader/demo/structure.md
+1
-1
No files found.
src/components/PageHeader/demo/standard.md
View file @
e7d8c49e
...
...
@@ -8,7 +8,7 @@ title: Standard
````
jsx
import
PageHeader
from
'
ant-design-pro/lib/PageHeader
'
;
import
DescriptionList
from
'
ant-design-pro/lib/DescriptionList
'
;
import
{
Button
,
Menu
,
Dropdown
,
Icon
,
Row
,
Col
}
from
'
antd
'
;
import
{
Button
,
Menu
,
Icon
,
Row
,
Col
}
from
'
antd
'
;
const
{
Description
}
=
DescriptionList
;
...
...
@@ -17,6 +17,7 @@ const description = (
<
Description
term
=
"创建人"
>
曲丽丽
</
Description
>
<
Description
term
=
"订购产品"
>
XX 服务
</
Description
>
<
Description
term
=
"创建时间"
>
2017-07-07
</
Description
>
<
Description
term
=
"关联单据"
><
a
href
=
""
>
12421
</
a
></
Description
>
</
DescriptionList
>
);
...
...
@@ -32,11 +33,6 @@ const action = (
<
div
>
<
Button
>
操作
</
Button
>
<
Button
>
操作
</
Button
>
<
Dropdown
overlay
=
{
menu
}
>
<
Button
>
更多
<
Icon
type
=
"down"
/>
</
Button
>
</
Dropdown
>
<
Button
type
=
"primary"
>
主操作
</
Button
>
</
div
>
);
...
...
src/components/PageHeader/demo/structure.md
View file @
e7d8c49e
...
...
@@ -3,7 +3,7 @@ order: 0
title
:
Structure
---
基本结构,
可以形成多种组合
。
基本结构,
具备响应式布局功能,主要断点为 768px 和 576px,拖动窗口改变大小试试看
。
````
jsx
import
PageHeader
from
'
ant-design-pro/lib/PageHeader
'
;
...
...
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