attract.wxss 2.0 KB
/* pages/attract/attract.wxss */
page{
    background: #F7F7F7;
}
.top_banner image{
    width: 100%;
}
.top_banner{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}
.menu_content{
    display: flex;
    position: fixed;
    top: 320rpx;
    left: 0;
    width: 100%;
}
.menu_items{
    display: flex;
    font-size: 26rpx;
    background: #FFF;
    border-bottom: 2rpx solid #f5f5f5;
    position: relative;
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    line-height: 74rpx;
}
.menu_item{
    width: 20%;
    display: inline-block;
    text-align: center;
}
.menu_item.active{
    color: #169BD5;
}
.paixun{
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    height: 74rpx;
    width: 78rpx;
    justify-content: center;
    background-color: #FFF;
}
.paixun image{
    width: 32rpx;
}
.paixun:before{
    content:'';
    height: 32rpx;
    width: 2rpx;
    background-color: #f5f5f5;
    top: 50%;
    left: 0;
    position: absolute;
    transform: translateY(-50%);
}
.news_detail_container{
    background: #FFF;
    margin-top: 390rpx;
}
.news_detail_items{
    margin: 0 32rpx;
}
.news_detail_item{
    border-bottom:2rpx solid #f5f5f5; 
    display: flex;
    padding: 24rpx 0;
}
.news_detail_item:last-child{
    border: none;
}
.new_info_image{
    width: 248rpx;
    height: 146rpx;
    border-radius: 8rpx;
    overflow: hidden;
    margin-left: 32rpx;
}
.new_info_image image{
    width: 100%;
}
.new_info{
    flex: 1;
    height: 146rpx;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    font-size: 32rpx;
    color: #333;
    
}
.new_title{
    display: -webkit-box;
    word-break: break-all;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp:2;
}
.new_time_address{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 22rpx;
    color: #999;
}
.zhaoshang_desc{
  margin: 0 30rpx;
}

.none-box{
    top: 600rpx;
}