mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
<demo-block card title="提示弹窗" padding>
|
|
<van-cell title="提示弹窗" bind:click="onClickAlert" is-link />
|
|
<van-cell title="提示弹窗(无标题)" bind:click="onClickAlert2" is-link />
|
|
<van-cell title="确认弹窗" bind:click="onClickConfirm" is-link />
|
|
</demo-block>
|
|
|
|
<demo-block card title="圆角按钮样式" padding>
|
|
<van-cell title="提示弹窗" bind:click="onClickThemeAlert" is-link />
|
|
<van-cell title="提示弹窗(无标题)" bind:click="onClickThemeAlert2" is-link />
|
|
</demo-block>
|
|
|
|
<demo-block card title="异步关闭" padding>
|
|
<van-cell title="异步关闭" bind:click="onClickAsyncClose" />
|
|
</demo-block>
|
|
|
|
<demo-block card title="组件调用" padding>
|
|
<van-cell title="组件调用" bind:click="showCustomDialog" />
|
|
</demo-block>
|
|
|
|
<van-dialog
|
|
use-slot
|
|
title="标题"
|
|
show="{{ show }}"
|
|
show-cancel-button
|
|
bind:close="onClose"
|
|
confirm-button-open-type="getUserInfo"
|
|
bind:getuserinfo="getUserInfo"
|
|
>
|
|
<image
|
|
class="demo-image"
|
|
src="https://img.yzcdn.cn/public_files/2017/09/05/4e3ea0898b1c2c416eec8c11c5360833.jpg"
|
|
/>
|
|
</van-dialog>
|
|
|
|
<van-dialog id="van-dialog" />
|