feat(Card): Card 组件样式调整添加 price 上方的插槽 (#5134)

This commit is contained in:
Lindy
2019-11-29 14:29:42 +08:00
committed by neverland
parent a7ae694dbb
commit abbee1062b
8 changed files with 97 additions and 27 deletions
+7
View File
@@ -29,6 +29,7 @@
display: flex;
flex: 1;
flex-direction: column;
justify-content: space-between;
min-width: 0; /* hack for flex box ellipsis */
min-height: @card-thumb-size;
@@ -62,6 +63,11 @@
display: inline-block;
color: @card-price-color;
font-weight: @font-weight-bold;
&--integer {
font-size: @card-price-integer-font-size;
font-family: @card-price-font-family;
}
}
&__origin-price {
@@ -74,6 +80,7 @@
&__num {
float: right;
color: @card-num-color;
}
&__tag {