From 07992e69b7e5d7325b59fe7a1b415a2780653441 Mon Sep 17 00:00:00 2001 From: 阳洁 <2077506045@qq.com> Date: 星期二, 05 三月 2024 10:47:36 +0800 Subject: [PATCH] logo图片大小双端适配 --- src/router.js | 30 +++++++++++++++++++++--------- 1 files changed, 21 insertions(+), 9 deletions(-) diff --git a/src/router.js b/src/router.js index 7ae7335..e6e59b7 100644 --- a/src/router.js +++ b/src/router.js @@ -32,6 +32,12 @@ component: () => import('@/views/demography/langOption'), name: 'langOption', meta: { title: 'langOption' } + }, + { + path: 'logo', + component: () => import('@/views/demography/logo'), + name: 'logo', + meta: { title: 'logo' } } ] }, @@ -144,28 +150,34 @@ ] }, { - path: '/pdf', + path: '/exam', component: Layout, children: [ { - path: 'view', - component: () => import('@/views/pdf/reportView'), - name: 'reportView', - meta: { title: '鎶ュ憡棰勮' } + path: 'exercise', + component: () => import('@/views/exam/paper/exercise'), + name: 'ExamPaperExercise', + meta: { title: 'exercise' } } ] }, { - path: '/pdf', + path: '/report', component: Layout, children: [ { - path: 'h5', - component: () => import('@/views/pdf/reportH5'), + path: 'view', + component: () => import('@/views/report/reportView'), name: 'reportView', - meta: { title: '鎶ュ憡棰勮' } + meta: { title: 'PDF鎶ュ憡' } } ] + }, + { + path: '/report/h5', + component: () => import('@/views/report/reportH5'), + name: 'reportH5', + meta: { title: '涓汉鍙嶉鎶ュ憡' } } ] }) -- Gitblit v1.9.1