From 0d72bbfdfb66db0cbdc23325e3e4b54a535716fb Mon Sep 17 00:00:00 2001 From: unknown <331404948@qq.com> Date: Fri, 25 Oct 2024 09:00:57 +0800 Subject: [PATCH] 00 --- config/api.js | 2 +- pages/exercises/brushQuestions/brushQuestions.vue | 3 +- .../categoryExercises/categoryExercises.vue | 32 +++++++++---- pages/exercises/chapter/chapter.vue | 54 ++++++++++++++-------- pages/exercises/theoryStudy/theoryStudy.vue | 26 ++++++++--- store/modules/car.js | 1 + 6 files changed, 83 insertions(+), 35 deletions(-) diff --git a/config/api.js b/config/api.js index a9919e4..48a4974 100644 --- a/config/api.js +++ b/config/api.js @@ -36,7 +36,7 @@ export const logOut = (data={}) => http.post('member/auth/logout', data, {custom // 分类学习了级 export const columnPid = (pid) => http.get(`idex/column-${pid}`, ) // 分类学习父级id - export const columnFid = (data) => http.get(`idex/column-${data.type}-${data.stepType}-${data.carType}`, ) + export const columnFid = (data) => http.get(`idex/${data.type}-column-${data.stepType}-${data.carType}`, ) diff --git a/pages/exercises/brushQuestions/brushQuestions.vue b/pages/exercises/brushQuestions/brushQuestions.vue index b742d82..034fbc5 100644 --- a/pages/exercises/brushQuestions/brushQuestions.vue +++ b/pages/exercises/brushQuestions/brushQuestions.vue @@ -215,7 +215,8 @@ volume: usecarStore.carInfo.volume, types: usecarStore.carInfo.types, sift: usecarStore.carInfo.sift, - contentType: usecarStore.carInfo.contentType + contentType: usecarStore.carInfo.contentType, + knowType: usecarStore.carInfo.knowType } const {data: res} = await startQuestionApi(obj) uni.hideLoading() diff --git a/pages/exercises/categoryExercises/categoryExercises.vue b/pages/exercises/categoryExercises/categoryExercises.vue index 71bde00..1daa4ef 100644 --- a/pages/exercises/categoryExercises/categoryExercises.vue +++ b/pages/exercises/categoryExercises/categoryExercises.vue @@ -1,13 +1,13 @@