[improvement] Card: add origin-price prop (#1916)

This commit is contained in:
neverland
2018-10-11 15:50:26 +08:00
committed by GitHub
parent 1be1f1e53a
commit 4465e6f705
7 changed files with 52 additions and 34 deletions
+14 -5
View File
@@ -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 {