金诚优选前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

161 lines
4.6 KiB

.bargain_contanier{
width: 100%;
position: relative;
.bargain_head{
width: 100%;
height: 400rpx;
position: relative;
image{
width: 100%;
height: 100%;
}
}
.rule{
width:74px;
height:24px;
color: #ffffff;
background:rgba(17, 17, 17, 0.1);
border-radius:100px 0px 0px 100px;
position: absolute;
display: flex;
justify-content: center;
align-items: center;
top: 15px;
right: 0;
font-size:11px;
}
.body_box{
position: relative;
top: -30px;
width: 92%;
display: flex;
flex-direction: column;
.bargain_body{
margin: -0px 15px 10px 15px;
padding: 10px;
border-radius:6px;
width: 100%;
.bargain_goods{
display: flex;
background-color: #fff;
padding: 10px;
margin-bottom: 10px;
align-items: center;
.goods_left{
width:110px;
margin-right: 10px;
image{
width: 100%;
}
}
.goods_right{
display: flex;
flex-direction: column;
flex: 1;
.goods_name{
font-size:13px;
font-weight:400;
color:rgba(51,51,51,1);
line-height:20px;
word-break: break-all;
word-wrap: break-word;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
}
.number{
height:14px;
font-size:10px;
font-family:PingFangSC;
font-weight:400;
color:rgba(170,170,170,1);
line-height:14px;
font-size: 10px;
margin-top: 3px;
}
.past_price{
margin: 6px 0px 4px 0;
height:17px;
font-size:12px;
font-family:PingFangSC;
font-weight:400;
color:rgba(102,102,102,1);
line-height:17px;
span{
text-decoration: line-through
}
}
.right_foot{
position: relative;
display: flex;
justify-content:space-between;
align-items: center;
.new_price{
height:24px;
font-size:12px;
font-weight:600;
color:#FB5054;
line-height:24px;
}
.btn{
display: flex;
justify-content: center;
align-items: center;
width:80px;
height:24px;
font-size:12px;
color: #ffffff;
background:rgba(251,80,84,1);
border-radius:12px;
}
.bind-btn{
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
}
}
}
}
}
.box_body{
display: flex;
background: rgba(17,17,17,.5);
position: fixed;
bottom: 0;
left: 0;
right: 0;
top: 0;
flex-direction: column;
align-items: center;
.rule_box{
width: 84%;
height: 60%;
font-size: 13px;
padding: 15px;
background: #fff;
border-radius: 6px;
top: 84px;
z-index: 999;
margin-top: 79px;
overflow: scroll;
}
.icon-close{
color: #FFF;
border-radius: 50%;
bottom: 80px;
border: 1px solid #fff;
box-sizing: border-box;
width: 27px;
height: 27px;
display: flex;
justify-content: center;
margin-top: 20px;
}
}
}