fix(SubmitBar): remove duplicate "--van-submit-bar-price-font-size" (#9424)

This commit is contained in:
neverland 2021-09-09 10:21:51 +08:00 committed by GitHub
parent 9144b5bd4c
commit 5d42916bc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 9 deletions

View File

@ -135,6 +135,9 @@ The component provides the following CSS variables, which can be used to customi
| --van-submit-bar-background-color | _var(--van-white)_ | - |
| --van-submit-bar-button-width | _110px_ | - |
| --van-submit-bar-price-color | _var(--van-danger-color)_ | - |
| --van-submit-bar-price-font-size | _var(--van-font-size-sm)_ | - |
| --van-submit-bar-price-integer-font-size | _20px_ | - |
| --van-submit-bar-price-font-family | _var(--van-price-integer-font-family)_ | - |
| --van-submit-bar-text-color | _var(--van-text-color)_ | - |
| --van-submit-bar-text-font-size | _var(--van-font-size-md)_ | - |
| --van-submit-bar-tip-padding | _var(--van-padding-xs) var(--van-padding-sm)_ | - |
@ -145,6 +148,3 @@ The component provides the following CSS variables, which can be used to customi
| --van-submit-bar-tip-icon-size | _12px_ | - |
| --van-submit-bar-button-height | _40px_ | - |
| --van-submit-bar-padding | _0 var(--van-padding-md)_ | - |
| --van-submit-bar-price-font-size | _var(--van-font-size-sm)_ | - |
| --van-submit-bar-price-integer-font-size | _20px_ | - |
| --van-submit-bar-price-font-family | _var(--van-price-integer-font-family)_ | - |

View File

@ -142,6 +142,9 @@ export default {
| --van-submit-bar-background-color | _var(--van-white)_ | - |
| --van-submit-bar-button-width | _110px_ | - |
| --van-submit-bar-price-color | _var(--van-danger-color)_ | - |
| --van-submit-bar-price-font-size | _var(--van-font-size-sm)_ | - |
| --van-submit-bar-price-integer-font-size | _20px_ | - |
| --van-submit-bar-price-font-family | _var(--van-price-integer-font-family)_ | - |
| --van-submit-bar-text-color | _var(--van-text-color)_ | - |
| --van-submit-bar-text-font-size | _var(--van-font-size-md)_ | - |
| --van-submit-bar-tip-padding | _var(--van-padding-xs) var(--van-padding-sm)_ | - |
@ -152,6 +155,3 @@ export default {
| --van-submit-bar-tip-icon-size | _12px_ | - |
| --van-submit-bar-button-height | _40px_ | - |
| --van-submit-bar-padding | _0 var(--van-padding-md)_ | - |
| --van-submit-bar-price-font-size | _var(--van-font-size-sm)_ | - |
| --van-submit-bar-price-integer-font-size | _20px_ | - |
| --van-submit-bar-price-font-family | _var(--van-price-integer-font-family)_ | - |

View File

@ -7,6 +7,8 @@
--van-submit-bar-button-width: @submit-bar-button-width;
--van-submit-bar-price-color: @submit-bar-price-color;
--van-submit-bar-price-font-size: @submit-bar-price-font-size;
--van-submit-bar-price-integer-font-size: @submit-bar-price-integer-font-size;
--van-submit-bar-price-font-family: @submit-bar-price-font-family;
--van-submit-bar-currency-font-size: @submit-bar-currency-font-size;
--van-submit-bar-text-color: @submit-bar-text-color;
--van-submit-bar-text-font-size: @submit-bar-text-font-size;
@ -18,9 +20,6 @@
--van-submit-bar-tip-icon-size: @submit-bar-tip-icon-size;
--van-submit-bar-button-height: @submit-bar-button-height;
--van-submit-bar-padding: @submit-bar-padding;
--van-submit-bar-price-font-size: @submit-bar-price-font-size;
--van-submit-bar-price-integer-font-size: @submit-bar-price-integer-font-size;
--van-submit-bar-price-font-family: @submit-bar-price-font-family;
}
.van-submit-bar {