From 13122c91e15771a2581db17216ff877f749c3cdf Mon Sep 17 00:00:00 2001 From: Seven Date: Sat, 27 Dec 2025 20:51:52 +0700 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E6=AF=8F=E6=9C=88?= =?UTF-8?q?=E6=94=B6=E7=9B=8A=E9=A1=B5=E9=9D=A2=E5=8F=8A=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=EF=BC=8C=E6=9B=B4=E6=96=B0=E8=B7=AF=E7=94=B1?= =?UTF-8?q?=E4=BB=A5=E6=94=AF=E6=8C=81=E6=96=B0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.ts | 5 + .../revenue/monthly/components/overview.vue | 45 +++++ .../revenue/monthly/components/recent.vue | 162 ++++++++++++++++++ .../monthly/components/revenue-source.vue | 95 ++++++++++ .../revenue/monthly/components/trend.vue | 59 +++++++ src/views/revenue/monthly/index.vue | 60 +++++++ src/views/user/components/my-revenue.vue | 9 +- 7 files changed, 434 insertions(+), 1 deletion(-) create mode 100644 src/views/revenue/monthly/components/overview.vue create mode 100644 src/views/revenue/monthly/components/recent.vue create mode 100644 src/views/revenue/monthly/components/revenue-source.vue create mode 100644 src/views/revenue/monthly/components/trend.vue create mode 100644 src/views/revenue/monthly/index.vue diff --git a/src/router/index.ts b/src/router/index.ts index 6f6909b..665b9de 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -64,6 +64,11 @@ const routes: Array = [ component: () => import("@/views/revenue/total/index.vue"), meta: { requiresAuth: true }, }, + { + path: "/revenue/monthly", + component: () => import("@/views/revenue/monthly/index.vue"), + meta: { requiresAuth: true }, + }, { path: "/wallet/bill", component: () => import("@/views/wallet/bill.vue"), diff --git a/src/views/revenue/monthly/components/overview.vue b/src/views/revenue/monthly/components/overview.vue new file mode 100644 index 0000000..9dbe149 --- /dev/null +++ b/src/views/revenue/monthly/components/overview.vue @@ -0,0 +1,45 @@ + + + + + diff --git a/src/views/revenue/monthly/components/recent.vue b/src/views/revenue/monthly/components/recent.vue new file mode 100644 index 0000000..8509c39 --- /dev/null +++ b/src/views/revenue/monthly/components/recent.vue @@ -0,0 +1,162 @@ + + + + + diff --git a/src/views/revenue/monthly/components/revenue-source.vue b/src/views/revenue/monthly/components/revenue-source.vue new file mode 100644 index 0000000..e8b8b96 --- /dev/null +++ b/src/views/revenue/monthly/components/revenue-source.vue @@ -0,0 +1,95 @@ + + + + + diff --git a/src/views/revenue/monthly/components/trend.vue b/src/views/revenue/monthly/components/trend.vue new file mode 100644 index 0000000..97cfdbe --- /dev/null +++ b/src/views/revenue/monthly/components/trend.vue @@ -0,0 +1,59 @@ + + + + + diff --git a/src/views/revenue/monthly/index.vue b/src/views/revenue/monthly/index.vue new file mode 100644 index 0000000..e57bc62 --- /dev/null +++ b/src/views/revenue/monthly/index.vue @@ -0,0 +1,60 @@ + + + + + diff --git a/src/views/user/components/my-revenue.vue b/src/views/user/components/my-revenue.vue index 8dde79c..22fe9fc 100644 --- a/src/views/user/components/my-revenue.vue +++ b/src/views/user/components/my-revenue.vue @@ -7,6 +7,10 @@ const router = useRouter(); function navigateToTotal() { router.push("/revenue/total"); } + +function navigateToMonthly() { + router.push("/revenue/monthly"); +}