From af63c0fccd0645d9441b833dcf84c5356e2ba476 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BE=99=E8=BF=90=E6=A8=A1?= <1724894114@qq.com> Date: Thu, 27 Jun 2024 10:10:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=89=8D=E7=AB=AF=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E5=92=8C=E9=A1=B6=E9=83=A8=E5=AF=BC=E8=88=AA=E6=A1=86?= =?UTF-8?q?=E6=9E=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/icons/Bell.vue | 13 +++++++++++++ src/assets/icons/index.js | 2 ++ src/config/route.js | 6 +++--- src/layout/components/userbar.vue | 11 +++++++++-- src/layout/index.vue | 4 ++-- src/style/fix.scss | 2 ++ src/views/home/console/index.vue | 29 +++++++++++++++++++++++++++++ src/views/home/index.vue | 8 +++++--- 8 files changed, 65 insertions(+), 10 deletions(-) create mode 100644 src/assets/icons/Bell.vue create mode 100644 src/views/home/console/index.vue diff --git a/src/assets/icons/Bell.vue b/src/assets/icons/Bell.vue new file mode 100644 index 0000000..d8c21fe --- /dev/null +++ b/src/assets/icons/Bell.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/src/assets/icons/index.js b/src/assets/icons/index.js index 69ba889..c7ac7d2 100644 --- a/src/assets/icons/index.js +++ b/src/assets/icons/index.js @@ -40,3 +40,5 @@ export { default as ReportForms } from './menu/ReportForms.vue' export { default as Shipment } from './menu/Shipment.vue' export { default as Stock } from './menu/Stock.vue' +export { default as Bell } from './Bell.vue' + diff --git a/src/config/route.js b/src/config/route.js index 52196de..1fa2ef2 100644 --- a/src/config/route.js +++ b/src/config/route.js @@ -15,14 +15,14 @@ const routes = [ children: [{ name: "dashboard", path: "/dashboard", - component: "home", + component: "home/console", meta: { icon: "sc-icon-Console", title: "控制台", } },{ - name: "usercenter", - path: "/usercenter", + name: "userCenter", + path: "/user-center", component: "userCenter", meta: { icon: "sc-icon-UserInfo", diff --git a/src/layout/components/userbar.vue b/src/layout/components/userbar.vue index 9d85e74..df1f347 100644 --- a/src/layout/components/userbar.vue +++ b/src/layout/components/userbar.vue @@ -11,7 +11,10 @@
- + + + + @@ -184,7 +187,11 @@ } - diff --git a/src/views/home/index.vue b/src/views/home/index.vue index dae58c7..e31a792 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -11,6 +11,7 @@
+ -