81 lines
1.4 KiB
Plaintext
81 lines
1.4 KiB
Plaintext
/* packageI/newMedia/components/adArticleItem/adArticleItem.wxss */
|
|
view,
|
|
text {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.ad-article-item {
|
|
padding-bottom: 21rpx;
|
|
width: 340rpx;
|
|
border-radius: 10rpx;
|
|
background-color: white;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ad-article_header {
|
|
position: relative;
|
|
}
|
|
|
|
.ad-article-cover {
|
|
width: 100%;
|
|
height: 453rpx;
|
|
object-fit: cover;
|
|
vertical-align: bottom;
|
|
}
|
|
|
|
.ad-article-category {
|
|
position: absolute;
|
|
top: 15rpx;
|
|
left: 15rpx;
|
|
padding: 10rpx 17rpx;
|
|
font-size: 22rpx;
|
|
color: white;
|
|
border-radius: 32rpx;
|
|
background-color: rgba(0, 0, 0, 0.6);
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.ad-article-clicks {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
padding: 11rpx 20rpx;
|
|
width: 100%;
|
|
font-size: 22rpx;
|
|
text-align: left;
|
|
color: white;
|
|
background-color: rgba(0, 0, 0, 0.6);
|
|
}
|
|
|
|
.ad-article_title {
|
|
margin: 22rpx 17rpx 0;
|
|
line-height: 36rpx;
|
|
font-size: 28rpx;
|
|
color: #1e1e1e;
|
|
word-break: break-all;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
-o-text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.ad-article_author {
|
|
padding: 0 18rpx;
|
|
margin-top: 29rpx;
|
|
font-size: 22rpx;
|
|
color: #2a2a2a;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
-o-text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.ad-article_author-avatar {
|
|
vertical-align: top;
|
|
margin-right: 11rpx;
|
|
width: 40rpx;
|
|
height: 40rpx;
|
|
object-fit: cover;
|
|
border-radius: 50%;
|
|
}
|