mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-08-07 05:49:44 +08:00
feat(GoodsActionButton): add default slot (#2779)
This commit is contained in:
parent
4b58899594
commit
dcd3665570
@ -26,4 +26,5 @@
|
|||||||
bindlaunchapp="bindLaunchApp"
|
bindlaunchapp="bindLaunchApp"
|
||||||
>
|
>
|
||||||
{{ text }}
|
{{ text }}
|
||||||
|
<slot></slot>
|
||||||
</van-button>
|
</van-button>
|
||||||
|
@ -159,6 +159,12 @@ Page({
|
|||||||
|-----------|-----------|
|
|-----------|-----------|
|
||||||
| icon | 自定义图标 |
|
| icon | 自定义图标 |
|
||||||
|
|
||||||
|
### GoodsActionButton Slot
|
||||||
|
|
||||||
|
| 名称 | 说明 |
|
||||||
|
|-----------|-----------|
|
||||||
|
| - | 按钮显示内容 |
|
||||||
|
|
||||||
### GoodsActionIcon 外部样式类
|
### GoodsActionIcon 外部样式类
|
||||||
|
|
||||||
| 类名 | 说明 |
|
| 类名 | 说明 |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user