yuminge-app/yun-min-program-plugin-master/packageD/livePlayer/livePlayer.wxss

215 lines
4.0 KiB
Plaintext

/* packageD/livePlayer/livePlayer.wxss */
.liveList {
background: #fff;
}
.living_content {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
padding-top: 40rpx;
padding-left: 20rpx;
padding-right: 20rpx;
}
.liveList .living {
width: 340rpx;
padding-bottom: 56rpx;
position: relative;
background-color: #fff;
border-radius: 25rpx;
margin-bottom: 13rpx;
}
.liveList .living .bg {
width: 340rpx;
min-height: 230rpx;
background-color: #fff;
border-radius: 25rpx;
position: relative;
}
.liveList .living .bg image {
border-radius: 25rpx;
width: 100%;
/* height: 100%; */
}
.liveList .living .bg .content {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
}
.liveList .living .bg .content .live_top {
display: flex;
justify-content: space-between;
padding-top: 19rpx;
padding-left: 10rpx;
}
.liveList .living .bg .content .live_top .live_top_left {
min-width: 206rpx;
height: 39rpx;
/* background-color: rgba(0, 0, 0, 0.1); */
border-radius: 7rpx;
display: flex;
align-items: center;
}
.liveList .living .bg .content .live_top .live_top_left .left {
width: 90rpx;
height: 39rpx;
background-color: #ff2c29;
border-radius: 7rpx;
text-align: center;
color: #fff;
}
.liveList .living .bg .content .live_top .live_top_left .right {
font-size: 22rpx;
height: 39rpx;
line-height: 39rpx;
color: #fff;
padding-left: 8rpx;
padding-right: 8rpx;
max-width: 180rpx;
overflow: hidden;
}
.liveList .living .bg .content .live_top .seeding_left {
/* min-width: 206rpx; */
height: 39rpx;
/* background-color: rgba(0, 0, 0, 0.1); */
border-radius: 7rpx;
display: flex;
align-items: center;
}
.liveList .living .bg .content .live_top .seeding_left .left {
width: 76rpx;
height: 39rpx;
background-color: #999;
border-radius: 7rpx;
text-align: center;
color: #fff;
}
.liveList .living .bg .content .live_top .seeding_left .right {
font-size: 22rpx;
height: 39rpx;
line-height: 39rpx;
color: #fff;
padding-left: 8rpx;
padding-right: 8rpx;
max-width: 180rpx;
overflow: hidden;
}
.liveList .living .bg .content .live_top .advance_left .left {
width: 76rpx;
height: 39rpx;
background-color: #ff2c29;
border-radius: 7rpx;
text-align: center;
color: #fff;
}
.liveList .living .bg .content .live_top .live_top_right {
width: 59rpx;
position: relative;
margin-right: 7rpx;
}
.liveList .living .bg .content .live_top .live_top_right .little_icon {
width: 50rpx;
height: 40rpx;
display: flex;
align-items: center;
justify-content: center;
}
.liveList .living .bg .content .live_top .live_top_right .little_icon .icon-zb_goods {
color: #ffa303;
font-size: 50rpx;
}
.liveList .living .bg .content .live_top .live_top_right .num {
min-width: 50rpx;
padding-left: 4rpx;
padding-right: 4rpx;
height: 22rpx;
background-color: #fff;
border-radius: 9rpx;
position: absolute;
right: -2rpx;
top: 6rpx;
font-size: 20rpx;
line-height: 22rpx;
color: #f00;
text-align: center;
overflow: hidden;
}
.liveList .living .bg .live_bottom {
position: absolute;
height: 72rpx;
bottom: 0;
left: 0;
right: 0;
padding-left: 12rpx;
padding-right: 12rpx;
font-size: 28rpx;
line-height: 36rpx;
color: #fff;
/* text-overflow: -o-ellipsis-lastline; */
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
margin-bottom: 20rpx;
}
.liveList .living .bootom {
position: absolute;
display: flex;
bottom: 10rpx;
left: 0;
right: 0;
}
.liveList .living .bootom .left {
width: 56rpx;
height: 56rpx;
background-color: #fff;
border: solid 4rpx #fff;
border-radius: 50%;
margin-right: 9rpx;
margin-left: 6rpx;
}
.liveList .living .bootom .left image {
width: 100%;
height: 100%;
border-radius: 50%;
}
.liveList .living .bootom .right {
font-size: 24rpx;
line-height: 36rpx;
color: #000;
padding-top: 20rpx;
flex: 1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}