diff --git a/ruoyi-ui-next/src/components/ui/Charts/BarChart.vue b/ruoyi-ui-next/src/components/ui/Charts/BarChart.vue new file mode 100644 index 0000000..e450330 --- /dev/null +++ b/ruoyi-ui-next/src/components/ui/Charts/BarChart.vue @@ -0,0 +1,68 @@ + + + + + diff --git a/ruoyi-ui-next/src/components/ui/Charts/HeatmapChart.vue b/ruoyi-ui-next/src/components/ui/Charts/HeatmapChart.vue new file mode 100644 index 0000000..c81a9b5 --- /dev/null +++ b/ruoyi-ui-next/src/components/ui/Charts/HeatmapChart.vue @@ -0,0 +1,85 @@ + + + + + diff --git a/ruoyi-ui-next/src/components/ui/Charts/LineChart.vue b/ruoyi-ui-next/src/components/ui/Charts/LineChart.vue new file mode 100644 index 0000000..36bb60c --- /dev/null +++ b/ruoyi-ui-next/src/components/ui/Charts/LineChart.vue @@ -0,0 +1,73 @@ + + + + + diff --git a/ruoyi-ui-next/src/components/ui/Charts/PieChart.vue b/ruoyi-ui-next/src/components/ui/Charts/PieChart.vue new file mode 100644 index 0000000..7a59ee9 --- /dev/null +++ b/ruoyi-ui-next/src/components/ui/Charts/PieChart.vue @@ -0,0 +1,56 @@ + + + + + diff --git a/ruoyi-ui-next/src/router/constant.ts b/ruoyi-ui-next/src/router/constant.ts index 6ebed11..c1c26b2 100644 --- a/ruoyi-ui-next/src/router/constant.ts +++ b/ruoyi-ui-next/src/router/constant.ts @@ -41,6 +41,26 @@ export const constantRoutes: RouteRecordRaw[] = [ }, ], }, + { + path: '/dashboard', + component: () => import('@/layout/index.vue'), + redirect: '/dashboard/index', + meta: { title: '行情总览', icon: 'TrendCharts' }, + children: [ + { + path: 'index', + name: 'DashboardIndex', + component: () => import('@/views/dashboard/index.vue'), + meta: { title: '行情总览', affix: true }, + }, + { + path: 'heatmap', + name: 'DashboardHeatmap', + component: () => import('@/views/heatmap/index.vue'), + meta: { title: '趋势热力' }, + }, + ], + }, // Catch-all 404 - must be added last { path: '/:pathMatch(.*)*', diff --git a/ruoyi-ui-next/src/views/dashboard/index.vue b/ruoyi-ui-next/src/views/dashboard/index.vue new file mode 100644 index 0000000..152a499 --- /dev/null +++ b/ruoyi-ui-next/src/views/dashboard/index.vue @@ -0,0 +1,706 @@ + + + + + diff --git a/ruoyi-ui-next/src/views/heatmap/index.vue b/ruoyi-ui-next/src/views/heatmap/index.vue new file mode 100644 index 0000000..7276cbb --- /dev/null +++ b/ruoyi-ui-next/src/views/heatmap/index.vue @@ -0,0 +1,507 @@ + + + + +