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

175 lines
3.7 KiB

//引入全局配置
@import "c/conf";
@import "c/mx";
@import "c/f";
.m-list {
.list1 {
display: flex;
padding: 10rpx;
justify-content: center;
align-items: flex-end;
.item {
margin: 0 10rpx;
width: 200rpx;
.avatar {
position: relative;
margin: 0 auto;
padding: 10rpx;
width: 140rpx;
height: 140rpx;
background-color: #ffffff;
box-shadow: 0rpx 3rpx 24rpx 0rpx rgba(211, 211, 211, 0.26);
border-radius: 100%;
&.z-no1 {
width: 160rpx;
height: 160rpx;
image {
width: 160rpx;
height: 160rpx;
}
}
> image {
width: 140rpx;
height: 140rpx;
border-radius: 100%;
}
}
.medal {
position: relative;
z-index: 1;
margin: -40rpx auto 20rpx auto;
width: 100rpx;
height: 60rpx;
> image {
@include hub;
width: 71rpx;
height: 54rpx;
}
}
.ranking {
position: relative;
z-index: 1;
margin: -30rpx auto 20rpx auto;
width: 40rpx;
height: 40rpx;
line-height: 40rpx;
text-align: center;
background: #fe8a00;
box-shadow: 0rpx 8rpx 27rpx 0rpx rgba(145, 138, 150, 0.44);
border-radius: 50%;
color: #ffffff;
font-size: 32rpx;
font-weight: bold;
font-style: italic;
&.z-no1 {
background: #e20409;
}
&.z-no2 {
background: #ec501f;
}
}
.name,
.point {
@include toe;
line-height: 50rpx;
font-size: 30rpx;
font-weight: bold;
color: $fc1;
text-align: center;
}
.point {
font-size: 36rpx;
color: #f67f45;
}
}
}
.list2 {
margin-top: 10rpx;
padding: 0 15rpx 0 30rpx;
.tr {
display: flex;
padding: 10rpx 0;
flex-wrap: nowrap;
align-items: center;
> view {
@include toe;
text-align: center;
&:nth-child(1) {
width: 15%;
}
&:nth-child(2) {
width: 15%;
}
&:nth-child(3) {
width: 50%;
}
&:nth-child(4) {
width: 20%;
}
&.th {
font-size: 26rpx;
color: $fc3;
}
&.td {
position: relative;
font-size: 28rpx;
color: $fc1;
&:first-of-type {
font-weight: bold;
font-style: italic;
}
.avatar {
width: 54rpx;
height: 54rpx;
border-radius: 100%;
}
}
}
}
.tr-mine {
background: #fff5f5;
}
.tr-mine-td::after {
content: "我的";
position: absolute;
top: 10rpx;
left: 24rpx;
// width: 48rpx;
height: 24rpx;
padding: 0 8rpx;
font-size: 18rpx;
color: #fff;
text-align: center;
line-height: 24rpx;
background: #f7c13e;
border-radius: 16rpx 10rpx 16rpx 10rpx;
-webkit-border-radius: 16rpx 10rpx 16rpx 10rpx;
-moz-border-radius: 16rpx 10rpx 16rpx 10rpx;
-ms-border-radius: 16rpx 10rpx 16rpx 10rpx;
-o-border-radius: 16rpx 10rpx 16rpx 10rpx;
}
}
}
.m-hint {
text-align: center;
padding: 80rpx 50rpx;
line-height: 50rpx;
color: $fc3;
text-align: center;
font-size: 34rpx;
font-family: Source Han Serif SC;
font-weight: 500;
}