yuminge-app/yun-min-program-plugin-master/packageE/components/good-cell/good-cell.wxss

113 lines
2.3 KiB
Plaintext

/* packageE/components/good-cell/good-cell.wxss */
view {
box-sizing: border-box;
text-align: left;
}
.good-cell-components {
display: flex;
padding: 28rpx;
}
.good-cell-components .good-cell-left {
width: 180rpx;
height: 180rpx;
border-radius: 12rpx;
overflow: hidden;
flex-shrink: 0;
margin-right: 24rpx;
background: #fbfbfb;
}
.good-cell-components .good-cell-left image {
width: 100%;
}
.good-cell-components .good-cell-right {
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
text-align: left;
}
.good-cell-components .good-cell-right .good-cell-title {
flex: 1;
font-size: 14px;
line-height: 32rpx;
max-height: 64rpx;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.good-cell-components .good-cell-right .good-cell-sold,
.good-cell-components .good-cell-right .good-cell-original-price {
font-size: 10px;
color: #999;
}
.good-cell-components .good-cell-right .good-cell-original-price {
text-decoration: line-through;
}
.good-cell-components .good-cell-right .good-cell-price-box {
display: flex;
justify-content: space-between;
font-size: 14px;
align-items: center;
}
.good-cell-components .good-cell-right .good-cell-price-box .good-cell-price {
color: #f15353;
}
.good-cell-components .good-cell-right .good-cell-price-box .good-cell-btn {
background-color: #f15353;
height: 40rpx;
line-height: 40rpx;
color: #fff;
text-align: center;
}
.good-cell-components .good-cell-right .good-cell-price-box .good-cell-btn-1 {
width: 40rpx;
border-radius: 50%;
}
.good-cell-components .good-cell-right .good-cell-price-box .good-cell-btn-2 {
padding: 0 20rpx;
border-radius: 32rpx;
font-size: 12px;
position: relative;
}
.good-cell-components .good-cell-right .good-cell-price-box .good-cell-btn-2 em {
padding: 0 8rpx;
min-width: 24rpx;
height: 40rpx;
line-height: 40rpx;
font-size: 12px;
position: absolute;
top: -12px;
right: -10px;
background-color: #ff5d5c !important;
color: #fff;
border-radius: 28rpx;
box-shadow: 1px 1px 6px #b74444;
}
.iconfont {
font-family: "iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-life-game-plus::before {
content: "\e730";
}