feat(M08-D): 建立后台运营总览
This commit is contained in:
@@ -216,6 +216,261 @@ textarea {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.overview-page {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.overview-toolbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 20px;
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
.overview-toolbar h3,
|
||||
.section-heading h3 {
|
||||
margin: 2px 0 0;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.overview-toolbar p:not(.section-kicker) {
|
||||
margin: 6px 0 0;
|
||||
color: #687990;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.section-kicker {
|
||||
margin: 0;
|
||||
color: #4d6b92;
|
||||
font-size: 11px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.overview-filters {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.overview-filters > .el-select {
|
||||
width: 250px;
|
||||
}
|
||||
|
||||
.overview-context {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
min-height: 42px;
|
||||
padding: 0 4px;
|
||||
color: #687990;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.overview-context > div {
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.overview-context strong {
|
||||
color: #18212f;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.overview-metrics {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.overview-metric {
|
||||
min-height: 116px;
|
||||
padding: 18px;
|
||||
border: 1px solid #d8e0ea;
|
||||
border-radius: 10px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.overview-metric.primary {
|
||||
border-color: #aac7ec;
|
||||
background: linear-gradient(135deg, #edf5ff, #fff);
|
||||
}
|
||||
|
||||
.overview-metric span,
|
||||
.overview-metric small {
|
||||
color: #687990;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.overview-metric strong {
|
||||
display: block;
|
||||
margin: 12px 0 8px;
|
||||
font-size: 25px;
|
||||
}
|
||||
|
||||
.overview-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.overview-card {
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
.revenue-card {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.section-heading {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
color: #365477;
|
||||
}
|
||||
|
||||
.room-state-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 10px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.room-state-grid > div {
|
||||
padding: 14px;
|
||||
border-radius: 8px;
|
||||
background: #f4f7fa;
|
||||
}
|
||||
|
||||
.room-state-grid strong,
|
||||
.room-state-grid span {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.room-state-grid strong {
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
.room-state-grid span {
|
||||
margin-top: 5px;
|
||||
color: #687990;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.channel-list {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
margin-top: 18px;
|
||||
}
|
||||
|
||||
.channel-list > div {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
padding-bottom: 10px;
|
||||
border-bottom: 1px solid #edf0f4;
|
||||
color: #5c6f88;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.channel-list strong {
|
||||
color: #18212f;
|
||||
}
|
||||
|
||||
.revenue-bars {
|
||||
display: grid;
|
||||
gap: 9px;
|
||||
margin-top: 18px;
|
||||
}
|
||||
|
||||
.revenue-row {
|
||||
display: grid;
|
||||
grid-template-columns: 54px minmax(80px, 1fr) 100px;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.revenue-row > div {
|
||||
height: 8px;
|
||||
overflow: hidden;
|
||||
border-radius: 999px;
|
||||
background: #edf1f6;
|
||||
}
|
||||
|
||||
.revenue-row i {
|
||||
display: block;
|
||||
height: 100%;
|
||||
border-radius: inherit;
|
||||
background: #5d91d0;
|
||||
}
|
||||
|
||||
.revenue-row strong {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.module-board {
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
.module-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 10px;
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.module-grid > button,
|
||||
.module-placeholder {
|
||||
display: grid;
|
||||
grid-template-columns: 24px minmax(0, 1fr) auto;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
min-height: 72px;
|
||||
padding: 13px;
|
||||
border: 1px solid #d8e0ea;
|
||||
border-radius: 8px;
|
||||
background: #fff;
|
||||
color: #365477;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.module-grid > button {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.module-grid > button:hover {
|
||||
border-color: #8cb5ec;
|
||||
background: #f6faff;
|
||||
}
|
||||
|
||||
.module-grid span {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.module-grid strong {
|
||||
color: #18212f;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.module-grid small {
|
||||
overflow: hidden;
|
||||
color: #687990;
|
||||
font-size: 11px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.module-placeholder {
|
||||
background: #f8fafc;
|
||||
}
|
||||
|
||||
.panel {
|
||||
min-width: 0;
|
||||
border: 1px solid #d8e0ea;
|
||||
@@ -960,6 +1215,20 @@ textarea {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.overview-toolbar {
|
||||
align-items: stretch;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.overview-filters {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.overview-metrics,
|
||||
.module-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.handoff-owner-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
@@ -1007,6 +1276,31 @@ textarea {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.overview-filters,
|
||||
.overview-context {
|
||||
align-items: stretch;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.overview-filters > .el-select {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.overview-metrics,
|
||||
.overview-grid,
|
||||
.module-grid,
|
||||
.room-state-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.revenue-card {
|
||||
grid-column: auto;
|
||||
}
|
||||
|
||||
.revenue-row {
|
||||
grid-template-columns: 48px minmax(60px, 1fr) 82px;
|
||||
}
|
||||
|
||||
.panel-toolbar {
|
||||
align-items: stretch;
|
||||
flex-direction: column;
|
||||
|
||||
Reference in New Issue
Block a user