日照项目的居民端小程序
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.
 
 
 

324 lines
6.7 KiB

//引入全局配置
@import "c/conf";
@import "c/mx";
@import "c/f";
.m-news {
position: relative;
margin: 0 auto;
margin-top: 10rpx;
background-color: #fff;
.cpt-title {
position: relative;
display: flex;
flex-direction: row;
justify-content: space-between;
// border-bottom: 1rpx solid #e7eeee;
line-height: 30rpx;
margin-left: 38rpx;
.cpt-title-m {
margin-left: auto;
font-size: 26rpx;
color: #999;
padding: 30rpx;
image {
position: relative;
// top: -1rpx;
width: 10rpx;
height: 19rpx;
}
}
.cpt-title-t {
position: relative;
margin: 10rpx 0 0;
padding: 14rpx 23rpx 0;
font-size: 29rpx;
line-height: 40rpx;
font-family: Source Han Serif SC;
font-weight: 800;
color: #000000;
&::before {
content: "";
position: absolute;
top: 14rpx;
left: 0;
width: 9rpx;
height: 40rpx;
background: rgba(230, 0, 0, 1);
border-radius: 3rpx;
}
}
}
.hint {
text-align: center;
line-height: 150rpx;
font-size: 24rpx;
color: #999;
}
.tags11 {
display: flex;
flex-wrap: wrap;
.tag {
margin: 10rpx;
padding: 0 20rpx;
line-height: 50rpx;
height: 50rpx;
border-radius: 6rpx;
font-size: 26rpx;
font-family: Source Han Serif SC;
font-weight: 500;
line-height: 52rpx;
background: #eee;
color: #999999;
&.z-on {
color: #ffffff;
background: #d32104;
}
}
}
.tags {
width: 100%;
margin-top: 20rpx;
overflow-y: scroll;
overflow-x: visible;
// overflow: hidden;
&::-webkit-scrollbar {
width: 0;
height: 0;
color: transparent;
}
// display: flex;
// flex-wrap: wrap;
// overflow-y: scroll;
.scroll_view {
display: flex;
// width:10000rpx;
padding: 0 17rpx;
overflow-x: auto;
.tag {
flex: none;
font-size: 33rpx;
font-family: Source Han Serif SC;
font-weight: 400;
color: #000000;
display: flex;
align-items: center;
// border-right: 1rpx solid #eee;
.item {
padding: 0 23rpx;
}
.line {
width: 2rpx;
height: 24rpx;
background-color: #eee;
}
&.z-on {
color: #e72418;
}
}
}
}
.list {
padding: 10rpx 37rpx 5rpx 42rpx;
.item {
display: flex;
justify-content: space-between;
padding: 33rpx 0 27rpx;
border-bottom: 1rpx solid #eee;
&:first-child {
padding-top: 17rpx;
}
&:last-child {
border-bottom: none;
}
.left {
// max-width: 360rpx;
height: 126rpx;
flex: 1 1 auto;
display: flex;
flex-direction: column;
justify-content: space-between;
.title {
@include toeM(2);
font-size: 33rpx;
font-family: Source Han Serif SC;
font-weight: 400;
color: #000000;
line-height: 44rpx;
}
.info {
@include toe;
// padding-bottom: 28rpx;
// margin-top: 30rpx;
font-size: 24rpx;
line-height: 26rpx;
font-family: Source Han Serif SC;
font-weight: 300;
color: #bdbdbd;
vertical-align: bottom;
> image {
position: relative;
top: -2rpx;
display: inline-block;
margin-left: 28rpx;
width: 26rpx;
height: 26rpx;
vertical-align: bottom;
}
.publishname_text {
@include toe;
display: inline-block;
margin-left: 6rpx;
max-width: 200rpx;
vertical-align: bottom;
}
}
}
.left_nopic {
}
.right {
flex: 0 0 257rpx;
margin-left: 40rpx;
> image {
width: 257rpx;
height: 126rpx;
border-radius: 10rpx;
}
}
}
.item2 {
position: relative;
padding: 20rpx 0;
border-bottom: 1rpx solid #eee;
&:last-child {
border-bottom: none;
}
.title {
@include toe;
font-size: 33rpx;
font-family: Source Han Serif SC;
font-weight: 400;
color: #000000;
line-height: 44rpx;
}
.content {
@include toe;
margin-top: 25rpx;
height: 40rpx;
font-size: 29rpx;
font-family: Source Han Serif SC;
font-weight: 400;
color: #333333;
}
.info {
padding: 25rpx 0 10rpx 0;
line-height: 52rpx;
font-size: 24rpx;
font-family: Source Han Serif SC;
font-weight: 300;
color: #bdbdbd;
> image {
display: inline-block;
margin-right: 10rpx;
width: 44rpx;
height: 43rpx;
vertical-align: bottom;
border-radius: 100%;
}
> text {
@include toe;
display: inline-block;
max-width: 65%;
vertical-align: bottom;
}
}
}
.item3 {
position: relative;
padding: 20rpx 0;
border-bottom: 1rpx solid #eee;
&:last-child {
border-bottom: none;
}
.title {
@include toe;
font-size: 33rpx;
font-family: Source Han Serif SC;
font-weight: 400;
color: #000000;
line-height: 44rpx;
}
.content {
@include toe;
margin-top: 15rpx;
font-size: 29rpx;
font-family: Source Han Serif SC;
font-weight: 400;
line-height: 40rpx;
}
.info {
padding: 25rpx 0 10rpx 0;
line-height: 26rpx;
font-size: 24rpx;
font-family: Source Han Serif SC;
font-weight: 300;
color: #bdbdbd;
overflow: hidden;
> image {
display: inline-block;
margin-right: 10rpx;
width: 26rpx;
height: 26rpx;
vertical-align: bottom;
}
> text {
@include toe;
display: inline-block;
max-width: 65%;
vertical-align: bottom;
}
}
}
}
}
.readmore {
width: 100%;
text-align: center;
padding: 20rpx 0;
color: #999;
font-size: 26rpx;
}