namespace WebSite.Docus.Basic.Layouts;
class Layout1 : Layout { }
namespace WebSite.Docus.Basic.Layouts;
class Layout2 : Layout
{
public Layout2()
{
Style = "layout-tl";
}
}
namespace WebSite.Docus.Basic.Layouts;
class Layout3 : Layout
{
protected override void BuildHeader(RenderTreeBuilder builder)
{
builder.Span("自定义Header");
}
protected override void BuildSider(RenderTreeBuilder builder)
{
builder.Span("自定义Sider");
}
protected override void BuildBody(RenderTreeBuilder builder)
{
builder.Span("自定义Body");
}
}