From 66f11fef31c547d8d99ce5d982182f6bac60fd59 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Mon, 26 Aug 2024 10:08:54 +0800 Subject: [PATCH] fix --- src/layouts/navbar/index.vue | 8 +- src/pages/ques/detail/index.vue | 24 +++++- src/pages/ques/list/index.vue | 2 +- src/pages/quesBank/index.vue | 2 +- src/pages/quesBankType/index.vue | 2 +- src/pages/testPaper/detail/auto.vue | 20 ++++- src/pages/testPaper/detail/index.vue | 101 ++++++++++++++++------- src/pages/testPaper/detail/manual.vue | 6 +- src/pages/testPaper/detail/template.vue | 6 +- src/pages/testPaper/list/index.vue | 4 +- src/pages/testPaperLibrary/index.vue | 2 +- src/pages/testPaperLibraryType/index.vue | 2 +- src/router/permission.js | 4 +- src/styles/common.scss | 25 ++++++ 14 files changed, 158 insertions(+), 50 deletions(-) diff --git a/src/layouts/navbar/index.vue b/src/layouts/navbar/index.vue index 1e21a32..5b35975 100644 --- a/src/layouts/navbar/index.vue +++ b/src/layouts/navbar/index.vue @@ -5,8 +5,8 @@ 理论考试系统 - + diff --git a/src/pages/testPaperLibraryType/index.vue b/src/pages/testPaperLibraryType/index.vue index 8b938f7..52a9f81 100644 --- a/src/pages/testPaperLibraryType/index.vue +++ b/src/pages/testPaperLibraryType/index.vue @@ -34,7 +34,7 @@ 编辑 删除 diff --git a/src/router/permission.js b/src/router/permission.js index 8e51ffc..ad6162b 100644 --- a/src/router/permission.js +++ b/src/router/permission.js @@ -4,6 +4,6 @@ import util from '@/libs/util' router.beforeEach((to, from, next) => { document.title = Setting.titleSuffix - localStorage.setItem('examPath', to.fullPath) next() -}); \ No newline at end of file + localStorage.setItem('examPath', router.resolve(to.fullPath).href) +}) \ No newline at end of file diff --git a/src/styles/common.scss b/src/styles/common.scss index 7d917f5..1e4c986 100644 --- a/src/styles/common.scss +++ b/src/styles/common.scss @@ -437,4 +437,29 @@ font-size: 14px; text-align: center; color: #a3a3a3; +} +.fill-scores { + .fill-title { + margin-bottom: 10px; + font-size: 13px; + } + + .input-wrap { + display: flex; + align-items: center; + font-size: 12px; + white-space: nowrap; + &:not(:last-child) { + margin-bottom: 10px; + } + } + .l-input { + width: 100px; + margin-right: 10px; + + .el-input__inner { + height: 28px; + line-height: 28px; + } + } } \ No newline at end of file