From 2f75c713d5c1fde3ae79b421d4e108cbc9b472d5 Mon Sep 17 00:00:00 2001 From: zq <136432190602163.com> Date: Mon, 23 Jun 2025 11:45:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=9D=A2=E5=8C=85=E5=B1=91?= =?UTF-8?q?=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/separator.png | Bin 0 -> 662 bytes src/components/Breadcrumb copy.vue | 77 +++++++++++++++++ src/components/Breadcrumb.vue | 166 +++++++++++++++++++++---------------- src/router/index.js | 50 +++++------ 4 files changed, 192 insertions(+), 101 deletions(-) create mode 100644 src/assets/separator.png create mode 100644 src/components/Breadcrumb copy.vue diff --git a/src/assets/separator.png b/src/assets/separator.png new file mode 100644 index 0000000000000000000000000000000000000000..0ff4277ab6dd1266044a1ecb534bb1e8d391b976 GIT binary patch literal 662 zcmV;H0%`q;P)Px#1am@3R0s$N2z&@+hyVZrKuJVFRA_WXmxT z#)sA!!{VjI9MmR&bEd8Sc1v@sxOUqy<04z#8r&iTe6Y3C$_1oS#*E`c^T~#O-B?v0 zs6oI(6`cTx53MUj=c7@wwvAt@fXmBoJp!hhPu4%e{LCdswH*lQRJ%@UHc1j=>)fZZ zgG^-0G3P8jn3!QPc-Eb`=BcCusg!Y5wppYS0mb`H5eA&O-a`N2UBIsTZ#AE6uDQK! z7V$3NzKTv!Vw*4e6BcD0Fb|46t?!<*s^u}jCz@q^1qMfF}V**`~vNM~AZjA!Mgc+brTNfVWy&+a!g#PuncwWTU0F zNw^yJyNOGVGMqY4YMVqem-xqEE#M+sP4B`si&zOb=9yTPZ5FW-u(Qp|o{1(H3)tN@ zwbgfhCYoR@pq+<3-MWJNGtmSq8~yZoCBg8Q5MR$k6Rc)n*zYDv(Hy|7O8a^yn&5Ph wrBcT2Je)GdUNNZiVgKnzUmI&^X!uX~4SomE + + + + {{ item.title }} + + + + + + + \ No newline at end of file diff --git a/src/components/Breadcrumb.vue b/src/components/Breadcrumb.vue index 7dea213..c0b0094 100644 --- a/src/components/Breadcrumb.vue +++ b/src/components/Breadcrumb.vue @@ -1,77 +1,101 @@ - - - - \ No newline at end of file +} + + \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index 3c44a5d..1a4cfdf 100755 --- a/src/router/index.js +++ b/src/router/index.js @@ -30,27 +30,17 @@ const routes = [{ path: '/', name: '首页', component: HomeView, - // component: Franchise + meta: { + title: '首页', + hideBreadcrumb: true // 首页不显示面包屑 + } }, { path: '/register', name: 'register', - // route level code-splitting // this generates a separate chunk (about.[hash].js) for this route // which is lazy-loaded when the route is visited. component: () => import( /* webpackChunkName: "register" */ '../views/Register.vue'), - children: [ // 这是子路由的定义开始 - // { - // path: '', // 当访问 /user 时,默认加载 UserProfile 组件 - // name: 'register', - // component: Register - // }, - // { - // path: 'posts', // 当访问 /user/posts 时,加载 UserPosts 组件 - // name: 'UserPosts', - // component: UserPosts, - // } - ] }, { path: '/ui', @@ -68,22 +58,22 @@ const routes = [{ // which is lazy-loaded when the route is visited. component: () => import( /* webpackChunkName: "siteList" */ '../views/agent/siteList.vue') }, - { - path: '/agent/siteBaseSetting', - name: '站点基本设置', - // route level code-splitting - // this generates a separate chunk (about.[hash].js) for this route - // which is lazy-loaded when the route is visited. - component: () => import( /* webpackChunkName: "siteList" */ '../views/agent/siteBaseSetting.vue') - }, - { - path: '/agent/siteSemSetting', - name: '营销推广', - // route level code-splitting - // this generates a separate chunk (about.[hash].js) for this route - // which is lazy-loaded when the route is visited. - component: () => import( /* webpackChunkName: "siteList" */ '../views/agent/siteSemSetting.vue') - }, + // { + // path: '/agent/siteBaseSetting', + // name: '站点基本设置', + // // route level code-splitting + // // this generates a separate chunk (about.[hash].js) for this route + // // which is lazy-loaded when the route is visited. + // component: () => import( /* webpackChunkName: "siteList" */ '../views/agent/siteBaseSetting.vue') + // }, + // { + // path: '/agent/siteSemSetting', + // name: '营销推广', + // // route level code-splitting + // // this generates a separate chunk (about.[hash].js) for this route + // // which is lazy-loaded when the route is visited. + // component: () => import( /* webpackChunkName: "siteList" */ '../views/agent/siteSemSetting.vue') + // }, { path: '/franchise', name: '加盟',