yuminge-app/yun-min-program-plugin-master/packageG/mycomponent/article/article.wxss

118 lines
1.9 KiB
Plaintext

/* packageE/article/article.wxss */
.component-wrapper {
width: 100%;
text-align: left;
}
.tag {
padding: 0;
}
.article-list {
display: flex;
align-items: center;
flex-wrap: nowrap;
padding: 10rpx 20rpx;
height: 200rpx;
box-sizing: content-box;
}
.article-list.member-article-list {
background: #fff !important;
margin: 10px;
border-radius: 5px;
font-size: 14px;
font-weight: bold;
}
.article-list .image-style1 {
width: 104px;
height: 93px;
border-radius: 7.5px;
margin-right: 15px;
}
.article-list .image-style1 .img {
width: 100%;
height: 100%;
border-radius: 5px;
}
.article-list .content {
flex: 1;
display: flex;
flex-direction: column;
justify-content: flex-end;
height: 100%;
padding: 16px 0;
}
.article-list .content .title {
/* line-height: 18px;
font-size: 14px;
height: 42px; */
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 3;
line-clamp: 3;
-webkit-box-orient: vertical;
}
.article-list .content .title .pay-money {
width: 34px;
height: 18px;
line-height: 17px;
border-radius: 5px;
border: solid 1px #ff2c29;
display: inline-block;
text-align: center;
vertical-align: baseline;
font-size: 12px;
color: #ff2c29;
margin-right: 5px;
}
.article-list .content .message {
flex: 1;
display: flex;
align-items: flex-end;
color: #999;
font-size: 12px;
}
.article-list .content .message .author {
flex: 1;
display: inline-block;
margin-right: 10px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.article-list .content .message .time {
flex: 0 0 140px;
display: inline-block;
}
.article-list .image-style2 {
width: 104px;
height: 93px;
border-radius: 7.5px;
margin-left: 15px;
}
.article-list .image-style2 .img {
width: 100%;
height: 100%;
border-radius: 5px;
}
.loadMore {
width: 100%;
height: 40px;
line-height: 40px;
text-align: center;
clear: both;
}