139 lines
2.3 KiB
Plaintext
139 lines
2.3 KiB
Plaintext
.top-tab{
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
background: #fff;
|
|
overflow-x: auto;
|
|
}
|
|
.type{
|
|
display: flex;
|
|
}
|
|
.tab-box{
|
|
width: 24%;
|
|
position: relative;
|
|
height: 90rpx;
|
|
text-align: center;
|
|
line-height: 90rpx;
|
|
font-size: 30rpx;
|
|
color: #122939;
|
|
flex-shrink: 0;
|
|
padding: 0 10rpx;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.tab-box.active{
|
|
font-weight: bold;
|
|
}
|
|
.tab-box.active:after{
|
|
content: '';
|
|
display: block;
|
|
width: 90rpx;
|
|
height: 8rpx;
|
|
background: linear-gradient(90deg, rgba(255, 164, 40, 0.97), rgba(247, 197, 46, 0.97));
|
|
border-radius: 4px;
|
|
position: absolute;
|
|
bottom: 10rpx;
|
|
left: 50%;
|
|
margin-left: -45rpx;
|
|
}
|
|
|
|
.area{
|
|
overflow-x: auto;
|
|
white-space: nowrap;
|
|
position: fixed;
|
|
top: 90rpx;
|
|
left: 0;
|
|
right: 0;
|
|
border-bottom: 1px solid #DDD;
|
|
background: #fff;
|
|
}
|
|
.area-box{
|
|
display: inline-flex;
|
|
width: 30%;
|
|
height: 90rpx;
|
|
/* line-height: 90rpx;
|
|
text-align: center; */
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0 20px;
|
|
box-sizing: border-box;
|
|
position: relative;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
font-size: 30rpx;
|
|
}
|
|
.area-box.active{
|
|
color: #9F1512;
|
|
}
|
|
.area-box image{
|
|
position: absolute;
|
|
width: 15rpx;
|
|
height: 40rpx;
|
|
top: 50%;
|
|
margin-top: -20rpx;
|
|
display: none;
|
|
}
|
|
.area-box.active image{
|
|
display: block;
|
|
}
|
|
.area-box image.selected-l{
|
|
left: 20rpx;
|
|
}
|
|
.area-box image.selected-r{
|
|
right: 20rpx;
|
|
}
|
|
.news{
|
|
padding: 0 30rpx;
|
|
border-bottom: 5px solid #FBFBFB;
|
|
margin-top: 90rpx;
|
|
}
|
|
.news-box{
|
|
background: #FFFFFF;
|
|
box-shadow: 0px 2px 8px 0px rgba(35, 24, 21, 0.1);
|
|
border-radius: 12rpx;
|
|
overflow: hidden;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
.news-title{
|
|
color: #122939;
|
|
font-size: 32rpx;
|
|
font-weight: bold;
|
|
padding: 0 15rpx;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.news-info{
|
|
color: #949494;
|
|
margin-top: 15rpx;
|
|
font-size: 24rpx;
|
|
padding: 0 15rpx 15rpx;
|
|
}
|
|
.news-info text{
|
|
margin-right: 20rpx;
|
|
}
|
|
.news-big-pic image{
|
|
width: 100%;
|
|
}
|
|
.news-small-pic image{
|
|
width: 100%;
|
|
height: 400rpx;
|
|
}
|
|
.transverse-news{
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
}
|
|
.news-row-img{
|
|
width: 30%;
|
|
height: 150rpx;
|
|
}
|
|
.news-row-img image{
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
.news-row-info{
|
|
width: 68%;
|
|
} |