# 顶部导航 + 侧边栏 - order: 1 顶级导航在头部,次级导航在侧边栏。 --- ````jsx import { Menu, Breadcrumb } from 'antd'; ReactDOM.render(
首页 应用列表 某应用
, document.getElementById('spec-layout-demo-top-aside')); ```` ````css .ant-layout-topaside { background: #f4f4f4; height: 400px; overflow: hidden; } .ant-layout-topaside .ant-layout-header { background: #373737; height: 64px; } .ant-layout-topaside .ant-layout-subheader { height: 48px; border-bottom: 1px solid #e9e9e9; background: #fff; } .ant-layout-topaside .ant-layout-breadcrumb { margin-top: 7px; margin-bottom: -17px; } .ant-layout-topaside .ant-layout-main { padding: 0 50px; } .ant-layout-topaside .ant-layout-container { background: #fff; margin-top: 24px; position: relative; } .ant-layout-topaside .ant-layout-sider { width: 224px; height: 100%; position: absolute; } .ant-layout-topaside .ant-layout-content { border-left: 1px solid #e9e9e9; margin-left: 224px; } ````