# Layout 布局
使用方法
# 布局一
# 预览
# 示例代码
<g-layout style="color: white; margin-bottom:50px;">
<g-header style="height: 50px; background:#9E91F2;">
header
</g-header>
<g-content style="height: 100px; background:#7B62D9;">
content
</g-content>
<g-footer style="height: 50px; background:#9E91F2;">
footer
</g-footer>
</g-layout>
# 布局二
# 预览
# 示例代码
<g-layout style="color: white; overflow:hidden; margin-bottom:50px;">
<g-header style="height: 50px; background:#9E91F2;">
header
</g-header>
<g-layout>
<g-sider style="height: 100px; background:#ddd; width:200px; color: black;">
sider
</g-sider>
<g-content style="height: 100px; background:#7B62D9;">
content
</g-content>
</g-layout>
<g-footer style="height: 50px; background:#9E91F2;">
footer
</g-footer>
</g-layout>
# 布局三
# 预览
# 示例代码
<g-layout style="color: white; overflow:hidden; margin-bottom:50px;">
<g-sider style=" background:#ddd; width:200px; color: black;">
sider
</g-sider>
<g-layout>
<g-header style="height: 50px; background:lightskyblue;">
header
</g-header>
<g-content style="height: 100px; background:deepskyblue;">
content
</g-content>
<g-footer style="height: 50px; background:lightskyblue;">
footer
</g-footer>
</g-layout>
</g-layout>
← Grid 栅格 Toast 文字提示 →