From 4a616ed1c8ae9a55c9beb05edcb1a8335ec852de Mon Sep 17 00:00:00 2001 From: zk Date: Mon, 11 Dec 2023 09:57:38 +0800 Subject: [PATCH] update --- src/components/body-d-right/oneR.vue | 20 +++++++++++++++----- src/components/publicTitle.vue | 5 ++--- src/router/index.ts | 13 +++++++++---- 3 files changed, 26 insertions(+), 12 deletions(-) diff --git a/src/components/body-d-right/oneR.vue b/src/components/body-d-right/oneR.vue index 1215f66..ba21467 100644 --- a/src/components/body-d-right/oneR.vue +++ b/src/components/body-d-right/oneR.vue @@ -1,6 +1,10 @@ + \ No newline at end of file diff --git a/src/components/publicTitle.vue b/src/components/publicTitle.vue index 5f95063..dd23dff 100644 --- a/src/components/publicTitle.vue +++ b/src/components/publicTitle.vue @@ -2,8 +2,7 @@
{{ props.title }}
- - 更多> +
@@ -64,4 +63,4 @@ font-weight: normal; } } - + \ No newline at end of file diff --git a/src/router/index.ts b/src/router/index.ts index 5ae0fb4..ab97afe 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -3,13 +3,18 @@ import { createRouter, createWebHistory, Router, RouteRecordRaw } from 'vue-rout const routes: Array = [ { path: '/', - name: '首页', + name: 'index', + meta: { + title: '首页', + }, component: () => import('/@/views/index.vue'), - // component: () => import('/@/views/mobile/index.vue'), }, { - path: '/indexSon', - name: '副屏', + path: '/secondScreen', + name: 'secondScreen', + meta: { + title: '副屏', + }, component: () => import('/@/views/indexSon.vue'), }, ];