captain-ui
Version:
有赞vue wap业务组件库
155 lines (128 loc) • 2.62 kB
CSS
@import '../../../common/var.css';
.cap-ump-groupon--list {
position: relative;
padding: 0 15px;
background: $white;
.cap-ump-groupon-goods {
padding-left: 0;
padding-right: 0;
height: 110px;
&::after {
@mixin border-retina (bottom);
}
&:last-child {
&::after {
border: 0;
}
}
&--soldout {
.cap-goods-img {
&::after {
width: 60px;
height: 60px;
}
}
}
&--end {
.cap-goods-img {
&::after{
width: 60px;
height: 60px;
}
}
}
}
.cap-ump-groupon-goods__groupon-nums {
left: 14px;
bottom: 5px;
height: 14px;
line-height: 14px;
font-size: 10px;
&:before {
left: -7px;
height: 14px;
}
}
.cap-ump-groupon-goods__activity-tag {
display: inline-block;
margin: 0 8px 12px 0;
padding: 2px 6px;
height: 12px;
line-height: 12px;
vertical-align: 2px;
border-radius: 23px 0 0 23px;
background-color: $red;
text-align: center;
color: $white;
font-size: 12px;
}
.cap-ump-groupon-goods__origin-price {
display: block;
font-size: 10px;
}
.cap-ump-groupon-goods__header {
float: left;
margin-right: 10px;
width: 110px;
height: 110px;
}
.cap-ump-groupon-goods__body {
position: relative;
padding: 0;
height: 110px;
}
.cap-ump-groupon-goods__title {
@mixin multi-ellipsis 2;
font-size: 14px;
line-height: 17px;
max-height: 34px;
}
.cap-ump-groupon-goods__groupon-price {
font-weight: normal;
}
.cap-ump-groupon-goods__goods-info {
position: absolute;
right: 0;
left: 0;
bottom: 0;
line-height: 20px;
}
.cap-ump-groupon-goods__groupon-price-symbol {
font-size: 12px;
}
.cap-ump-groupon-goods__groupon-price-yuan {
font-size: 18px;
}
.cap-ump-groupon-goods__groupon-price-cent {
font-size: 18px;
}
.cap-ump-gorupon-goods__body--btn-0 {
.cap-ump-groupon-goods__action {
background: $red;
color: $white;
}
}
.cap-ump-groupon-goods__body--btn-0,
.cap-ump-groupon-goods__body--btn-1 {
.cap-ump-groupon-goods__action {
position: absolute;
padding: 5px 15px;
border-radius: 16px;
}
}
}
@media screen and (max-width: 320px) {
.cap-ump-groupon--list {
.cap-ump-groupon-goods__action {
padding: 3px 10px;
}
}
}
/** 预览专用 **/
.cap-ump-groupon--preview {
.cap-ump-groupon--list {
.cap-ump-groupon-goods__action {
padding: 3px 10px;
}
}
}