mirror of
https://gitee.com/bagee/jd-coupon-miniapp.git
synced 2025-06-16 23:39:59 +08:00
135 lines
2.4 KiB
Plaintext
135 lines
2.4 KiB
Plaintext
/* components/product-item/product-item.wxss */
|
|
@import "../../utils/styles/main.wxss";
|
|
@import "../../utils/styles/icon.wxss";
|
|
@import "../../utils/styles/animation.wxss";
|
|
@import "../../utils/styles/base.wxss";
|
|
|
|
.bg-item{
|
|
background-color: white;
|
|
width: 200rpx;
|
|
color: #f43f3b;
|
|
border-radius: 5rpx;
|
|
border: 1px solid #f43f3b;
|
|
padding: 6rpx 10rpx;
|
|
margin-left: 20rpx;
|
|
margin-top: 20rpx;
|
|
}
|
|
|
|
.tag-product {
|
|
background-color: #f43f3b;
|
|
color: white;
|
|
position: absolute;
|
|
padding: 4rpx 12rpx;
|
|
font-size: 20rpx;
|
|
margin-top: 6rpx;
|
|
border-radius: 10rpx;
|
|
margin-left: 20rpx;
|
|
}
|
|
|
|
.title-style {
|
|
text-indent: 40px;
|
|
margin-left: 20rpx;
|
|
letter-spacing: 1rpx;
|
|
line-height: 48rpx;
|
|
}
|
|
|
|
.ellipsis {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
}
|
|
|
|
.comment{
|
|
display: flex;
|
|
text-align: end;
|
|
justify-content: end;
|
|
right: 20rpx;
|
|
}
|
|
|
|
.semicircle-left{
|
|
width: 20rpx;
|
|
height: 20rpx;
|
|
background-color: white;
|
|
border-bottom-left-radius: 50%;
|
|
border-top-left-radius: 50%
|
|
}
|
|
|
|
.line-division{
|
|
width: 96%;
|
|
height: 2rpx;
|
|
margin-left: 2%;
|
|
margin-top: 20rpx;
|
|
background-color: #f2f2f2
|
|
}
|
|
|
|
.comment{
|
|
position: absolute;
|
|
right: 20rpx;
|
|
}
|
|
|
|
|
|
|
|
.style-three {
|
|
width:100%;
|
|
height:1.2rem;
|
|
position:relative;
|
|
display:-webkit-box;
|
|
display:-webkit-flex;
|
|
display:flex;
|
|
align-items:center;
|
|
justify-content:center;
|
|
background-color:#f43f3b;
|
|
border:none;
|
|
color:#fff;
|
|
}
|
|
|
|
.style-three:before {
|
|
content:"";
|
|
position:absolute;
|
|
left:-.25rem;
|
|
width:.9rem;
|
|
height:.55rem;
|
|
top:50%;
|
|
-webkit-transform:translate(-30%,-50%);
|
|
transform:translate(-30%,-50%);
|
|
-webkit-box-shadow:3px 0 0 #e76960;
|
|
box-shadow:3px 0 0 #e76960;
|
|
-webkit-border-radius:80%;
|
|
border-radius:80%;
|
|
background-color:white;
|
|
}
|
|
|
|
.style-three .get-btn:after {
|
|
content:"";
|
|
width:.6rem;
|
|
position:absolute;
|
|
top:0;
|
|
bottom:0;
|
|
right:23.9%;
|
|
left:0;
|
|
display:block;
|
|
z-index:9;
|
|
background-color:white;
|
|
background-position:100% 35%;
|
|
background-size:1rem .5rem;
|
|
background-image:linear-gradient(-45deg,#ffffff 25%,#e76960 25%,#e76960)
|
|
}
|
|
|
|
.style-three .get-btn {
|
|
display:-webkit-box;
|
|
display:-webkit-flex;
|
|
display:flex;
|
|
position: absolute;
|
|
right: 0;
|
|
align-items:center;
|
|
justify-content:center;
|
|
width:5%;
|
|
height:1.2rem;
|
|
text-align:center;
|
|
color:#fff;
|
|
font-size:1.5rem;
|
|
line-height:1.35;
|
|
background-color:#fff;
|
|
} |