mrr.sj.front/unpackage/dist/dev/mp-weixin/pages/home/components/serviceCard.wxss

130 lines
2.7 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

.service-grid.data-v-1558cd9a {
display: flex;
flex-flow: row wrap;
justify-content: space-between;
gap: 18rpx;
}
.service-item-box.data-v-1558cd9a {
width: 346rpx;
}
.service-item.data-v-1558cd9a {
width: 346rpx;
background-color: #fff;
border-radius: 20rpx;
box-shadow: 0 0 12rpx 0 rgba(0, 0, 0, 0.05);
overflow: hidden;
position: relative;
margin-bottom: 24rpx;
}
.service-image.data-v-1558cd9a {
width: 346rpx;
height: 346rpx;
background-color: #000000;
}
.imageBox.data-v-1558cd9a {
width: 346rpx;
position: relative;
}
.imageBox .distance.data-v-1558cd9a {
position: absolute;
font-family: DINPro, DINPro;
font-weight: 500;
font-size: 20rpx;
color: #ffffff;
bottom: 20rpx;
left: 14rpx;
display: flex;
align-items: center;
justify-content: center;
gap: 6rpx;
background-color: rgba(102, 102, 102, 0.6);
padding: 4rpx 10rpx;
border-radius: 100rpx;
overflow: hidden;
}
.imageBox .distance .position.data-v-1558cd9a {
width: 12rpx;
height: 15rpx;
}
.service-tag.data-v-1558cd9a {
position: absolute;
top: 0rpx;
left: 0rpx;
color: #ffffff;
display: flex;
align-items: center;
justify-content: center;
font-size: 26rpx;
padding: 0 8rpx;
height: 49rpx;
background: linear-gradient(124deg, #f52540 0%, #e8101e 100%);
border-radius: 20rpx 2rpx 20rpx 2rpx;
}
.service-info.data-v-1558cd9a {
padding: 16rpx;
}
.service-title.data-v-1558cd9a {
display: flex;
align-items: center;
flex-direction: row;
}
.service-title-type.data-v-1558cd9a {
width: 64rpx;
/* 图片与文字之间的间距 */
margin-right: 13rpx;
}
.service-title-text.data-v-1558cd9a {
font-weight: 500;
font-size: 28rpx;
color: #333;
text-align: left;
font-style: normal;
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
/* 显示的行数 */
lines: 1;
/* NVUE下要用这个属性来让文字超出隐藏变省略号 */
}
.service-row.data-v-1558cd9a {
display: flex;
flex-flow: row nowrap;
justify-content: space-between;
align-items: center;
}
.service-sales.data-v-1558cd9a {
font-size: 24rpx;
color: #808080;
}
.service-price.data-v-1558cd9a {
display: flex;
flex-flow: row nowrap;
justify-content: flex-start;
align-items: center;
}
.price-symbol.data-v-1558cd9a {
font-weight: 500;
font-size: 24rpx;
color: #e8101e;
text-align: left;
font-style: normal;
margin-right: 4rpx;
}
.price-value.data-v-1558cd9a {
font-weight: 500;
font-size: 28rpx;
color: #e8101e;
text-align: left;
font-style: normal;
}
.shop-text.data-v-1558cd9a {
font-size: 24rpx;
color: #3d3d3d;
font-weight: 400;
}
/* APP适配 */