diff --git a/.env.development b/.env.development
index af51f93e..cb3b3b46 100644
--- a/.env.development
+++ b/.env.development
@@ -26,4 +26,4 @@ VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7001'
VITE_APP_BASE_H5_API_Url = 'https://aitstest.jlbank.com.cn:7001'
#VITE_APP_BASE_H5_API_Url_TRAAPP = 'http://25.64.16.140:9602'
-VITE_APP_BASE_H5_API_Url_TRASTUDY = 'http://25.64.16.130:9602'
+#VITE_APP_BASE_H5_API_Url_TRASTUDY = 'http://25.64.16.130:9602'
diff --git a/src/App.vue b/src/App.vue
index dce6f91d..47a12d48 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -53,7 +53,7 @@
.pt-8 {
padding-top: 8rpx;
}
- .mb- {
+ .mb-10 {
margin-bottom: 10rpx;
}
.mb-18 {
diff --git a/src/common/imgSvg.ts b/src/common/imgSvg.ts
index b759e79b..c48d3853 100644
--- a/src/common/imgSvg.ts
+++ b/src/common/imgSvg.ts
@@ -32,3 +32,19 @@ export const feedbackIcon = () : string => {
`.trim();
return `data:image/svg+xml;charset=utf-8,${encodeURIComponent(svgXml)}`;
};
+
+// 通过考试
+export const passTheExamIcon = (color: string) : string => {
+ const svgXml = `
+
+`.trim();
+ return `data:image/svg+xml;charset=utf-8,${encodeURIComponent(svgXml)}`;
+};
+
+// 完成练习
+export const completeTheExercisesIcon = (color: string) : string => {
+ const svgXml = `
+
+`.trim();
+ return `data:image/svg+xml;charset=utf-8,${encodeURIComponent(svgXml)}`;
+};
diff --git a/src/components/nav-bar/nav-bar.vue b/src/components/nav-bar/nav-bar.vue
index 8fd5ca5f..dd29ac32 100644
--- a/src/components/nav-bar/nav-bar.vue
+++ b/src/components/nav-bar/nav-bar.vue
@@ -1,13 +1,11 @@
-
+
+
+
+
\ No newline at end of file
+
diff --git a/src/pages/learningTasks/details.vue b/src/pages/learningTasks/details.vue
index 792a96f0..011e283c 100644
--- a/src/pages/learningTasks/details.vue
+++ b/src/pages/learningTasks/details.vue
@@ -1,6 +1,6 @@
-
+
@@ -8,20 +8,33 @@
任务详情
- 未完成
- 已完成
- JBank银行服诉旦撒大银行服诉旦撒大银行服诉旦撒大银行服诉旦撒大银行服诉旦撒大银行服诉旦撒大
+ JBank银行服诉旦撒大银行服诉旦撒大1233333213银行服诉旦撒大银行服诉旦撒大银行服诉旦撒大
起止时间:
2025-05-13至2025-05-13
+
+
+
+
+
@@ -35,13 +48,38 @@
-
+
+
+
+ 试卷信息
+
+
+
+
+
+
+
+
+ 已结束
+
+ 中国银行业的监管机构有哪些中国银行业的监管机构有哪些中国银行业的监管机构有哪些中国银行业的监管机构有哪些中国银行业的监管机构有哪些
+
+
+ 完成练习
+
+ 通过考试
+
+
+
+
+
+
@@ -49,7 +87,7 @@
import { onLoad } from '@dcloudio/uni-app';
import { reactive, computed } from 'vue';
import { startTraExamPapersInfo } from '@/api/examination.js';
-
+ import { passTheExamIcon, completeTheExercisesIcon } from '@/common/imgSvg';
import common from '@/common/common';
import { setPageCache, getPageCache } from '@/common/common';
const detailData = reactive({
@@ -69,31 +107,167 @@
essayGrade: 0
});
const scrolltolower = () => {};
+ const collect_click = async (collectId) => {
+ try {
+ if (!collectId) {
+ common.loading('收藏中');
+ form.value.collectId = await insertTraPersonalCollectionTask({
+ collectTyp: '01',
+ collectBusId: crsId.value
+ });
+ common.msg('收藏成功');
+ } else {
+ common.loading('取消收藏中');
+ await deleteTraPersonalCollectionById({
+ collectId: collectId
+ });
+ form.value.collectId = null;
+
+ common.msg('取消成功');
+ }
+ } catch (e) {
+ common.hideLoading();
+ }
+ };
onLoad((e) => {
const testing_hall_details = getPageCache('testing_hall_details');
Object.assign(detailData, {
...testing_hall_details
});
- console.log('detailData', detailData);
});
\ No newline at end of file
diff --git a/src/pages/wrong_question_record/index.vue b/src/pages/wrongQuestionRecord/index.vue
similarity index 63%
rename from src/pages/wrong_question_record/index.vue
rename to src/pages/wrongQuestionRecord/index.vue
index 74fe2eb7..95fdaae5 100644
--- a/src/pages/wrong_question_record/index.vue
+++ b/src/pages/wrongQuestionRecord/index.vue
@@ -9,11 +9,17 @@
-
+
@@ -26,43 +32,47 @@
+
+
+
+
+
\ No newline at end of file
+
diff --git a/src/pagesA.json b/src/pagesA.json
index 3b7ce420..15fc7fe1 100644
--- a/src/pagesA.json
+++ b/src/pagesA.json
@@ -118,7 +118,7 @@
}
},
{
- "path": "pages/wrong_question_record/index",
+ "path": "pages/wrongQuestionRecord/index",
"style": {
"navigationBarTitleText": "错题本",
"app-plus": {