Skip to content

Commit

Permalink
release version v1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
linxz committed Jul 16, 2020
1 parent 894da03 commit 579da7d
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 19 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## 1.1.1
`2020-07-16`
* ***Fixed**
* modal 组件蒙层点击时间回调;
* collapse 箭头方向调整;
* verify-code 可配置文案;
* tabs 组件可通过配置强制调整 tab-content 中的 swiper 高度;
* tabs、swipe-action 中调整 `getSystemInfo`,优化性能([#34](https://github.com/Alibaba-mp/mini-ali-ui/pull/34));
* ***Feature**
* popover 图标可配置图片([#32](https://github.com/Alibaba-mp/mini-ali-ui/pull/32));
* steps 可使用数字序号;

## 1.1.0
`2020-07-02`
* **Fixed**
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mini-ali-ui",
"version": "1.1.0",
"version": "1.1.1",
"description": "小程序版AntUI",
"repository": {
"type": "git",
Expand Down
36 changes: 18 additions & 18 deletions src/modal/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,24 @@


## 属性介绍
| 属性 | 类型 | 默认值 | 可选值 | 描述 | 必填 |
| :--- | :--- | :--- | :--- | :--- | :--- |
| className | String | - | - | 自定义class | - |
| show | Boolean | false | true, false | 是否展示`modal` | - |
| showClose | Boolean | false | true, false | 是否渲染`关闭` | - |
| mask | Boolean | true | true, false | 是否展示蒙层 | - |
| closeType | String | 0 | 0, 1 | 关闭图表类型 0:灰色图标 1:白色图标 | - |
| onModalClick | EventHandle | () => void | - | 选择区间时的回调 | - |
| onModalClose | EventHandle | () => void | - | 点击`关闭`的回调, `showClose`为false时无需设置 | - |
| topImage | String | - | - | 顶部图片 | - |
| topImageSize | String | md | lg, md, sm | 顶部图片规则 | - |
| buttons | Array\<Object\> | md | - | 底部自定义多按钮, 详情见buttons配置 | - |
| onButtonClick | EventHandle | (e: Object) => void | - | 点击`buttons`部分的回调 | - |
| buttonsLayout | String | horizontal | horizontal, vertical | 设置`buttons`的对齐方式 | - |
| advice | Boolean | false | true, false | 是否是运营类弹窗 | - |
| zIndex | String\|Number | - | - | 设置弹框层级 | - |
| disableScroll | Boolean | false | true, false | modal展示时是否禁止页面滚动(**以真机效果为准**| - |
| onMaskClick | EventHandle | () => void | - | 点击遮罩层时的回调 | - |
| 属性 | 类型 | 默认值 | 可选值 | 描述 | 最低版本 | 必填 |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| className | String | - | - | 自定义class | - | - |
| show | Boolean | false | true, false | 是否展示`modal` | - | - |
| showClose | Boolean | false | true, false | 是否渲染`关闭` | - | - |
| mask | Boolean | true | true, false | 是否展示蒙层 | - | - |
| closeType | String | 0 | 0, 1 | 关闭图表类型 0:灰色图标 1:白色图标 | - | - |
| onModalClick | EventHandle | () => void | - | 选择区间时的回调 | - | - |
| onModalClose | EventHandle | () => void | - | 点击`关闭`的回调, `showClose`为false时无需设置 | - | - |
| topImage | String | - | - | 顶部图片 | - | - |
| topImageSize | String | md | lg, md, sm | 顶部图片规则 | - | - |
| buttons | Array\<Object\> | md | - | 底部自定义多按钮, 详情见buttons配置 | - | - |
| onButtonClick | EventHandle | (e: Object) => void | - | 点击`buttons`部分的回调 | - | - |
| buttonsLayout | String | horizontal | horizontal, vertical | 设置`buttons`的对齐方式 | - | - |
| advice | Boolean | false | true, false | 是否是运营类弹窗 | - | - |
| zIndex | String\|Number | - | - | 设置弹框层级 | - | - |
| disableScroll | Boolean | false | true, false | modal展示时是否禁止页面滚动(**以真机效果为准**| - | - |
| onMaskClick | EventHandle | () => void | - | 点击遮罩层时的回调 | [1.1.1](https://www.npmjs.com/package/mini-ali-ui?activeTab=versions) | - |

## buttons
提供按钮组配置,每一项表示一个按钮,每一项的属性为
Expand Down
1 change: 1 addition & 0 deletions src/verify-code/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
| onFocus | (e: Object) => void | | - | 聚焦时触发 | ||
| onBlur | (e: Object) => void | | - | 失去焦点时触发 | ||
| onClear | () => void | | - | 点击清除icon时触发 | ||
| countDown | Number | 60 | - | 发送倒计时时间,单位秒 | - ||
| txtSend | String | '发送验证码' | - | 发送按钮的默认文案 | [1.1.1](https://www.npmjs.com/package/mini-ali-ui?activeTab=versions) ||
| txtSendAgain | String | '重发验证码' | - | 重发按钮的默认文案 | [1.1.1](https://www.npmjs.com/package/mini-ali-ui?activeTab=versions) ||
| txtCountDown | String | '秒后重试' | - | 按钮倒计时的默认文案(不包含倒计时) | [1.1.1](https://www.npmjs.com/package/mini-ali-ui?activeTab=versions) ||
Expand Down

0 comments on commit 579da7d

Please sign in to comment.