万纯 b0b3fcc68e fes-ui v0.1.1
1、修复Layout组件offset不生效的bug

fes-doc
1、更新文档中描述不准备的地方
2、更换文档中的链接
2020-09-25 17:59:16 +08:00

26 lines
571 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](/ui/menu)组件使用,可实现多级菜单。在`fes.config.js`中配置:
```js
export default {
mode: 'horizontal'
}
```
## 内置布局类组件
fes-ui 以及 `FesRouteMenu``FesSearchPanel``FesListPanel`