feat(Card): Card 组件样式调整添加 price 上方的插槽 (#5134)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user