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"); +}