diff --git a/src/components/echarts/bar.vue b/src/components/echarts/bar.vue new file mode 100644 index 0000000..a266a94 --- /dev/null +++ b/src/components/echarts/bar.vue @@ -0,0 +1,95 @@ + + + + + + + + + + + diff --git a/src/components/echarts/line.vue b/src/components/echarts/line.vue new file mode 100644 index 0000000..22e2be9 --- /dev/null +++ b/src/components/echarts/line.vue @@ -0,0 +1,133 @@ + + + + + + + + + + + diff --git a/src/components/echarts/pie.vue b/src/components/echarts/pie.vue new file mode 100644 index 0000000..d1bd0d4 --- /dev/null +++ b/src/components/echarts/pie.vue @@ -0,0 +1,88 @@ + + + + + + + + + + + diff --git a/src/router/index.ts b/src/router/index.ts index 88b0ed0..d93b18e 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -7,13 +7,14 @@ const router = createRouter({ routes: [ { path: '/', + redirect: '/home', name: 'home', component: Layout, children: [ { - path: '/ad', - name: 'ad', - component: () => import('@/papes/ShiYan.vue') + path: '/home', + name: '首页', + component: HomeView, } ] } diff --git a/src/views/home/components/homeCenter.vue b/src/views/home/components/homeCenter.vue new file mode 100644 index 0000000..331b385 --- /dev/null +++ b/src/views/home/components/homeCenter.vue @@ -0,0 +1,200 @@ + + + + 数据概览 + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/home/components/homeFooter.vue b/src/views/home/components/homeFooter.vue new file mode 100644 index 0000000..52aa888 --- /dev/null +++ b/src/views/home/components/homeFooter.vue @@ -0,0 +1,93 @@ + + + + + + + + + + + + + + + + diff --git a/src/views/home/components/homeHeader.vue b/src/views/home/components/homeHeader.vue new file mode 100644 index 0000000..e77a155 --- /dev/null +++ b/src/views/home/components/homeHeader.vue @@ -0,0 +1,94 @@ + + + + + + {{ item.title }} + {{ item.num }} + + + + + + + + + + + + + + diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 5a42fb3..128fa34 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -1,8 +1,27 @@ - 1111111111 + + + + + + + + + + + + + + Aside + + - + - +