From a6e380a64cdb508a01e9ecc01906eadfecf184ac Mon Sep 17 00:00:00 2001 From: "DESKTOP-FUDKNA8\\znjsz" Date: Wed, 17 Jan 2024 14:45:09 +0800 Subject: [PATCH] update realtime data fetching --- src/components/Base/Container.vue | 4 +- src/components/RealtimeChart.vue | 140 +++++++++++++++++++++++------- src/components/RealtimeTable.vue | 111 +++++++++++------------ 3 files changed, 163 insertions(+), 92 deletions(-) diff --git a/src/components/Base/Container.vue b/src/components/Base/Container.vue index 282ee0f..76951f8 100644 --- a/src/components/Base/Container.vue +++ b/src/components/Base/Container.vue @@ -106,8 +106,8 @@ const props = defineProps({ } .container-body { - background: #ffffff33; - backdrop-filter: blur(1px); + background: #ffffff11; + backdrop-filter: blur(2px); flex: 1; padding: 20px; } diff --git a/src/components/RealtimeChart.vue b/src/components/RealtimeChart.vue index c6a9dc0..4d06959 100644 --- a/src/components/RealtimeChart.vue +++ b/src/components/RealtimeChart.vue @@ -1,35 +1,115 @@ - - + @@ -46,10 +126,6 @@ onMounted(() => { align-self: self-end; } -.cargo-inner { - background: #0f0; -} - .cargo-chart { height: 100%; } diff --git a/src/components/RealtimeTable.vue b/src/components/RealtimeTable.vue index 570f74c..70c0da8 100644 --- a/src/components/RealtimeTable.vue +++ b/src/components/RealtimeTable.vue @@ -1,73 +1,68 @@ -