From 48a920f2885dab49a4ac6f046eeb239cbd6723d4 Mon Sep 17 00:00:00 2001 From: lzx_win <2602107437@qq.com> Date: Thu, 25 Sep 2025 16:49:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 23 + admin-hanhai-vue/package.json | 2 + .../src/components/ExhibitDataBoard.vue | 418 ++++++++++++++++ admin-hanhai-vue/src/views/dashboard/Analysis.vue | 540 +++++++++++---------- 4 files changed, 727 insertions(+), 256 deletions(-) create mode 100644 .gitignore create mode 100644 admin-hanhai-vue/src/components/ExhibitDataBoard.vue diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..eeba427 --- /dev/null +++ b/.gitignore @@ -0,0 +1,23 @@ +.DS_Store +node_modules +/dist + +# local env files +.env.local +.env.*.local + +# Log files +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# Editor directories and files +.idea +.vscode +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw* +target +.idea/**.* \ No newline at end of file diff --git a/admin-hanhai-vue/package.json b/admin-hanhai-vue/package.json index c8a446b..9694401 100644 --- a/admin-hanhai-vue/package.json +++ b/admin-hanhai-vue/package.json @@ -19,6 +19,7 @@ "china-area-data": "^5.0.1", "clipboard": "^2.0.4", "codemirror": "^5.46.0", + "countup.js": "^2.9.0", "cron-parser": "^2.10.0", "dayjs": "^1.8.0", "dom-align": "1.12.0", @@ -33,6 +34,7 @@ "viser-vue": "^2.4.8", "vue": "^2.6.10", "vue-area-linkage": "^5.1.0", + "vue-countup-v2": "^4.0.0", "vue-cropper": "^0.5.4", "vue-i18n": "^8.7.0", "vue-loader": "^15.7.0", diff --git a/admin-hanhai-vue/src/components/ExhibitDataBoard.vue b/admin-hanhai-vue/src/components/ExhibitDataBoard.vue new file mode 100644 index 0000000..b497df5 --- /dev/null +++ b/admin-hanhai-vue/src/components/ExhibitDataBoard.vue @@ -0,0 +1,418 @@ + + + + + + + + + + + {{ item.title }} + + + + {{ item.unit }} + + + + + + + + + + + + + + + + + {{ item.title }} + + + % + + + + + {{ item.trendValue }}% + + + + + + + + + + + + + + {{ item.title }} + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/admin-hanhai-vue/src/views/dashboard/Analysis.vue b/admin-hanhai-vue/src/views/dashboard/Analysis.vue index 126a236..221a3e1 100644 --- a/admin-hanhai-vue/src/views/dashboard/Analysis.vue +++ b/admin-hanhai-vue/src/views/dashboard/Analysis.vue @@ -1,275 +1,302 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + - -