366 lines
5.2 KiB
SCSS
366 lines
5.2 KiB
SCSS
.container {
|
|
padding: 0;
|
|
background: #f5f5f5;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.headerActions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.spinning {
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.analyticsPanel {
|
|
background: #fff;
|
|
padding: 16px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.statsGrid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 12px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.statCard {
|
|
padding: 16px;
|
|
border-radius: 8px;
|
|
background: #fff;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.statContent {
|
|
flex: 1;
|
|
}
|
|
|
|
.statValue {
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
color: #1677ff;
|
|
line-height: 1;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.statLabel {
|
|
font-size: 12px;
|
|
color: #666;
|
|
}
|
|
|
|
.statIcon {
|
|
font-size: 24px;
|
|
color: #1677ff;
|
|
}
|
|
|
|
.efficiencyCard {
|
|
padding: 16px;
|
|
border-radius: 8px;
|
|
background: #fff;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.efficiencyTitle {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: #333;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.efficiencyGrid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 16px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.efficiencyItem {
|
|
text-align: center;
|
|
}
|
|
|
|
.efficiencyValue {
|
|
font-size: 18px;
|
|
font-weight: bold;
|
|
color: #1677ff;
|
|
line-height: 1;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.efficiencyLabel {
|
|
font-size: 12px;
|
|
color: #666;
|
|
}
|
|
|
|
.statusGrid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
gap: 8px;
|
|
padding-top: 12px;
|
|
border-top: 1px solid #f0f0f0;
|
|
}
|
|
|
|
.statusItem {
|
|
text-align: center;
|
|
}
|
|
|
|
.statusValue {
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
line-height: 1;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.statusLabel {
|
|
font-size: 12px;
|
|
color: #666;
|
|
}
|
|
|
|
.statusItem:nth-child(1) .statusValue {
|
|
color: #52c41a;
|
|
}
|
|
|
|
.statusItem:nth-child(2) .statusValue {
|
|
color: #faad14;
|
|
}
|
|
|
|
.statusItem:nth-child(3) .statusValue {
|
|
color: #ff4d4f;
|
|
}
|
|
|
|
.searchSection {
|
|
background: #fff;
|
|
padding: 12px 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.filterButton {
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 8px 12px;
|
|
border-radius: 6px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.actionBar {
|
|
background: #fff;
|
|
padding: 12px 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 8px;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
}
|
|
|
|
.selectSection {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.addButton {
|
|
font-size: 12px;
|
|
padding: 4px 8px;
|
|
height: 28px;
|
|
}
|
|
|
|
.totalCount {
|
|
font-size: 12px;
|
|
color: #666;
|
|
}
|
|
|
|
.userList {
|
|
background: #fff;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.userItem {
|
|
padding: 16px;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s;
|
|
|
|
&:hover {
|
|
background-color: #fafafa;
|
|
}
|
|
|
|
&:last-child {
|
|
border-bottom: none;
|
|
}
|
|
}
|
|
|
|
.userCheckbox {
|
|
margin-right: 12px;
|
|
}
|
|
|
|
.userContent {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.userHeader {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.userInfo {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.userAvatar {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 50%;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.userDetails {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.userName {
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
color: #333;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
margin-bottom: 4px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.starIcon {
|
|
color: #ff4d4f;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.userWechatId {
|
|
font-size: 14px;
|
|
color: #1677ff;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.userMeta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
margin-bottom: 8px;
|
|
font-size: 12px;
|
|
color: #666;
|
|
}
|
|
|
|
.metaItem {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.userTags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 4px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.poolInfo {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
font-size: 12px;
|
|
color: #666;
|
|
}
|
|
|
|
.filterPopup {
|
|
height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: #fff;
|
|
}
|
|
|
|
.filterHeader {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 16px;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.filterContent {
|
|
flex: 1;
|
|
padding: 16px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.filterItem {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.filterLabel {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: #333;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.filterActions {
|
|
display: flex;
|
|
gap: 12px;
|
|
padding: 16px;
|
|
border-top: 1px solid #f0f0f0;
|
|
margin-top: auto;
|
|
|
|
.adm-button {
|
|
flex: 1;
|
|
}
|
|
}
|
|
|
|
// 响应式设计
|
|
@media (max-width: 375px) {
|
|
.statsGrid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.efficiencyGrid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.statusGrid {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
|
|
.userMeta {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
}
|
|
}
|