Merge branch '2.x' into dev

This commit is contained in:
chenjiahan
2020-11-22 16:06:24 +08:00
123 changed files with 2400 additions and 95 deletions
+21
View File
@@ -169,6 +169,27 @@ export default {
| focus | 输入框聚焦时触发 | _event: Event_ |
| blur | 输入框失焦时触发 | _event: Event_ |
### 样式变量
组件提供了下列 Less 变量,可用于自定义样式,使用方法请参考[主题定制](#/zh-CN/theme)。
| 名称 | 默认值 | 描述 |
| ---------------------------------------- | ------------------- | ---- |
| @stepper-active-color | `#e8e8e8` | - |
| @stepper-background-color | `@active-color` | - |
| @stepper-button-icon-color | `@text-color` | - |
| @stepper-button-disabled-color | `@background-color` | - |
| @stepper-button-disabled-icon-color | `@gray-5` | - |
| @stepper-button-round-theme-color | `@red` | - |
| @stepper-input-width | `32px` | - |
| @stepper-input-height | `28px` | - |
| @stepper-input-font-size | `@font-size-md` | - |
| @stepper-input-line-height | `normal` | - |
| @stepper-input-text-color | `@text-color` | - |
| @stepper-input-disabled-text-color | `@gray-5` | - |
| @stepper-input-disabled-background-color | `@active-color` | - |
| @stepper-border-radius | `@border-radius-md` | - |
## 常见问题
### 为什么 value 有时候会变成 string 类型?