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.
 
 
 

87 lines
1.6 KiB

.wanl-news-image {
display: flex;
position: relative;
}
.flex.align-start .wanl-news-image {
width: 220rpx;
height: 180rpx;
}
.flex.align-start .wanl-news-box {
height: 180rpx;
}
.wanl-news-image image{
height: 180rpx;
}
.wanl-news-image.justify-between image {
width: 32%;
height: 180rpx;
}
.wanl-news-image .tag {
position: absolute;
right: 0;
bottom: 0;
font-size: 24rpx;
color: #fff;
padding: 2rpx 12rpx;
background: rgba(0, 0, 0, 0.6);
z-index: 20;
-webkit-transform: scale(0.8);
transform: scale(0.8);
-webkit-transform-origin: 100% 100%;
transform-origin: 100% 100%;
}
.wanl-news-image.video image {
height: 280rpx;
width: 100%;
}
.wanl-news-image.video .icon {
position: absolute;
z-index: 10;
display: flex;
align-items: center;
justify-content: center;
left: 50%;
top: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
-webkit-transform-origin: 0 0;
transform-origin: 0 0;
}
.wanl-news-image.video .icon text[class*='wlIcon-'] {
background: rgba(0, 0, 0, 0.5);
border-radius: 50%;
padding: 26rpx;
}
.wanl-news-box {
flex: 1;
width: 100%;
box-sizing: border-box;
display: flex;
}
.wanl-news-box .title {
width: 100%;
word-break: break-all;
word-wrap: break-word;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
box-sizing: border-box;
}
.wanl-sub-box {
display: flex;
align-items: center;
justify-content: space-between;
color: #999;
box-sizing: border-box;
line-height: 24rpx;
}
.wanl-sub-box .cmt {
font-size: 24rpx;
line-height: 24rpx;
display: flex;
align-items: center;
}