18 lines
467 B
Plaintext

<van-nav-bar
title="Notify 消息通知"
left-text="返回"
left-arrow
bind:click-left="onClickLeft"
/>
<demo-block padding title="基础用法">
<van-button bind:click="showNotify">显示消息通知</van-button>
</demo-block>
<demo-block padding title="自定义配置">
<van-button bind:click="showNotify2">显示自定义消息通知</van-button>
</demo-block>
<van-notify id="van-notify" safe-area-inset-top />
<van-notify id="custom-selector" />