Commit e7d8c49e authored by ddcat1115's avatar ddcat1115

update PageHeader

parent aca772d0
...@@ -8,7 +8,7 @@ title: Standard ...@@ -8,7 +8,7 @@ title: Standard
````jsx ````jsx
import PageHeader from 'ant-design-pro/lib/PageHeader'; import PageHeader from 'ant-design-pro/lib/PageHeader';
import DescriptionList from 'ant-design-pro/lib/DescriptionList'; 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; const { Description } = DescriptionList;
...@@ -17,6 +17,7 @@ const description = ( ...@@ -17,6 +17,7 @@ const description = (
<Description term="创建人">曲丽丽</Description> <Description term="创建人">曲丽丽</Description>
<Description term="订购产品">XX 服务</Description> <Description term="订购产品">XX 服务</Description>
<Description term="创建时间">2017-07-07</Description> <Description term="创建时间">2017-07-07</Description>
<Description term="关联单据"><a href="">12421</a></Description>
</DescriptionList> </DescriptionList>
); );
...@@ -32,11 +33,6 @@ const action = ( ...@@ -32,11 +33,6 @@ const action = (
<div> <div>
<Button>操作</Button> <Button>操作</Button>
<Button>操作</Button> <Button>操作</Button>
<Dropdown overlay={menu}>
<Button>
更多 <Icon type="down" />
</Button>
</Dropdown>
<Button type="primary">主操作</Button> <Button type="primary">主操作</Button>
</div> </div>
); );
......
...@@ -3,7 +3,7 @@ order: 0 ...@@ -3,7 +3,7 @@ order: 0
title: Structure title: Structure
--- ---
基本结构,可以形成多种组合 基本结构,具备响应式布局功能,主要断点为 768px 和 576px,拖动窗口改变大小试试看
````jsx ````jsx
import PageHeader from 'ant-design-pro/lib/PageHeader'; import PageHeader from 'ant-design-pro/lib/PageHeader';
......
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