Files
2025-08-15 14:05:08 +08:00

25 lines
989 B
Plaintext
Raw Permalink 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.

<t-navbar class="demo-navbar" title="SideBar" leftArrow />
<t-demo-header title="SideBar 侧边栏" desc="用于内容分类后的展示切换。" notice="渲染框架支持情况WebView" />
<t-demo title="01 组件类型" desc="侧边导航用法" padding>
<t-button variant="outline" theme="primary" size="large" block bind:tap="toNavigation" data-target="base">
锚点用法
</t-button>
<t-button variant="outline" theme="primary" size="large" block bind:tap="toNavigation" data-target="switch">
切页用法
</t-button>
</t-demo>
<t-demo desc="带图标侧边导航" padding>
<t-button variant="outline" theme="primary" size="large" block bind:tap="toNavigation" data-target="with-icon">
带图标侧边导航
</t-button>
</t-demo>
<t-demo title="02 组件样式" desc="侧边导航样式" padding>
<t-button variant="outline" theme="primary" size="large" block bind:tap="toNavigation" data-target="custom">
自定义样式
</t-button>
</t-demo>