[improvement] Card: add origin-price prop (#1916)
This commit is contained in:
@@ -36,7 +36,8 @@
|
||||
|
||||
&,
|
||||
&__thumb,
|
||||
&__row {
|
||||
&__row,
|
||||
&__content {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
@@ -66,14 +67,22 @@
|
||||
max-height: 20px;
|
||||
}
|
||||
|
||||
&__price,
|
||||
&__num {
|
||||
&__left {
|
||||
flex: 1;
|
||||
min-width: 80px;
|
||||
}
|
||||
|
||||
&__right {
|
||||
flex-shrink: 0;
|
||||
line-height: 20px;
|
||||
padding-left: 10px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
&__origin-price {
|
||||
color: $gray-darker;
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
&__num {
|
||||
color: $gray-darker;
|
||||
}
|
||||
@@ -86,7 +95,7 @@
|
||||
|
||||
&__footer {
|
||||
right: 15px;
|
||||
bottom: 5px;
|
||||
bottom: 8px;
|
||||
position: absolute;
|
||||
|
||||
.van-button {
|
||||
|
||||
Reference in New Issue
Block a user