mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-05 19:41:45 +08:00
15 lines
396 B
Plaintext
15 lines
396 B
Plaintext
<demo-block title="基础用法">
|
|
<van-nav-bar
|
|
title="标题"
|
|
right-text="按钮"
|
|
left-arrow
|
|
bind:click-left="onClickLeft"
|
|
bind:click-right="onClickRight"
|
|
/>
|
|
</demo-block>
|
|
<demo-block title="高级用法">
|
|
<van-nav-bar title="标题" left-text="返回" left-arrow>
|
|
<van-icon name="search" slot="right" custom-class="icon" size="18" />
|
|
</van-nav-bar>
|
|
</demo-block>
|