From b10b77aefcabc8a32baca0e9102caa9566d0349a Mon Sep 17 00:00:00 2001 From: songjie Date: Tue, 3 Feb 2026 13:10:09 +0800 Subject: [PATCH 1/8] =?UTF-8?q?=E9=9A=90=E8=97=8F=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=A6=82=E8=A7=88-=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E6=98=8E=E7=BB=86=E5=BA=95=E9=83=A83=E4=B8=AA=E8=A1=A8?= =?UTF-8?q?=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/PlatformData/UserOverview.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/views/PlatformData/UserOverview.vue b/src/views/PlatformData/UserOverview.vue index fe771a2..0e5c136 100644 --- a/src/views/PlatformData/UserOverview.vue +++ b/src/views/PlatformData/UserOverview.vue @@ -178,7 +178,7 @@ -
+ -
+ -
+
From 249ae8acbb4f56862da16c21905575ba3ba74eb8 Mon Sep 17 00:00:00 2001 From: songjie Date: Tue, 3 Feb 2026 16:49:02 +0800 Subject: [PATCH 2/8] =?UTF-8?q?=E9=9A=90=E8=97=8F=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E7=BB=9F=E8=AE=A1=E9=A1=B5=E9=9D=A2=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 776e0b9..071c41e 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -87,12 +87,12 @@ const routes = [ component: () => import('../views/PlatformData/UserOverview.vue'), meta: { title: '用户数据概览', showSidebar: true } }, - { - path: 'loginStats', - name: 'loginStats', - component: () => import('../views/PlatformData/UserLoginStats.vue'), - meta: { title: '用户登录统计', showSidebar: true } - }, + // { + // path: 'loginStats', + // name: 'loginStats', + // component: () => import('../views/PlatformData/UserLoginStats.vue'), + // meta: { title: '用户登录统计', showSidebar: true } + // }, { path: 'activityStats', name: 'activityStats', From 2e87dec93edef4ce68a2fd79ac1ba075f0ecf430 Mon Sep 17 00:00:00 2001 From: songjie Date: Wed, 4 Feb 2026 14:02:43 +0800 Subject: [PATCH 3/8] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=B8=B8=E5=AE=A2?= =?UTF-8?q?=E5=8D=A1=E7=89=87=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/PlatformData/UserOverview.vue | 64 +++++++++++++++++++++++++-------- 1 file changed, 50 insertions(+), 14 deletions(-) diff --git a/src/views/PlatformData/UserOverview.vue b/src/views/PlatformData/UserOverview.vue index 0e5c136..85fbf7f 100644 --- a/src/views/PlatformData/UserOverview.vue +++ b/src/views/PlatformData/UserOverview.vue @@ -45,28 +45,39 @@
-
+
-
-
- 会员登陆总数 +
+ 会员登陆总数 +
+
{{ overviewData.member }}
+
+
+ {{ getGrowthText(overviewData.member_growth) }}
-
-
{{ overviewData.member }}
-
-
- {{ getGrowthText(overviewData.member_growth) }} -
+
+
+ + +
+
+
+ 游客总数 +
+
{{ overviewData.guest }}
+
+
+ {{ getGrowthText(overviewData.guest_growth) }}
-
+
@@ -248,6 +259,8 @@ const overviewData = ref({ total_login_growth: '0%', member: 0, member_growth: '0%', + guest: 0, + guest_growth: '0%', normal_register: 0, normal_reg_growth: '0%', normal_login: 0, @@ -654,7 +667,7 @@ onMounted(() => { .big-card { flex: 1; - height: 360px; + height: auto; border-radius: 12px; padding: 24px; display: flex; @@ -675,11 +688,34 @@ onMounted(() => { background: linear-gradient(135deg, #9BB7FC 0%, #66a6ff 100%); } -.right-stats-col { +.right-stats-grid { flex: 2; + display: grid; + grid-template-columns: 1fr 1fr; + grid-template-rows: auto auto; + gap: 20px; +} + +.right-stats-grid .full-width { + grid-column: 1 / -1; +} + +.right-stats-grid .small-card-content { display: flex; flex-direction: column; - gap: 20px; + align-items: center; + justify-content: center; + height: 100%; +} + +.right-stats-grid .small-card-content .card-title { + margin-bottom: 15px; + text-align: center; +} + +.right-stats-grid .small-card-content .card-value-small { + margin-bottom: 10px; + text-align: center; } .small-card { flex: 1; From 2fddd510f9e21ee5fc9024cc63d42e706323a98e Mon Sep 17 00:00:00 2001 From: songjie Date: Wed, 4 Feb 2026 17:36:31 +0800 Subject: [PATCH 4/8] =?UTF-8?q?=E5=8A=A0=E5=85=A5=E6=B8=B8=E5=AE=A2?= =?UTF-8?q?=E6=95=B0=E9=87=8F=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/PlatformData/UserOverview.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/PlatformData/UserOverview.vue b/src/views/PlatformData/UserOverview.vue index 85fbf7f..22a9451 100644 --- a/src/views/PlatformData/UserOverview.vue +++ b/src/views/PlatformData/UserOverview.vue @@ -67,10 +67,10 @@
游客总数
-
{{ overviewData.guest }}
+
{{ overviewData.visitor }}
-
- {{ getGrowthText(overviewData.guest_growth) }} +
+ {{ getGrowthText(overviewData.vistor_growth) }}
@@ -259,8 +259,8 @@ const overviewData = ref({ total_login_growth: '0%', member: 0, member_growth: '0%', - guest: 0, - guest_growth: '0%', + visitor: 0, + vistor_growth: '0%', normal_register: 0, normal_reg_growth: '0%', normal_login: 0, From dd0b78a559d6ac24e435112d39316d505747fd2b Mon Sep 17 00:00:00 2001 From: songjie Date: Wed, 4 Feb 2026 17:56:44 +0800 Subject: [PATCH 5/8] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E5=AD=97=E6=A0=B7=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/PlatformData/UserOverview.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/PlatformData/UserOverview.vue b/src/views/PlatformData/UserOverview.vue index 22a9451..a86e969 100644 --- a/src/views/PlatformData/UserOverview.vue +++ b/src/views/PlatformData/UserOverview.vue @@ -50,7 +50,7 @@
- 会员登陆总数 + 会员登录总数
{{ overviewData.member }}
From 1c2c6c4fba95218f32e0a680cf37a2018d0a2754 Mon Sep 17 00:00:00 2001 From: songjie Date: Wed, 4 Feb 2026 18:23:59 +0800 Subject: [PATCH 6/8] =?UTF-8?q?=E9=9A=90=E8=97=8F=E5=AF=BC=E5=87=BA?= =?UTF-8?q?=E6=8C=89=E9=92=AE=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/PlatformData/UserOverview.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/PlatformData/UserOverview.vue b/src/views/PlatformData/UserOverview.vue index a86e969..918a7f3 100644 --- a/src/views/PlatformData/UserOverview.vue +++ b/src/views/PlatformData/UserOverview.vue @@ -148,7 +148,7 @@ /> 搜索 重置 - 数据导出 +
From 8b60f19b2c67b621957eb34af7208ebfeafc9c6a Mon Sep 17 00:00:00 2001 From: songjie Date: Fri, 6 Feb 2026 12:03:25 +0800 Subject: [PATCH 7/8] =?UTF-8?q?=E5=8F=96=E6=B6=88=E9=9A=90=E8=97=8F?= =?UTF-8?q?=E9=83=A8=E5=88=86=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 12 ++++++------ src/views/PlatformData/UserActivityStats.vue | 2 +- src/views/PlatformData/UserLoginStats.vue | 8 ++++---- src/views/PlatformData/UserOverview.vue | 14 +++++++------- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 483e1dd..1df3731 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -87,12 +87,12 @@ const routes = [ component: () => import('../views/PlatformData/UserOverview.vue'), meta: { title: '用户数据概览', showSidebar: true } }, - // { - // path: 'loginStats', - // name: 'loginStats', - // component: () => import('../views/PlatformData/UserLoginStats.vue'), - // meta: { title: '用户登录统计', showSidebar: true } - // }, + { + path: 'loginStats', + name: 'loginStats', + component: () => import('../views/PlatformData/UserLoginStats.vue'), + meta: { title: '用户登录统计', showSidebar: true } + }, { path: 'activityStats', name: 'activityStats', diff --git a/src/views/PlatformData/UserActivityStats.vue b/src/views/PlatformData/UserActivityStats.vue index b1c14c5..7292472 100644 --- a/src/views/PlatformData/UserActivityStats.vue +++ b/src/views/PlatformData/UserActivityStats.vue @@ -23,7 +23,7 @@
每日 - + 近七日 近三十日
diff --git a/src/views/PlatformData/UserLoginStats.vue b/src/views/PlatformData/UserLoginStats.vue index 3397617..d1b5820 100644 --- a/src/views/PlatformData/UserLoginStats.vue +++ b/src/views/PlatformData/UserLoginStats.vue @@ -8,20 +8,20 @@ > 登录数据
- +
@@ -189,7 +189,7 @@
- +
- +
- +
From 29153f2b6f553e6c09c08455f3bee08f1997b020 Mon Sep 17 00:00:00 2001 From: songjie Date: Fri, 6 Feb 2026 13:17:12 +0800 Subject: [PATCH 8/8] =?UTF-8?q?=E9=9A=90=E8=97=8F=E2=80=9C=E8=BF=91?= =?UTF-8?q?=E4=B8=83=E6=97=A5=E2=80=9D=EF=BC=88=E5=90=8E=E7=AB=AF=E4=B8=8D?= =?UTF-8?q?=E9=9C=80=E8=A6=81=E8=BF=99=E4=B8=AA=E5=8F=82=E6=95=B0=EF=BC=89?= =?UTF-8?q?=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/PlatformData/UserActivityStats.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/PlatformData/UserActivityStats.vue b/src/views/PlatformData/UserActivityStats.vue index 7292472..b1c14c5 100644 --- a/src/views/PlatformData/UserActivityStats.vue +++ b/src/views/PlatformData/UserActivityStats.vue @@ -23,7 +23,7 @@
每日 - 近七日 + 近三十日