mirror of
https://github.com/youzan/vant.git
synced 2025-12-19 01:02:29 +08:00
[Improvement] CouponList: add exchangeMinLength prop (#556)
This commit is contained in:
@@ -84,6 +84,7 @@ export default {
|
||||
| disabled-coupons | Disabled voupon list | `Array` | `[]` | - |
|
||||
| exchange-button-text | Exchange button text | `String` | `Exchange` | - |
|
||||
| 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` | - |
|
||||
| disabled-list-title | Disabled list title | `String` | `Unavailable` | - |
|
||||
|
||||
@@ -85,6 +85,7 @@ export default {
|
||||
| disabled-doupons | 不可用优惠券列表 | `Array` | `[]` | - |
|
||||
| exchange-button-text | 兑换按钮文字 | `String` | `兑换` | - |
|
||||
| exchange-button-disabled | 是否禁用兑换按钮 | `Boolean` | `false` | - |
|
||||
| exchange-min-length | 兑换码最小长度 | `Number` | `1` | - |
|
||||
| displayed-coupon-index | 滚动至特定优惠券位置 | `Number` | - | - |
|
||||
| show-close-button | 是否显示列表底部按钮 | `Boolean` | `true` | - |
|
||||
| close-button-text | 列表底部按钮文字 | `String` | `不使用优惠` | - |
|
||||
|
||||
Reference in New Issue
Block a user