From 55a7f3c79c0adb0e298866489017d11d8a5dd597 Mon Sep 17 00:00:00 2001 From: Swanky <413564165@qq.com> Date: Sat, 21 Jun 2025 00:15:34 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=BA=86ExchangeMonitor?= =?UTF-8?q?=E5=92=8CRealTimeStats=E7=BB=84=E4=BB=B6=E7=9A=84=E5=AD=97?= =?UTF-8?q?=E4=BD=93=E5=A4=A7=E5=B0=8F=EF=BC=8C=E5=A2=9E=E5=8A=A0=E4=BA=86?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E5=8D=95=E4=BD=8D=E7=9A=84=E4=B8=8A=E8=BE=B9?= =?UTF-8?q?=E8=B7=9D=EF=BC=9B=E5=9C=A8=E8=B7=AF=E7=94=B1=E4=B8=AD=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E4=BA=86OutdoorDisplay=E7=BB=84=E4=BB=B6=E7=9A=84?= =?UTF-8?q?=E8=B7=AF=E5=BE=84=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ExchangeMonitor.vue | 7 +- src/components/Outdoor/PendingYakData.vue | 359 ++++++++++++ src/components/Outdoor/PriceTrendChart.vue | 552 ++++++++++++++++++ .../Outdoor/ScrollingAnnouncement.vue | 197 +++++++ .../Outdoor/TransactionSettlement.vue | 333 +++++++++++ src/components/Outdoor/YakTradingOverview.vue | 225 +++++++ src/components/RealTimeStats.vue | 6 +- src/router/index.js | 6 + src/views/OutdoorDisplay.vue | 303 ++++++++++ 9 files changed, 1982 insertions(+), 6 deletions(-) create mode 100644 src/components/Outdoor/PendingYakData.vue create mode 100644 src/components/Outdoor/PriceTrendChart.vue create mode 100644 src/components/Outdoor/ScrollingAnnouncement.vue create mode 100644 src/components/Outdoor/TransactionSettlement.vue create mode 100644 src/components/Outdoor/YakTradingOverview.vue create mode 100644 src/views/OutdoorDisplay.vue diff --git a/src/components/ExchangeMonitor.vue b/src/components/ExchangeMonitor.vue index 9881dd2..2a92c1e 100644 --- a/src/components/ExchangeMonitor.vue +++ b/src/components/ExchangeMonitor.vue @@ -199,14 +199,14 @@ onUnmounted(() => { } .service-label { - font-size: 16px; + font-size: 20px; color: #a0a8b8; font-weight: 500; line-height: 1.2; } .service-value { - font-size: 24px; + font-size: 30px; font-weight: bold; color: #ffffff; line-height: 1.2; @@ -242,7 +242,7 @@ onUnmounted(() => { } .service-unit { - font-size: 14px; + font-size: 18px; color: #8cc8ff; font-weight: normal; } @@ -254,6 +254,7 @@ onUnmounted(() => { font-weight: 500; align-self: flex-start; line-height: 1; + margin-top: 4px; } .service-status.abundant { diff --git a/src/components/Outdoor/PendingYakData.vue b/src/components/Outdoor/PendingYakData.vue new file mode 100644 index 0000000..878ef72 --- /dev/null +++ b/src/components/Outdoor/PendingYakData.vue @@ -0,0 +1,359 @@ + + + + + \ No newline at end of file diff --git a/src/components/Outdoor/PriceTrendChart.vue b/src/components/Outdoor/PriceTrendChart.vue new file mode 100644 index 0000000..fc71c89 --- /dev/null +++ b/src/components/Outdoor/PriceTrendChart.vue @@ -0,0 +1,552 @@ + + + + + \ No newline at end of file diff --git a/src/components/Outdoor/ScrollingAnnouncement.vue b/src/components/Outdoor/ScrollingAnnouncement.vue new file mode 100644 index 0000000..23fc593 --- /dev/null +++ b/src/components/Outdoor/ScrollingAnnouncement.vue @@ -0,0 +1,197 @@ + + + + + \ No newline at end of file diff --git a/src/components/Outdoor/TransactionSettlement.vue b/src/components/Outdoor/TransactionSettlement.vue new file mode 100644 index 0000000..a60f80e --- /dev/null +++ b/src/components/Outdoor/TransactionSettlement.vue @@ -0,0 +1,333 @@ + + + + + \ No newline at end of file diff --git a/src/components/Outdoor/YakTradingOverview.vue b/src/components/Outdoor/YakTradingOverview.vue new file mode 100644 index 0000000..8c1f2f1 --- /dev/null +++ b/src/components/Outdoor/YakTradingOverview.vue @@ -0,0 +1,225 @@ + + + + + \ No newline at end of file diff --git a/src/components/RealTimeStats.vue b/src/components/RealTimeStats.vue index 194c9c1..8313b39 100644 --- a/src/components/RealTimeStats.vue +++ b/src/components/RealTimeStats.vue @@ -252,7 +252,7 @@ onUnmounted(() => { justify-content: space-between; align-items: center; text-align: center; - padding: 20px 12px 16px 12px; + /* padding: 20px 12px 16px 12px; */ background: url('../images/数据底座.png') center/contain no-repeat; background-size: 80% 70%; border-radius: 8px; @@ -277,7 +277,7 @@ onUnmounted(() => { align-items: center; justify-content: center; flex-direction: column; - font-size: 22px; + font-size: 30px; font-weight: 900; color: #ffffff; text-shadow: @@ -291,7 +291,7 @@ onUnmounted(() => { } .stat-label { - font-size: 18px; + font-size: 24px; font-weight: 700; color: #409EFF; /* text-shadow: diff --git a/src/router/index.js b/src/router/index.js index 84251ae..e586407 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1,6 +1,7 @@ import { createRouter, createWebHistory } from 'vue-router' import Dashboard from '../views/Dashboard.vue' import TV86Display from '../views/TV86Display.vue' +import OutdoorDisplay from '../views/OutdoorDisplay.vue' const routes = [ { @@ -12,6 +13,11 @@ const routes = [ path: '/tv86', name: 'TV86Display', component: TV86Display + }, + { + path: '/outdoor', + name: 'OutdoorDisplay', + component: OutdoorDisplay } ] diff --git a/src/views/OutdoorDisplay.vue b/src/views/OutdoorDisplay.vue new file mode 100644 index 0000000..701f45e --- /dev/null +++ b/src/views/OutdoorDisplay.vue @@ -0,0 +1,303 @@ + + + + + \ No newline at end of file