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.
83 lines
1.5 KiB
83 lines
1.5 KiB
/* 热点事件 */
|
|
.p-container {
|
|
width: calc(100% - 32px);
|
|
padding: 0px 16px;
|
|
}
|
|
.list_event{
|
|
margin: 32rpx 0;
|
|
padding: 0 0 20rpx 0;
|
|
background-size: cover;
|
|
/* width: calc(100% - 32px); */
|
|
/* height: 616rpx; */
|
|
border-radius: 8rpx;
|
|
|
|
}
|
|
.event_title{
|
|
font-size: 36rpx;
|
|
padding: 32rpx;
|
|
}
|
|
|
|
.event_content{
|
|
padding: 10rpx 0;
|
|
}
|
|
.event_text{
|
|
display: flex;
|
|
justify-content : space-between;
|
|
padding: 0rpx 32rpx;
|
|
}
|
|
.text_title{
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
width: 500rpx;
|
|
}
|
|
.text_num{
|
|
color: #FF343F;
|
|
}
|
|
.text_pinpai{
|
|
color: #999999;
|
|
font-size: 24rpx;
|
|
}
|
|
/* 文章 */
|
|
.content{
|
|
margin: 24rpx 0rpx;
|
|
background-color: #ffffff;
|
|
/* width: calc(100% - 32px); */
|
|
height: 220rpx;
|
|
border-radius: 8rpx;
|
|
}
|
|
.content_text{
|
|
display: flex;
|
|
justify-content : space-between;
|
|
/* padding: 0rpx 32rpx; */
|
|
|
|
}
|
|
.content_pinpai{
|
|
color: #999999;
|
|
font-size: 24rpx;
|
|
}
|
|
.content_event{
|
|
padding: 0 32rpx;
|
|
}
|
|
.content_pinpai{
|
|
color: #999999;
|
|
font-size: 24rpx;
|
|
padding: 10rpx 0;
|
|
height: 48rpx;
|
|
line-height: 48rpx;
|
|
|
|
}
|
|
.content_title{
|
|
/* 显示两行文本多余... */
|
|
font-size: 14px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: normal;
|
|
word-break: break-all;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
align-content: center;
|
|
height: 80rpx;
|
|
line-height: 45rpx;
|
|
} |