feat(data): 历史数据页接入统计与历史接口,切换用户抽屉接真实成员
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
0fcb6eebef
commit
18704cbb76
@@ -35,40 +35,44 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* 标题栏(标题居中,关闭按钮绝对定位右侧) */
|
||||
/* 拖拽把手 */
|
||||
.drawer-handle {
|
||||
width: 72rpx;
|
||||
height: 6rpx;
|
||||
background-color: #77849E;
|
||||
border-radius: 3rpx;
|
||||
margin: 32rpx auto 40rpx;
|
||||
}
|
||||
|
||||
/* 标题栏 */
|
||||
.drawer-header {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 124rpx;
|
||||
height: 32rpx;
|
||||
padding: 0 30rpx;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
justify-content: space-between;
|
||||
|
||||
.drawer-title {
|
||||
color: #252535;
|
||||
font-size: 36rpx;
|
||||
font-weight: bolder;
|
||||
line-height: 36rpx;
|
||||
height: 32rpx;
|
||||
font-size: 32rpx;
|
||||
font-weight: 700;
|
||||
line-height: 32rpx;
|
||||
}
|
||||
|
||||
/* 关闭按钮:圆形浅灰底 + 灰色 × */
|
||||
/* 关闭按钮 */
|
||||
.drawer-close {
|
||||
position: absolute;
|
||||
right: 32rpx;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
width: 48rpx;
|
||||
height: 48rpx;
|
||||
border-radius: 50%;
|
||||
background-color: #F1F5F9;
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
.drawer-close-icon {
|
||||
width: 26rpx;
|
||||
height: 26rpx;
|
||||
width: 28rpx;
|
||||
height: 28rpx;
|
||||
position: relative;
|
||||
|
||||
&::before,
|
||||
@@ -79,7 +83,7 @@
|
||||
left: 50%;
|
||||
width: 100%;
|
||||
height: 3rpx;
|
||||
background-color: #77849E;
|
||||
background-color: #252535;
|
||||
border-radius: 2rpx;
|
||||
}
|
||||
|
||||
@@ -96,122 +100,158 @@
|
||||
|
||||
/* 顶部分隔线 */
|
||||
.drawer-divider {
|
||||
width: 100%;
|
||||
width: 690rpx;
|
||||
height: 2rpx;
|
||||
background-color: #EAECFA;
|
||||
background-color: #EAEDF1;
|
||||
margin: 39rpx 30rpx 0;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.scrollViewContent {
|
||||
/* 用户滚动列表 */
|
||||
.drawer-list {
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
padding-bottom: env(safe-area-inset-bottom);
|
||||
}
|
||||
|
||||
/* 用户行 */
|
||||
.member-item {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
height: 90rpx;
|
||||
padding: 0 30rpx;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
margin-top: 24rpx;
|
||||
|
||||
/* 用户行 */
|
||||
.member-item {
|
||||
width: 100%;
|
||||
padding: 24rpx 0;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
border-bottom: 2rpx solid #EAECF1;
|
||||
/* 有图片头像 */
|
||||
.member-avatar {
|
||||
width: 90rpx;
|
||||
height: 90rpx;
|
||||
border-radius: 24rpx;
|
||||
flex-shrink: 0;
|
||||
|
||||
/* 有图片头像 */
|
||||
.member-avatar {
|
||||
width: 88rpx;
|
||||
height: 88rpx;
|
||||
overflow: hidden;
|
||||
margin-right: 15rpx;
|
||||
border-radius: 24rpx;
|
||||
|
||||
&--selected {
|
||||
border: 3rpx solid #50A6FF;
|
||||
}
|
||||
}
|
||||
|
||||
/* 纯色占位头像 */
|
||||
.member-avatar-placeholder {
|
||||
width: 88rpx;
|
||||
height: 88rpx;
|
||||
overflow: hidden;
|
||||
border-radius: 24rpx;
|
||||
margin-right: 15rpx;
|
||||
|
||||
/* 男:蓝色 */
|
||||
&--male {
|
||||
background-color: #C6E6FF;
|
||||
}
|
||||
|
||||
/* 女:粉色 */
|
||||
&--female {
|
||||
background-color: #FFD5E3;
|
||||
}
|
||||
|
||||
/* 选中男 */
|
||||
&--selected-male {
|
||||
border: 3rpx solid #50A6FF;
|
||||
width: 94rpx;
|
||||
height: 94rpx;
|
||||
margin: -3rpx 0 0 -3rpx;
|
||||
}
|
||||
|
||||
/* 选中女 */
|
||||
&--selected-female {
|
||||
border: 3rpx solid #FF8FB5;
|
||||
width: 94rpx;
|
||||
height: 94rpx;
|
||||
margin: -3rpx 0 0 -3rpx;
|
||||
}
|
||||
}
|
||||
|
||||
/* 姓名 + 副标题 */
|
||||
.member-info {
|
||||
flex: 1;
|
||||
width: 0;
|
||||
|
||||
.member-name {
|
||||
color: #252535;
|
||||
width: 100%;
|
||||
height: 32rpx;
|
||||
font-size: 32rpx;
|
||||
font-weight: bolder;
|
||||
line-height: 32rpx;
|
||||
margin-bottom: 16rpx;
|
||||
}
|
||||
|
||||
.member-sub {
|
||||
color: #808080;
|
||||
width: 100%;
|
||||
height: 26rpx;
|
||||
font-size: 26rpx;
|
||||
line-height: 26rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.member-type {
|
||||
height: 40rpx;
|
||||
flex-shrink: 0;
|
||||
|
||||
.member-type-tag {
|
||||
height: 40rpx;
|
||||
padding: 0 10rpx;
|
||||
font-size: 24rpx;
|
||||
line-height: 40rpx;
|
||||
border-radius: 8rpx;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.member-type-tag--self {
|
||||
background-color: #1385FA;
|
||||
}
|
||||
|
||||
.member-type-tag--employee {
|
||||
background-color: #10B981;
|
||||
}
|
||||
|
||||
.member-type-tag--family {
|
||||
background-color: #F59E0B;
|
||||
}
|
||||
&--selected {
|
||||
border: 3rpx solid #50A6FF;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* 纯色占位头像 */
|
||||
.member-avatar-placeholder {
|
||||
width: 90rpx;
|
||||
height: 90rpx;
|
||||
border-radius: 24rpx;
|
||||
flex-shrink: 0;
|
||||
|
||||
/* 男:蓝色 */
|
||||
&--male {
|
||||
background-color: #C6E6FF;
|
||||
}
|
||||
|
||||
/* 女:粉色 */
|
||||
&--female {
|
||||
background-color: #FFD5E3;
|
||||
}
|
||||
|
||||
/* 选中男 */
|
||||
&--selected-male {
|
||||
border: 3rpx solid #50A6FF;
|
||||
width: 96rpx;
|
||||
height: 96rpx;
|
||||
margin: -3rpx 0 0 -3rpx;
|
||||
}
|
||||
|
||||
/* 选中女 */
|
||||
&--selected-female {
|
||||
border: 3rpx solid #FF8FB5;
|
||||
width: 96rpx;
|
||||
height: 96rpx;
|
||||
margin: -3rpx 0 0 -3rpx;
|
||||
}
|
||||
}
|
||||
|
||||
/* 姓名 + 副标题 */
|
||||
.member-info {
|
||||
flex: 1;
|
||||
height: 78rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
margin-left: 23rpx;
|
||||
|
||||
.member-name {
|
||||
color: #333333;
|
||||
height: 32rpx;
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
line-height: 32rpx;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.member-sub {
|
||||
color: #77849E;
|
||||
height: 34rpx;
|
||||
font-size: 26rpx;
|
||||
line-height: 34rpx;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
.member-type {
|
||||
height: 40rpx;
|
||||
flex-shrink: 0;
|
||||
|
||||
.member-type-tag {
|
||||
height: 40rpx;
|
||||
padding: 0 14rpx;
|
||||
font-size: 22rpx;
|
||||
line-height: 40rpx;
|
||||
border-radius: 6rpx;
|
||||
}
|
||||
|
||||
.member-type-tag--self {
|
||||
color: #1385FA;
|
||||
background-color: rgba(19, 133, 250, 0.12);
|
||||
}
|
||||
|
||||
.member-type-tag--employee {
|
||||
color: #10B981;
|
||||
background-color: rgba(16, 185, 129, 0.12);
|
||||
}
|
||||
|
||||
.member-type-tag--family {
|
||||
color: #F59E0B;
|
||||
background-color: rgba(245, 158, 11, 0.12);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* 行间水平分隔线 */
|
||||
.member-separator {
|
||||
width: 690rpx;
|
||||
height: 2rpx;
|
||||
background-color: #EAEDF1;
|
||||
margin: 24rpx 30rpx 0;
|
||||
}
|
||||
|
||||
/* 空态占位 */
|
||||
.drawer-empty {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding-top: 80rpx;
|
||||
|
||||
.drawer-empty-icon {
|
||||
width: 193rpx;
|
||||
height: 138rpx;
|
||||
margin-bottom: 30rpx;
|
||||
}
|
||||
|
||||
.drawer-empty-text {
|
||||
color: #808080;
|
||||
height: 28rpx;
|
||||
font-size: 28rpx;
|
||||
line-height: 28rpx;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user