mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-27 11:56:39 +08:00
* 封装 doc-page, 方便写文档 * add pop manager * popup upgrade * 更新 README * add empty line * delete empty css * dialog init * dialog * dialog upgrade * 修复 helper 里的样式问题 * dialog 文档 * 修复 button 奇怪的边框问题 * 缩进处理
9 lines
369 B
Plaintext
9 lines
369 B
Plaintext
<button
|
|
class="custom-class zan-btn {{size ? 'zan-btn--'+size : ''}} {{size === 'mini' ? 'zan-btn--plain' : ''}} {{plain ? 'zan-btn--plain' : ''}} {{type ? 'zan-btn--'+type : ''}} {{loading ? 'zan-btn--loading' : ''}} {{disabled ? 'zan-btn--disabled' : ''}}"
|
|
disabled="{{ disabled }}"
|
|
open-type="{{ openType }}"
|
|
bindtap="handleTap"
|
|
>
|
|
<slot></slot>
|
|
</button>
|