2020-08-27 17:18:57 +08:00

26 lines
578 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 布局
Fes设计的布局方式有两种水平布局和垂直布局。
## 水平布局
![水平布局](../../images/layout.png)
默认为水平布局,在`fes.config.js`中配置:
```js
export default {
mode: 'vertical'
}
```
## 垂直布局
![垂直布局](../../images/layout2.png)
垂直布局,横向空间更大。配合[Menu](/component/menu)组件使用,可实现多级菜单。在`fes.config.js`中配置:
```js
export default {
mode: 'horizontal'
}
```
## 内置布局类组件
fes-ui 以及 `FesRouteMenu``FesSearchPanel``FesListPanel`