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

311 lines
5.9 KiB

//引入全局配置
@import "c/conf";
@import "c/mx";
@import "c/f";
@import "a/c";
page {
// background-color: $bgc1;
// padding-bottom: 20rpx;
font-family: Source Han Serif SC;
}
.g-bd {
box-sizing: border-box;
position: relative;
height: calc(100vh - 335rpx - env(safe-area-inset-bottom) / 2);
}
.m-info {
position: relative;
z-index: 10;
box-sizing: border-box;
margin: 0 auto;
margin-top: 20rpx;
padding: 40rpx;
border-radius: 20rpx;
width: 710rpx;
background-color: #ffffff;
// box-shadow: 0px 2px 12px 0px rgba(211, 211, 211, 0.26);
.base-info {
position: relative;
.avatar {
width: 120rpx;
height: 120rpx;
border-radius: 100%;
overflow: hidden;
}
.name {
@include toeM(2);
position: absolute;
width: 480rpx;
left: 140rpx;
top: 50%;
transform: translateY(-50%);
font-weight: bold;
}
}
.points {
margin: 40rpx 0;
.icn {
line-height: 26rpx;
font-size: 26rpx;
color: $fc3;
image {
vertical-align: bottom;
margin-right: 10rpx;
width: 22rpx;
height: 26rpx;
}
}
.num {
margin-top: 20rpx;
line-height: 50rpx;
font-size: 40rpx;
color: #ffc100;
font-weight: bold;
}
}
.badge-list {
margin: -15rpx;
overflow: hidden;
.badge {
float: left;
margin: 15rpx;
image {
display: block;
width: 70rpx;
height: 70rpx;
}
&.z-grey {
filter: grayscale(100%); // 页面变灰
opacity: 0.5;
}
}
}
.edit {
position: absolute;
right: 0;
top: 210rpx;
.edit-btn {
padding: 0;
margin: 0;
width: 200rpx;
height: 60rpx;
font-weight: normal;
line-height: 60rpx;
border-radius: 30rpx 0 0 30rpx;
background: #e60000;
color: #ffffff;
font-size: 32rpx;
text-align: center;
}
.at-btn {
position: relative;
padding: 0;
margin-top: 20rpx;
margin-left: auto;
width: 140rpx;
height: 60rpx;
font-weight: normal;
line-height: 60rpx;
border-radius: 30rpx 0 0 30rpx;
background: #2f93ee;
color: #ffffff;
font-size: 32rpx;
text-align: center;
.span_at {
font-size: 30rpx;
padding-top: -10rpx;
}
.dot {
position: absolute;
top: 10rpx;
right: 20rpx;
width: 20rpx;
height: 20rpx;
background: #fa2727;
border-radius: 50%;
}
}
}
}
.m-menus {
position: relative;
z-index: 10;
box-sizing: border-box;
margin: 20rpx auto;
// margin-top: 20rpx;
padding: 2rpx 0;
border-radius: 20rpx;
width: 710rpx;
background-color: #ffffff;
// box-shadow: 0px 2px 12px 0px rgba(211, 211, 211, 0.26);
&:last-of-type {
margin-bottom: 40rpx;
}
.menus {
display: block;
padding: 0 20rpx;
line-height: 40rpx;
.menu {
padding: 30rpx 0;
border-top: 1rpx solid #eee;
overflow: hidden;
font-size: 32rpx;
color: $fc1;
overflow: hidden;
&:first-child {
border-top: none;
}
.f-fl {
> text {
font-weight: bold;
margin-left: 20rpx;
}
}
.f-fr {
position: relative;
> text {
line-height: 40rpx;
font-size: 32rpx;
color: $fc3;
&.z-stress {
color: $c2;
}
&.z-stress2 {
padding: 0 10rpx;
color: #ffffff;
background-color: $c2;
border-radius: 40rpx;
min-width: 20rpx;
font-size: 30rpx;
}
}
> image {
margin-right: -10rpx;
}
}
// .wx-switch-input {
// position: absolute;
// top: -100rpx;
// bottom: -100rpx;
// right: 0;
// margin: auto 0;
// }
image {
display: inline-block;
width: 40rpx;
height: 40rpx;
vertical-align: bottom;
}
}
}
}
.menu-task {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
box-sizing: border-box;
padding: 40rpx 21rpx;
border-top: 1rpx solid #e7eeee;
.menu-task-flex {
.menu-task-title {
font-size: 30rpx;
font-weight: 500;
color: #333;
line-height: 1;
}
.menu-task-desc {
margin: 26rpx 0;
font-size: 28rpx;
font-weight: 500;
color: #999;
}
.menu-task-progress {
font-size: 28rpx;
font-weight: 500;
color: #ffc100;
}
}
.menu-task-right {
flex-shrink: 0;
display: flex;
justify-content: flex-end;
align-items: center;
width: 160rpx;
margin-left: 50rpx;
font-size: 28rpx;
font-weight: 500;
color: #ffc100;
text-align: right;
image {
width: 9rpx;
height: 18rpx;
margin-left: 10rpx;
}
}
}
.m-menus2 {
position: relative;
box-sizing: border-box;
margin: 20rpx auto;
padding: 10rpx 20rpx 20rpx;
width: 710rpx;
background: #ffffff;
box-shadow: 0rpx 3rpx 24rpx 0rpx rgba(211, 211, 211, 0.26);
border-radius: 20rpx;
display: flex;
align-items: center;
flex-wrap: wrap;
// justify-content: space-between;
.menu {
box-sizing: border-box;
width: 33.3%;
padding: 20rpx 0;
font-size: 26rpx;
font-family: Source Han Serif SC;
font-weight: 500;
color: #666666;
line-height: 34rpx;
text-align: center;
image {
display: block;
margin: 15rpx auto;
width: 90rpx;
height: 90rpx;
}
}
}