diff --git a/src/components.d.ts b/src/components.d.ts index 851009d..0d4e53a 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -39,6 +39,7 @@ declare module 'vue' { WorkDashboard: typeof import('./components/work/dashboard.vue')['default'] WorkDeviceControl: typeof import('./components/work/deviceControl.vue')['default'] WorkRtkCanvas: typeof import('./components/work/rtkCanvas.vue')['default'] + WorkRtkFooter: typeof import('./components/work/rtkFooter.vue')['default'] WorkRtkHeader: typeof import('./components/work/rtkHeader.vue')['default'] WorkRtkMonitor: typeof import('./components/work/rtkMonitor.vue')['default'] } diff --git a/src/components/work/rtkFooter.vue b/src/components/work/rtkFooter.vue new file mode 100644 index 0000000..ea8efc6 --- /dev/null +++ b/src/components/work/rtkFooter.vue @@ -0,0 +1,96 @@ + + + + + diff --git a/src/components/work/rtkHeader.vue b/src/components/work/rtkHeader.vue index 109c109..4d5e607 100644 --- a/src/components/work/rtkHeader.vue +++ b/src/components/work/rtkHeader.vue @@ -25,9 +25,9 @@ withDefaults(defineProps(), { RTK轨迹实时监测 - + 压实热力图 - + @@ -90,15 +90,15 @@ withDefaults(defineProps(), { } .title { - font-size: 16px; + font-size: 20px; font-weight: 600; color: #333; } -.subtitle { - font-size: 14px; - color: #666; -} +/* .subtitle { + font-size: 20px; + color: #333; +} */ .device-status { display: flex; @@ -115,19 +115,19 @@ withDefaults(defineProps(), { } .device-name { - font-size: 13px; - color: #666; + font-size: 14px; + color: #999; } .status-text { - font-size: 13px; + font-size: 14px; color: #999; } .data-row { display: flex; align-items: center; - gap: 20px; + gap: 100px; } .data-item { @@ -137,8 +137,8 @@ withDefaults(defineProps(), { } .data-label { - font-size: 12px; - color: #999; + font-size: 18px; + color: #333; } .data-value { diff --git a/src/components/work/rtkMonitor.vue b/src/components/work/rtkMonitor.vue index 77b56bf..308f8b6 100644 --- a/src/components/work/rtkMonitor.vue +++ b/src/components/work/rtkMonitor.vue @@ -1,5 +1,5 @@ @@ -50,63 +21,4 @@ border-radius: 12px; padding: 16px; } - -.footer-info { - display: flex; - justify-content: space-between; - align-items: flex-end; - margin-top: 12px; -} - -.legend { - display: flex; - flex-direction: column; - gap: 6px; -} - -.legend-item { - display: flex; - align-items: center; - gap: 8px; -} - -.legend-line { - width: 20px; - height: 2px; -} - -.legend-line--blue { - background: #3b82f6; -} - -.legend-area { - width: 16px; - height: 12px; - background: #bbf7d0; - border-radius: 2px; -} - -.legend-dot { - width: 12px; - height: 12px; - border-radius: 50%; - background: #f97316; -} - -.legend-text { - font-size: 12px; - color: #666; -} - -.location-info { - display: flex; - flex-direction: column; - align-items: flex-end; - gap: 4px; -} - -.location-text { - font-size: 12px; - color: #666; -}