diff --git a/src/views/screens/wip/index.vue b/src/views/screens/wip/index.vue index 0f267a3..559ffd8 100644 --- a/src/views/screens/wip/index.vue +++ b/src/views/screens/wip/index.vue @@ -101,7 +101,28 @@ - + + + + + 今日完成 + + + + {{ todayCompletedCount }} + 完成卷数 + + + + {{ todayCompletedWeight }} + 总重量 (kg) + + + + + + + @@ -206,7 +227,20 @@ - + + + + + 工序分布 + + + + + + + + + @@ -215,7 +249,8 @@ @@ -1062,6 +1256,9 @@ onBeforeUnmount(() => { .body-right { flex: 0 0 22%; min-width: 0; + display: flex; + flex-direction: column; + min-height: 0; } .body-center { @@ -1072,6 +1269,84 @@ onBeforeUnmount(() => { min-height: 0; } +.chart-panel { + flex: 1; + background: rgba(10, 20, 40, 0.5); + display: flex; + flex-direction: column; + min-height: 0; +} + +.chart-inner { + display: flex; + flex-direction: column; + padding: 16px 12px 12px; + box-sizing: border-box; + height: 100%; + min-height: 0; + overflow: hidden; +} + +.summary-cards { + display: flex; + align-items: center; + gap: 8px; + margin-bottom: 12px; + flex-shrink: 0; +} + +.summary-card { + flex: 1; + display: flex; + flex-direction: column; + align-items: center; + gap: 4px; + padding: 10px 4px; + background: rgba(0, 212, 255, 0.06); + border: 1px solid rgba(0, 212, 255, 0.12); + border-radius: 6px; +} + +.summary-number { + font-size: 26px; + font-weight: bold; + font-family: 'Courier New', monospace; + color: #00d4ff; + text-shadow: 0 0 10px rgba(0, 212, 255, 0.4); +} + +.summary-number.weight { + font-size: 20px; +} + +.summary-label { + font-size: 11px; + color: rgba(255, 255, 255, 0.45); + letter-spacing: 1px; +} + +.summary-divider { + width: 1px; + height: 50px; + background: rgba(0, 212, 255, 0.15); + flex-shrink: 0; +} + +.mini-chart-wrap { + flex: 1; + min-height: 0; + position: relative; +} + +.mini-chart-wrap.half { + flex: 0 0 50%; +} + +.mini-chart { + width: 100%; + height: 100%; +} + .coil-panel { flex: 1; min-height: 0;