diff --git a/changelog.md b/changelog.md index 1ebf03b4..848b65cd 100644 --- a/changelog.md +++ b/changelog.md @@ -188,7 +188,7 @@ - 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)) -- 新增 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** - 修复 actionsheet 隐藏时阻挡页面元素点击 [\#99](https://github.com/youzan/vant-weapp/pull/99) ([yun77op](https://github.com/yun77op)) diff --git a/example/pages/actionsheet/index.json b/example/pages/actionsheet/index.json index 46d35da7..c4e5f51c 100644 --- a/example/pages/actionsheet/index.json +++ b/example/pages/actionsheet/index.json @@ -1,5 +1,5 @@ { - "navigationBarTitleText": "Actionsheet 行动按钮", + "navigationBarTitleText": "Actionsheet 上拉菜单", "usingComponents": { "zan-actionsheet": "../../dist/actionsheet/index", "zan-button": "../../dist/btn/index", diff --git a/example/pages/dashboard/config.js b/example/pages/dashboard/config.js index 84b9ed94..5c414174 100644 --- a/example/pages/dashboard/config.js +++ b/example/pages/dashboard/config.js @@ -87,7 +87,7 @@ export default { title: '操作反馈', content: [ { - name: 'Actionsheet 行动按钮', + name: 'Actionsheet 上拉菜单', path: '/pages/actionsheet/index' }, { name: 'Dialog 弹出框', diff --git a/packages/actionsheet/README.md b/packages/actionsheet/README.md index 9a0a1d79..944b59b8 100644 --- a/packages/actionsheet/README.md +++ b/packages/actionsheet/README.md @@ -1,4 +1,4 @@ -## Actionsheet 行动按钮 +## Actionsheet 上拉菜单 ### 使用指南 在 index.json 中引入组件 @@ -69,10 +69,10 @@ Page({ #### `Actionsheet` 支持的具体参数如下( 传入时使用分隔线写法 ) | 参数 | 说明 | 类型 | 默认值 | 必须 | |-----------|-----------|-----------|-------------|-------------| -| show | 用来表示是否展示行动按钮 | Boolean | false | | +| show | 用来表示是否展示上拉菜单 | Boolean | false | | | actions | 指定弹层里的按钮 | Array | [] | | -| cancelText | 行动按钮底部取消按钮的文案,不传则不显示取消按钮 | String | | | -| cancelWithMask | 是否在点击背景时,关闭行动按钮 | Boolean | false | | +| cancelText | 上拉菜单底部取消按钮的文案,不传则不显示取消按钮 | String | | | +| cancelWithMask | 是否在点击背景时,关闭上拉菜单 | Boolean | false | | | mask-class | 用于控制蒙层样式的外部类 | String | | | | container-class | 用于控制容器样式的外部类 | String | | |