--- order: 1 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'; const { Description } = DescriptionList; const ButtonGroup = Button.Group; const description = ( 曲丽丽 XX 服务 2017-07-07 12421 ); const menu = ( 选项一 选项二 选项三 ); const action = (
); const extra = (
状态
待审批
订单金额
¥ 568.08
); const breadcrumbList = [{ title: '一级菜单', href: '/', }, { title: '二级菜单', href: '/', }, { title: '三级菜单', }]; const tabList = [{ key: 'detail', tab: '详情', }, { key: 'rule', tab: '规则', }]; function onTabChange(key) { console.log(key); } ReactDOM.render(
} action={action} content={description} extraContent={extra} breadcrumbList={breadcrumbList} tabList={tabList} onTabChange={onTabChange} />
, mountNode); ````