mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
增加 actionsheet 文档 (#118)
This commit is contained in:
parent
741d0d1237
commit
1951941145
@ -42,6 +42,7 @@ npm run dev
|
|||||||
我们推荐在你的`app.wxss`直接引入`zanui-weapp/dist/index.wxss`。
|
我们推荐在你的`app.wxss`直接引入`zanui-weapp/dist/index.wxss`。
|
||||||
|
|
||||||
#### 具体组件文档
|
#### 具体组件文档
|
||||||
|
* [Actionsheet - 行动按钮](./packages/actionsheet/README.md)
|
||||||
* [Badge - 徽章](./packages/badge/README.md)
|
* [Badge - 徽章](./packages/badge/README.md)
|
||||||
* [Button - 按钮](./packages/btn/README.md)
|
* [Button - 按钮](./packages/btn/README.md)
|
||||||
* [Capsule - 胶囊](./packages/capsule/README.md)
|
* [Capsule - 胶囊](./packages/capsule/README.md)
|
||||||
|
@ -72,7 +72,10 @@ actions 的具体数据结构
|
|||||||
// 按钮特殊类,可以通过传入这个,为按钮增加特殊样式
|
// 按钮特殊类,可以通过传入这个,为按钮增加特殊样式
|
||||||
className: 'action-class',
|
className: 'action-class',
|
||||||
// 按钮是否显示为 loading
|
// 按钮是否显示为 loading
|
||||||
loading: false
|
loading: false,
|
||||||
|
// 按钮的微信开放能力
|
||||||
|
// 具体支持可参考微信官方文档:https://mp.weixin.qq.com/debug/wxadoc/dev/component/button.html
|
||||||
|
openType: 'share'
|
||||||
}]
|
}]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user