feat(SubmitBar): SubmitBar组件样式调整及新增文案对齐方向属性 (#5130)

This commit is contained in:
Lindy
2019-11-28 19:07:50 +08:00
committed by neverland
parent 00f6b5274f
commit a7ae694dbb
9 changed files with 61 additions and 23 deletions
+12 -3
View File
@@ -32,6 +32,7 @@
align-items: center;
justify-content: flex-end;
height: @submit-bar-height;
padding: @submit-bar-padding;
font-size: @submit-bar-text-font-size;
}
@@ -53,15 +54,23 @@
&__price {
color: @submit-bar-price-color;
font-size: @submit-bar-price-font-size;
font-size: @font-size-sm;
&::first-letter {
font-size: @submit-bar-currency-font-size;
&--integer {
font-size: @submit-bar-price-integer-font-size;
font-family: @submit-bar-price-font-family;
}
}
&__button {
width: @submit-bar-button-width;
height: @submit-bar-button-height;
line-height: @submit-bar-button-height;
border: none;
&--danger {
background: @goods-action-button-danger-color;
}
}
&--safe-area-inset-bottom {