121 lines
1.7 KiB
Plaintext
121 lines
1.7 KiB
Plaintext
|
.news-type,page {
|
||
|
background-color: #fff;
|
||
|
}
|
||
|
|
||
|
.news-type {
|
||
|
border-bottom: 1px solid #ddd;
|
||
|
display: flex;
|
||
|
flex-wrap: nowrap;
|
||
|
left: 0;
|
||
|
overflow-x: auto;
|
||
|
position: fixed;
|
||
|
right: 0;
|
||
|
top: 0;
|
||
|
z-index: 100;
|
||
|
}
|
||
|
|
||
|
.type-box {
|
||
|
flex-shrink: 0;
|
||
|
font-size: 32rpx;
|
||
|
line-height: 80rpx;
|
||
|
text-align: center;
|
||
|
width: 25%;
|
||
|
}
|
||
|
|
||
|
.type-box.active {
|
||
|
color: #f55054;
|
||
|
}
|
||
|
|
||
|
.news-list {
|
||
|
margin-top: 80rpx;
|
||
|
padding: 20rpx;
|
||
|
}
|
||
|
|
||
|
.news-box {
|
||
|
border-bottom: 1px solid #ddd;
|
||
|
display: flex;
|
||
|
justify-content: space-between;
|
||
|
padding: 20rpx 0;
|
||
|
}
|
||
|
|
||
|
.news-img {
|
||
|
height: 150rpx;
|
||
|
overflow: hidden;
|
||
|
text-align: center;
|
||
|
width: 30%;
|
||
|
}
|
||
|
|
||
|
.news-img image {
|
||
|
border-radius: 10rpx;
|
||
|
height: 100%;
|
||
|
}
|
||
|
|
||
|
.news-info {
|
||
|
width: 68%;
|
||
|
}
|
||
|
|
||
|
.news-title {
|
||
|
-webkit-line-clamp: 2;
|
||
|
-webkit-box-orient: vertical;
|
||
|
display: -webkit-box;
|
||
|
font-size: 32rpx;
|
||
|
font-weight: 700;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
.news-date {
|
||
|
color: #bbb;
|
||
|
font-size: 30rpx;
|
||
|
margin-top: 15rpx;
|
||
|
}
|
||
|
|
||
|
.style3,.style4 {
|
||
|
flex-direction: column;
|
||
|
}
|
||
|
|
||
|
.style3 .news-img,.style3 .news-info,.style4 .news-info {
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
.style3 .news-img {
|
||
|
height: auto;
|
||
|
margin-top: 10rpx;
|
||
|
}
|
||
|
|
||
|
.style3 .news-img image,.style5 .news-info {
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
.style5 {
|
||
|
flex-direction: column;
|
||
|
}
|
||
|
|
||
|
.news-img-container .img-box {
|
||
|
border-radius: 10rpx;
|
||
|
display: inline-block;
|
||
|
height: 150rpx;
|
||
|
margin-right: 2%;
|
||
|
text-align: center;
|
||
|
width: 32%;
|
||
|
}
|
||
|
|
||
|
.img-box image {
|
||
|
height: 100%;
|
||
|
}
|
||
|
|
||
|
.news-img-container .img-box:last-child {
|
||
|
margin-right: 0;
|
||
|
}
|
||
|
|
||
|
.news-img-container {
|
||
|
margin-top: 10rpx;
|
||
|
}
|
||
|
|
||
|
.no-data {
|
||
|
margin-top: 150rpx;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
.no-data image {
|
||
|
width: 300rpx;
|
||
|
}
|