From dfbb1caca59b7bdc9a2170cb5a6ea3bfdaeda14d Mon Sep 17 00:00:00 2001 From: dong <58670809@qq.com> Date: Fri, 13 Oct 2023 09:40:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=97=E8=BD=A6=E6=9B=B2=E7=BA=BF=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 +- src/components/line-app/infos/TrainInfo.vue | 17 +- .../line-app/infos/TrainInfoEcharts.vue | 146 ++++++++++++++++++ src/layouts/LineLayout.vue | 31 ++++ src/stores/line-store.ts | 24 +++ yarn.lock | 25 +++ 6 files changed, 244 insertions(+), 3 deletions(-) create mode 100644 src/components/line-app/infos/TrainInfoEcharts.vue diff --git a/package.json b/package.json index 3e665b9..a6cd46f 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,10 @@ "@pixi/graphics-extras": "^7.2.4", "@quasar/extras": "^1.0.0", "@stomp/stompjs": "^7.0.0", - "centrifuge": "^4.0.1", "axios": "^1.2.1", + "centrifuge": "^4.0.1", + "default-passive-events": "^2.0.0", + "echarts": "^5.4.3", "google-protobuf": "^3.21.2", "js-base64": "^3.7.5", "pinia": "^2.0.11", diff --git a/src/components/line-app/infos/TrainInfo.vue b/src/components/line-app/infos/TrainInfo.vue index acf1198..f1fcaaf 100644 --- a/src/components/line-app/infos/TrainInfo.vue +++ b/src/components/line-app/infos/TrainInfo.vue @@ -1,7 +1,8 @@