89 lines
1.3 KiB
Plaintext
89 lines
1.3 KiB
Plaintext
![]() |
@import "../area/index.wxss";
|
||
|
|
||
|
.van-card {
|
||
|
position: relative;
|
||
|
padding: 5px 15px;
|
||
|
font-size: 12px;
|
||
|
color: #333;
|
||
|
background-color: #fafafa;
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
|
||
|
.van-card__header {
|
||
|
display: flex;
|
||
|
}
|
||
|
|
||
|
.van-card__header--center {
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
}
|
||
|
|
||
|
.van-card__thumb {
|
||
|
position: relative;
|
||
|
width: 90px;
|
||
|
height: 90px;
|
||
|
margin-right: 10px;
|
||
|
flex: none;
|
||
|
}
|
||
|
|
||
|
.van-card__thumb:empty {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
.van-card__img {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
}
|
||
|
|
||
|
.van-card__content {
|
||
|
position: relative;
|
||
|
min-width: 0;
|
||
|
flex: 1;
|
||
|
}
|
||
|
|
||
|
.van-card__desc,.van-card__title {
|
||
|
word-break: break-all;
|
||
|
}
|
||
|
|
||
|
.van-card__title {
|
||
|
font-weight: 700;
|
||
|
line-height: 16px;
|
||
|
}
|
||
|
|
||
|
.van-card__desc {
|
||
|
color: #7d7e80;
|
||
|
}
|
||
|
|
||
|
.van-card__bottom,.van-card__desc {
|
||
|
line-height: 20px;
|
||
|
}
|
||
|
|
||
|
.van-card__price {
|
||
|
display: inline-block;
|
||
|
font-weight: 700;
|
||
|
color: #f44;
|
||
|
}
|
||
|
|
||
|
.van-card__origin-price {
|
||
|
display: inline-block;
|
||
|
margin-left: 5px;
|
||
|
font-size: 10px;
|
||
|
color: #7d7e80;
|
||
|
text-decoration: line-through;
|
||
|
}
|
||
|
|
||
|
.van-card__num {
|
||
|
float: right;
|
||
|
}
|
||
|
|
||
|
.van-card__tag {
|
||
|
position: absolute;
|
||
|
top: 2px;
|
||
|
left: 0;
|
||
|
}
|
||
|
|
||
|
.van-card__footer {
|
||
|
width: 100%;
|
||
|
text-align: right;
|
||
|
flex: none;
|
||
|
}
|