1
0
mirror of https://gitee.com/vant-contrib/vant-weapp.git synced 2025-04-06 03:58:05 +08:00
rex ed834afc44
feat(Dialog): add new prop beforeClose ()
* feat(dialog): add new prop beforeClose

* docs(dialog): update doc & example

fix 

* docs(dialog): fix component demo

fix 
2020-12-06 21:43:44 +08:00

8 lines
270 B
Plaintext

<view class="custom-class demo-block van-clearfix {{ padding ? 'demo-block--padding' : '' }}">
<view wx:if="{{ title }}" class="demo-block__title">{{ title }}</view>
<view class="demo-block__card" wx:if="{{ card }}">
<slot />
</view>
<slot wx:else />
</view>