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

286 lines
5.8 KiB

//引入全局配置
@import "c/conf";
@import "c/mx";
@import "c/f";
.m-hint {
text-align: center;
padding: 100rpx 50rpx;
line-height: 65rpx;
color: $fc3;
text-align: center;
font-size: 34rpx;
font-family: Source Han Serif SC;
font-weight: 500;
&.z-small {
padding: 50rpx;
}
}
.m-news {
position: relative;
margin: 0 auto;
margin-top: 10rpx;
padding-bottom: 36rpx;
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 {
float: right;
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;
}
}
}
.info {
padding: 22rpx;
margin: 7rpx 17rpx 0;
height: 170rpx;
display: flex;
justify-content: center;
.line {
width: 2rpx;
height: 177rpx;
background-color: #ffffff;
}
.card {
width: 50%;
background: #fff2f1;
border-radius: 6rpx;
box-sizing: border-box;
padding: 0 37rpx;
text-align: center;
display: flex;
flex-direction: column;
.title {
@include toe;
display: flex;
align-items: center;
margin-top: 22rpx;
overflow: hidden;
justify-content: center;
.avatar {
flex-shrink: 0;
margin-right: 11rpx;
display: block;
width: 58rpx;
height: 58rpx;
border-radius: 100%;
line-height: 65rpx;
}
.avatar2 {
box-sizing: border-box;
padding: 12rpx;
background-color: #fff;
flex-shrink: 0;
margin-right: 11rpx;
display: block;
width: 58rpx;
height: 58rpx;
border-radius: 100%;
line-height: 65rpx;
}
.name {
@include toe;
// width: 300rpx;
font-size: 24rpx;
line-height: 28rpx;
font-family: Source Han Serif SC;
font-weight: 800;
color: #000000;
// text-align: left;
}
}
.ranks {
display: flex;
justify-content: space-around;
align-items: center;
margin-top: 10rpx;
.rank {
display: flex;
flex-direction: column;
text-align: center;
justify-content: space-around;
.rank-value {
@include toe;
margin-top: 5rpx;
font-size: 26rpx;
font-family: PingFang SC;
font-family: Source Han Serif SC;
font-weight: bold;
text {
font-size: 30rpx;
}
}
.value_color_1 {
color: #e72418;
}
.value_color_2 {
color: #27ae60;
}
.rank-field {
font-size: 24rpx;
font-family: Source Han Serif SC;
font-weight: 400;
color: #000000;
}
}
}
}
}
.rank_title {
margin: 20rpx 0;
// height: 100rpx;
line-height: 60rpx;
width: 100%;
display: flex;
padding: 10rpx 10rpx;
box-sizing: border-box;
font-size: 28rpx;
background: #f8f8f8;
border-radius: 10rpx;
.tab {
flex: 1;
margin: 0 10rpx;
width: 210rpx;
border-radius: 10rpx;
line-height: 50rpx;
text-align: center;
color: #999;
font-weight: 500;
}
.selTab {
color: #333333;
background-color: #fff;
box-shadow: 0rpx 4rpx 12rpx 0rpx rgba(63, 63, 63, 0.1);
font-weight: bold;
}
}
}
.list {
margin: 0 39rpx 0 39rpx;
.item {
padding: 8rpx 0;
background-color: #ffffff;
width: 100%;
display: flex;
height: 60rpx;
align-items: center;
font-size: 22rpx;
border-bottom: 1rpx solid #f7f7f7;
.logo {
width: 10%;
height: 60rpx;
line-height: 75rpx;
text-align: center;
> image {
width: 36rpx;
height: 30rpx;
}
> text {
font-size: 22rpx;
font-family: Source Han Serif SC;
font-weight: 400;
color: #000000;
}
}
.avatar {
height: 50rpx;
margin-left: 19rpx;
line-height: 75rpx;
text-align: center;
> image {
top: -2rpx;
width: 44rpx;
height: 43rpx;
border-radius: 100%;
}
}
.name {
float: left;
width: 80%;
font-size: 28rpx;
margin-left: 22rpx;
z-index: 10;
font-family: Source Han Serif SC;
font-weight: 400;
color: #000000;
}
.score {
float: right;
width: 20%;
z-index: 20;
text-align: center;
font-size: 22rpx;
font-family: Source Han Serif SC;
font-weight: 400;
color: #000000;
line-height: 65rpx;
}
}
}
.readmore {
width: 100%;
text-align: center;
padding: 20rpx 0;
color: #999;
font-size: 26rpx;
}