docs(changelog): 2.3.0-beta.2

This commit is contained in:
陈嘉涵
2019-12-07 08:51:58 +08:00
parent d53a65600b
commit 650e479313
12 changed files with 69 additions and 17 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ export default {
| disabled-text | Disabled text | *string* | - | - |
| switchable | Whether to allow switch address | *boolean* | `true` | - |
| add-button-text | Add button text | *string* | `Add new address` | - |
| default-tag-text | Default tag text | *string* | - | - |
| default-tag-text | Default tag text | *string* | - | 2.3.0 |
### Events
+1 -1
View File
@@ -78,7 +78,7 @@ export default {
| disabled-text | 不可配送提示文案 | *string* | - | - |
| switchable | 是否允许切换地址 | *boolean* | `true` | - |
| add-button-text | 底部按钮文字 | *string* | `新增地址` | - |
| default-tag-text | 默认地址标签文字 | *string* | - | - |
| default-tag-text | 默认地址标签文字 | *string* | - | 2.3.0 |
### Events
+3 -3
View File
@@ -155,7 +155,7 @@ export default {
| v-model | Id of chosen contact | *string \| number* | - | - |
| list | Contact list | *Contact[]* | `[]` | - |
| add-text | Add button text | *string* | `Add new contact` | - |
| default-tag-text | Default tag text | *string* | - | - |
| default-tag-text | Default tag text | *string* | - | 2.3.0 |
### ContactList Events
@@ -175,8 +175,8 @@ export default {
| is-saving | Whether to show save button loading status | *boolean* | `false` | - |
| is-deleting | Whether to show delete button loading status | *boolean* | `false` | - |
| tel-validator | The method to validate tel | *(tel: string) => boolean* | - | - |
| show-set-default | Whether to show default contact switch | *boolean* | `false` | - |
| set-default-label | default contact switch label | *string* | - | - |
| show-set-default | Whether to show default contact switch | *boolean* | `false` | 2.3.0 |
| set-default-label | default contact switch label | *string* | - | 2.3.0 |
### ContactEdit Events
+3 -3
View File
@@ -159,7 +159,7 @@ export default {
| v-model | 当前选中联系人的 id | *string \| number* | - | - |
| list | 联系人列表 | *Contact[]* | `[]` | - |
| add-text | 新建按钮文案 | *string* | `新建联系人` | - |
| default-tag-text | 默认联系人标签文案 | *string* | - | - |
| default-tag-text | 默认联系人标签文案 | *string* | - | 2.3.0 |
### ContactList Events
@@ -178,8 +178,8 @@ export default {
| is-saving | 是否显示保存按钮加载动画 | *boolean* | `false` | - |
| is-deleting | 是否显示删除按钮加载动画 | *boolean* | `false` | - |
| tel-validator | 手机号格式校验函数 | *(tel: string) => boolean* | - | - |
| show-set-default | 是否显示默认联系人栏 | *boolean* | `false` | - |
| set-default-label | 默认联系人栏文案 | *string* | - | - |
| show-set-default | 是否显示默认联系人栏 | *boolean* | `false` | 2.3.0 |
| set-default-label | 默认联系人栏文案 | *string* | - | 2.3.0 |
### ContactEdit Events
+1 -1
View File
@@ -99,7 +99,7 @@ export default {
| input-placeholder | Input placeholder | *string* | `Coupon code` | - |
| currency | Currency symbol | *string* | `¥` | - |
| empty-image | Placeholder image when list is empty | *string* | `https://img.yzcdn.cn/vant/coupon-empty.png` | - |
| show-count | Whether to show coupon count in tab title | *boolean* | `true` | - |
| show-count | Whether to show coupon count in tab title | *boolean* | `true` | 2.3.0 |
### CouponList Events
+1 -1
View File
@@ -101,7 +101,7 @@ export default {
| show-exchange-bar | 是否展示兑换栏 | *boolean* | `true` | - |
| currency | 货币符号 | *string* | `¥` | - |
| empty-image | 列表为空时的占位图 | *string* | `https://img.yzcdn.cn/vant/coupon-empty.png` | 2.1.0 |
| show-count | 是否展示可用 / 不可用数量 | *boolean* | `true` | - |
| show-count | 是否展示可用 / 不可用数量 | *boolean* | `true` | 2.3.0 |
### CouponList Events
+1 -1
View File
@@ -141,7 +141,7 @@ export default {
| message-config | Message related config | *object* | `{}` | - |
| get-container | Return the mount node for sku | *string \| () => Element* | - | - |
| safe-area-inset-bottom | Whether to enable bottom safe area adaptation | *boolean* | `false` | 2.2.1 |
| start-sale-num | Minimum quantity | *number* | `1` | 2.2.15 |
| start-sale-num | Minimum quantity | *number* | `1` | 2.3.0 |
### Events
+1 -1
View File
@@ -145,7 +145,7 @@ export default {
| initial-sku | 默认选中的 sku,具体参考高级用法 | *object* | `{}` | - |
| show-soldout-sku | 是否展示售罄的 sku,默认展示并置灰 | *boolean* | `true` | - |
| safe-area-inset-bottom | 是否开启底部安全区适配,[详细说明](#/zh-CN/quickstart#di-bu-an-quan-qu-gua-pei) | *boolean* | `false` | 2.2.1 |
| start-sale-num | 起售数量 | *number* | `1` | 2.2.15 |
| start-sale-num | 起售数量 | *number* | `1` | 2.3.0 |
### Events
+1 -1
View File
@@ -75,7 +75,7 @@ Use slot to add custom contents.
| price | Price | *number* | - | - |
| label | Price left label | *string* | `Total` | - |
| suffix-label | Price right label | *string* | - | - |
| text-align | Price label text align can be set to `right` `left` | *string* | `right` | - |
| text-align | Price label text align can be set to `right` `left` | *string* | `right` | 2.3.0 |
| button-text | Button text | *string* | - | - |
| button-type | Button type | *string* | `danger` | - |
| tip | Tip | *string* | - | - |
+1 -1
View File
@@ -75,7 +75,7 @@ Vue.use(SubmitBar);
| price | 价格(单位分) | *number* | - | - |
| label | 价格左侧文案 | *string* | `合计:` | - |
| suffix-label | 价格右侧文案 | *string* | - | - |
| text-align | 价格文案对齐方向,可选值为 `right` `left` | *string* | `right` | - |
| text-align | 价格文案对齐方向,可选值为 `right` `left` | *string* | `right` | 2.3.0 |
| button-text | 按钮文字 | *string* | - | - |
| button-type | 按钮类型 | *string* | `danger` | - |
| tip | 提示文案 | *string* | - | - |