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
+23
View File
@@ -101,3 +101,26 @@ Use slot to custom content.
| tag | Custom thumb tag |
| tags | Custom tags |
| footer | Custom footer |
### Less Variables
How to use: [Custom Theme](#/en-US/theme).
| Name | Default Value | Description |
| ----------------------------- | ---------------------------- | ----------- |
| @card-padding | `@padding-xs @padding-md` | - |
| @card-font-size | `@font-size-sm` | - |
| @card-text-color | `@text-color` | - |
| @card-background-color | `@background-color-light` | - |
| @card-thumb-size | `88px` | - |
| @card-thumb-border-radius | `@border-radius-lg` | - |
| @card-title-line-height | `16px` | - |
| @card-desc-color | `@gray-7` | - |
| @card-desc-line-height | `@line-height-md` | - |
| @card-price-color | `@gray-8` | - |
| @card-origin-price-color | `@gray-6` | - |
| @card-num-color | `@gray-6` | - |
| @card-origin-price-font-size | `@font-size-xs` | - |
| @card-price-font-size | `@font-size-sm` | - |
| @card-price-integer-font-size | `@font-size-lg` | - |
| @card-price-font-family | `@price-integer-font-family` | - |