docs: update version tag
This commit is contained in:
+26
-26
@@ -76,35 +76,35 @@ export default {
|
||||
|
||||
### CouponCell Props
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| title | Cell title | *string* | `Coupon` | - |
|
||||
| chosen-coupon | Index of chosen coupon | *number* | `-1` | - |
|
||||
| coupons | Coupon list | *Coupon[]* | `[]` | - |
|
||||
| editable | Cell editable | *boolean* | `true` | - |
|
||||
| border | Whether to show innner border | *boolean* | `true` | - |
|
||||
| currency | Currency symbol | *string* | `¥` | - |
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| title | Cell title | *string* | `Coupon` |
|
||||
| chosen-coupon | Index of chosen coupon | *number* | `-1` |
|
||||
| coupons | Coupon list | *Coupon[]* | `[]` |
|
||||
| editable | Cell editable | *boolean* | `true` |
|
||||
| border | Whether to show innner border | *boolean* | `true` |
|
||||
| currency | Currency symbol | *string* | `¥` |
|
||||
|
||||
### CouponList Props
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| v-model | Current exchange code | *string* | - | - |
|
||||
| chosen-coupon | Index of chosen coupon | *number* | `-1` | - |
|
||||
| coupons | Coupon list | *Coupon[]* | `[]` | - |
|
||||
| disabled-coupons | Disabled coupon list | *Coupon[]* | `[]` | - |
|
||||
| enabled-title | Title of coupon list | *string* | `Available` | - | - |
|
||||
| disabled-title | Title of disabled coupon list | *string* | `Unavailable` | - | - |
|
||||
| exchange-button-text | Exchange button text | *string* | `Exchange` | - |
|
||||
| exchange-button-loading | Whether to show loading in exchange button | *boolean* | `false` | - |
|
||||
| exchange-button-disabled | Whether to disable exchange button | *boolean* | `false` | - |
|
||||
| exchange-min-length | Min length to enable exchange button | *number* | `1` | - |
|
||||
| displayed-coupon-index | Index of displayed coupon | *number* | - | - |
|
||||
| close-button-text | Close button text | *string* | `Close` | - |
|
||||
| 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` | 2.3.0 |
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| v-model | Current exchange code | *string* | - |
|
||||
| chosen-coupon | Index of chosen coupon | *number* | `-1` |
|
||||
| coupons | Coupon list | *Coupon[]* | `[]` |
|
||||
| disabled-coupons | Disabled coupon list | *Coupon[]* | `[]` |
|
||||
| enabled-title | Title of coupon list | *string* | `Available` | - |
|
||||
| disabled-title | Title of disabled coupon list | *string* | `Unavailable` | - |
|
||||
| exchange-button-text | Exchange button text | *string* | `Exchange` |
|
||||
| exchange-button-loading | Whether to show loading in exchange button | *boolean* | `false` |
|
||||
| exchange-button-disabled | Whether to disable exchange button | *boolean* | `false` |
|
||||
| exchange-min-length | Min length to enable exchange button | *number* | `1` |
|
||||
| displayed-coupon-index | Index of displayed coupon | *number* | - |
|
||||
| close-button-text | Close button text | *string* | `Close` |
|
||||
| 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 `v2.3.0` | Whether to show coupon count in tab title | *boolean* | `true` |
|
||||
|
||||
### CouponList Events
|
||||
|
||||
|
||||
@@ -76,37 +76,37 @@ export default {
|
||||
|
||||
### CouponCell Props
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| title | 单元格标题 | *string* | `优惠券` | - |
|
||||
| chosen-coupon | 当前选中优惠券的索引 | *number* | `-1` | - |
|
||||
| coupons | 可用优惠券列表 | *Coupon[]* | `[]` | - |
|
||||
| editable | 能否切换优惠券 | *boolean* | `true` | - |
|
||||
| border | 是否显示内边框 | *boolean* | `true` | - |
|
||||
| currency | 货币符号 | *string* | `¥` | - | - |
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
|------|------|------|------|
|
||||
| title | 单元格标题 | *string* | `优惠券` |
|
||||
| chosen-coupon | 当前选中优惠券的索引 | *number* | `-1` |
|
||||
| coupons | 可用优惠券列表 | *Coupon[]* | `[]` |
|
||||
| editable | 能否切换优惠券 | *boolean* | `true` |
|
||||
| border | 是否显示内边框 | *boolean* | `true` |
|
||||
| currency | 货币符号 | *string* | `¥` | - |
|
||||
|
||||
### CouponList Props
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| v-model | 当前输入的兑换码 | *string* | - | - |
|
||||
| chosen-coupon | 当前选中优惠券的索引 | *number* | `-1` | - |
|
||||
| coupons | 可用优惠券列表 | *Coupon[]* | `[]` | - |
|
||||
| disabled-coupons | 不可用优惠券列表 | *Coupon[]* | `[]` | - |
|
||||
| enabled-title | 可用优惠券列表标题 | *string* | `可使用优惠券` | - |
|
||||
| disabled-title | 不可用优惠券列表标题 | *string* | `不可使用优惠券` | - |
|
||||
| exchange-button-text | 兑换按钮文字 | *string* | `兑换` | - |
|
||||
| exchange-button-loading | 是否显示兑换按钮加载动画 | *boolean* | `false` | - |
|
||||
| exchange-button-disabled | 是否禁用兑换按钮 | *boolean* | `false` | - |
|
||||
| exchange-min-length | 兑换码最小长度 | *number* | `1` | - |
|
||||
| displayed-coupon-index | 滚动至特定优惠券位置 | *number* | - | - |
|
||||
| show-close-button | 是否显示列表底部按钮 | *boolean* | `true` | - |
|
||||
| close-button-text | 列表底部按钮文字 | *string* | `不使用优惠` | - |
|
||||
| input-placeholder | 输入框文字提示 | *string* | `请输入优惠码` | - |
|
||||
| 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` | 2.3.0 |
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
|------|------|------|------|
|
||||
| v-model | 当前输入的兑换码 | *string* | - |
|
||||
| chosen-coupon | 当前选中优惠券的索引 | *number* | `-1` |
|
||||
| coupons | 可用优惠券列表 | *Coupon[]* | `[]` |
|
||||
| disabled-coupons | 不可用优惠券列表 | *Coupon[]* | `[]` |
|
||||
| enabled-title | 可用优惠券列表标题 | *string* | `可使用优惠券` |
|
||||
| disabled-title | 不可用优惠券列表标题 | *string* | `不可使用优惠券` |
|
||||
| exchange-button-text | 兑换按钮文字 | *string* | `兑换` |
|
||||
| exchange-button-loading | 是否显示兑换按钮加载动画 | *boolean* | `false` |
|
||||
| exchange-button-disabled | 是否禁用兑换按钮 | *boolean* | `false` |
|
||||
| exchange-min-length | 兑换码最小长度 | *number* | `1` |
|
||||
| displayed-coupon-index | 滚动至特定优惠券位置 | *number* | - |
|
||||
| show-close-button | 是否显示列表底部按钮 | *boolean* | `true` |
|
||||
| close-button-text | 列表底部按钮文字 | *string* | `不使用优惠` |
|
||||
| input-placeholder | 输入框文字提示 | *string* | `请输入优惠码` |
|
||||
| show-exchange-bar | 是否展示兑换栏 | *boolean* | `true` |
|
||||
| currency | 货币符号 | *string* | `¥` |
|
||||
| empty-image `v2.1.0` | 列表为空时的占位图 | *string* | `https://img.yzcdn.cn/vant/coupon-empty.png` |
|
||||
| show-count `v2.3.0` | 是否展示可用 / 不可用数量 | *boolean* | `true` |
|
||||
|
||||
### CouponList Events
|
||||
|
||||
|
||||
Reference in New Issue
Block a user