mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
[Doc] Actionsheet: 规范名称
This commit is contained in:
parent
e0b4f794e5
commit
811bbe6140
@ -188,7 +188,7 @@
|
|||||||
|
|
||||||
- Actionsheet 组件新增 open-type 支持 [\#106](https://github.com/youzan/vant-weapp/pull/106) ([pangxie1991](https://github.com/pangxie1991))
|
- Actionsheet 组件新增 open-type 支持 [\#106](https://github.com/youzan/vant-weapp/pull/106) ([pangxie1991](https://github.com/pangxie1991))
|
||||||
- Select 组件新增支持 form 中 submit 使用 [\#104](https://github.com/youzan/vant-weapp/pull/104) ([pangxie1991](https://github.com/pangxie1991))
|
- Select 组件新增支持 form 中 submit 使用 [\#104](https://github.com/youzan/vant-weapp/pull/104) ([pangxie1991](https://github.com/pangxie1991))
|
||||||
- 新增 Actionsheet 行动按钮组件 [\#97](https://github.com/youzan/vant-weapp/pull/97) ([pangxie1991](https://github.com/pangxie1991))
|
- 新增 Actionsheet 上拉菜单组件 [\#97](https://github.com/youzan/vant-weapp/pull/97) ([pangxie1991](https://github.com/pangxie1991))
|
||||||
|
|
||||||
**Bug Fixes**
|
**Bug Fixes**
|
||||||
- 修复 actionsheet 隐藏时阻挡页面元素点击 [\#99](https://github.com/youzan/vant-weapp/pull/99) ([yun77op](https://github.com/yun77op))
|
- 修复 actionsheet 隐藏时阻挡页面元素点击 [\#99](https://github.com/youzan/vant-weapp/pull/99) ([yun77op](https://github.com/yun77op))
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"navigationBarTitleText": "Actionsheet 行动按钮",
|
"navigationBarTitleText": "Actionsheet 上拉菜单",
|
||||||
"usingComponents": {
|
"usingComponents": {
|
||||||
"zan-actionsheet": "../../dist/actionsheet/index",
|
"zan-actionsheet": "../../dist/actionsheet/index",
|
||||||
"zan-button": "../../dist/btn/index",
|
"zan-button": "../../dist/btn/index",
|
||||||
|
@ -87,7 +87,7 @@ export default {
|
|||||||
title: '操作反馈',
|
title: '操作反馈',
|
||||||
content: [
|
content: [
|
||||||
{
|
{
|
||||||
name: 'Actionsheet 行动按钮',
|
name: 'Actionsheet 上拉菜单',
|
||||||
path: '/pages/actionsheet/index'
|
path: '/pages/actionsheet/index'
|
||||||
}, {
|
}, {
|
||||||
name: 'Dialog 弹出框',
|
name: 'Dialog 弹出框',
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
## Actionsheet 行动按钮
|
## Actionsheet 上拉菜单
|
||||||
|
|
||||||
### 使用指南
|
### 使用指南
|
||||||
在 index.json 中引入组件
|
在 index.json 中引入组件
|
||||||
@ -69,10 +69,10 @@ Page({
|
|||||||
#### `Actionsheet` 支持的具体参数如下( 传入时使用分隔线写法 )
|
#### `Actionsheet` 支持的具体参数如下( 传入时使用分隔线写法 )
|
||||||
| 参数 | 说明 | 类型 | 默认值 | 必须 |
|
| 参数 | 说明 | 类型 | 默认值 | 必须 |
|
||||||
|-----------|-----------|-----------|-------------|-------------|
|
|-----------|-----------|-----------|-------------|-------------|
|
||||||
| show | 用来表示是否展示行动按钮 | Boolean | false | |
|
| show | 用来表示是否展示上拉菜单 | Boolean | false | |
|
||||||
| actions | 指定弹层里的按钮 | Array | [] | |
|
| actions | 指定弹层里的按钮 | Array | [] | |
|
||||||
| cancelText | 行动按钮底部取消按钮的文案,不传则不显示取消按钮 | String | | |
|
| cancelText | 上拉菜单底部取消按钮的文案,不传则不显示取消按钮 | String | | |
|
||||||
| cancelWithMask | 是否在点击背景时,关闭行动按钮 | Boolean | false | |
|
| cancelWithMask | 是否在点击背景时,关闭上拉菜单 | Boolean | false | |
|
||||||
| mask-class | 用于控制蒙层样式的外部类 | String | | |
|
| mask-class | 用于控制蒙层样式的外部类 | String | | |
|
||||||
| container-class | 用于控制容器样式的外部类 | String | | |
|
| container-class | 用于控制容器样式的外部类 | String | | |
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user