diff --git a/config/api.js b/config/api.js
index 2741563..cfd48fe 100644
--- a/config/api.js
+++ b/config/api.js
@@ -60,6 +60,8 @@ export const logOut = (data={}) => http.post('member/auth/logout', data, {custom
export const startExamDo = (data) => http.post('questionExam/saveExam.do', data,)
// 考试结果页
export const examId = (data) => http.post(`questionExam/result-${examId}`, data,)
+ // 模拟考试次数、通过率
+ export const idexExam = (data) => http.get(`idex/exam-${data.stepType}-${data.carType}`, )
@@ -67,7 +69,6 @@ export const logOut = (data={}) => http.post('member/auth/logout', data, {custom
-
diff --git a/pages/exercises/beforeExam/beforeExam.vue b/pages/exercises/beforeExam/beforeExam.vue
index 80245a3..6166065 100644
--- a/pages/exercises/beforeExam/beforeExam.vue
+++ b/pages/exercises/beforeExam/beforeExam.vue
@@ -4,7 +4,7 @@
- 驾驶人科目一考试系统
+ 驾驶人科目{{ usecarStore.carInfo.stepType==1?'一': '四'}}考试系统
@@ -27,7 +27,7 @@
考生:{{ phone }}
开始考试
- 点击“确认”按钮开始考试!
+ 点击“开始考试”按钮开始考试!
操作提示:每题考试答案确定后,点击【下一题】,电脑立即判定所选答案,如选择错误,系统将提示正确答案提示后不允许修改答案。
@@ -39,6 +39,8 @@
+
+
+
+
\ No newline at end of file
diff --git a/pages/exercises/examSubjiect1/examSubjiect1.vue b/pages/exercises/examSubjiect1/examSubjiect1.vue
index f9494dc..af7139e 100644
--- a/pages/exercises/examSubjiect1/examSubjiect1.vue
+++ b/pages/exercises/examSubjiect1/examSubjiect1.vue
@@ -48,7 +48,6 @@
} from "@dcloudio/uni-app"
let phone = uni.getStorageSync('loginInfo')?.phone
- // 统计多少题目
let info = ref({})
async function questionExamFn() {
const {data:res} = await questionExam({stepType: usecarStore.carInfo.stepType, carType: usecarStore.carInfo.carType})
diff --git a/pages/exercises/theoryStudy/theoryStudy.vue b/pages/exercises/theoryStudy/theoryStudy.vue
index a83e9bb..8dfee96 100644
--- a/pages/exercises/theoryStudy/theoryStudy.vue
+++ b/pages/exercises/theoryStudy/theoryStudy.vue
@@ -58,8 +58,8 @@
科{{ usecarStore.carInfo.stepType==1? '一': '四'}}模拟考试
- 考试次数:1次
- 预测通过率:10%
+ 考试次数:{{ examInfo.accumulate }}次
+ 预测通过率:{{ examInfo.exampassRate}}%
开始考试
@@ -89,7 +89,7 @@