From 7975afc065ac6ed335ecaa4ea80729346bf765eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B0=E5=B2=A9?= Date: Thu, 21 Aug 2025 15:02:13 +0800 Subject: [PATCH] 1 --- .env.development | 2 +- certificate/ios/jiaixuedev.mobileprovision | Bin 12217 -> 12298 bytes src/components/examination/subject.vue | 54 ++++++++++-------- src/pages/examination/result.vue | 23 ++------ .../learningTasks/components/list-item.vue | 5 +- src/pages/learningTasks/details.vue | 49 ++++++++++------ .../components/favorites-course.vue | 3 +- 7 files changed, 74 insertions(+), 62 deletions(-) diff --git a/.env.development b/.env.development index 015f8308..5c9bc531 100644 --- a/.env.development +++ b/.env.development @@ -27,4 +27,4 @@ VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7001' VITE_APP_BASE_H5_API_Url = 'http://25.18.122.65:7001' #VITE_APP_BASE_H5_API_Url_TRAAPP = 'http://25.64.16.130:9601' -VITE_APP_BASE_H5_API_Url_TRASTUDY = 'http://25.64.16.130:9602' +#VITE_APP_BASE_H5_API_Url_TRASTUDY = 'http://25.64.16.138:9602' diff --git a/certificate/ios/jiaixuedev.mobileprovision b/certificate/ios/jiaixuedev.mobileprovision index e3cc651ade3e5ccf8c383502fa797db0727ec96d..f72974ab7ac14880b9b9e4fa79cadd68485796cb 100644 GIT binary patch delta 859 zcmdlP-<4oz&}6{I#;Mij(e|B}k)3Hllm2&uCjHM$jEsid2ApiH+I-ARQmhOHO$x#Y zWsD1&6j)fA6c{$zMKf|68HN~`Ss9yK85(R}!nlt^Ix;ZQ%R4{HGovio&oMCBIp5RM zFEq>9*(KCuaxIsfVnx2Yb8w-1uxFC7OQ5TVW1_ROV|lS_db+QNZ=|P-W7Xt6TywcA zeM20Le5;ZxeBCCeaQkq1R`|L^R{2%AmQUWrecQmuH!IZC*FDrEGSe`_FT^X`CnP94 z$~~|oGQ_vi*V({0vMM9jH_O$?-zBsnD$8~9QJx?s_vFcvywXfgL6gmRJ>*@Svdev4 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CAwaQUBGSmaTH; zMaSG!-L{-uo7VK-w&&K=o-YTZ8ch}`PrY~ggzNq*46hEpcEe*E@)B6#7* Y- {{ subject_type_text }} - {{ item.tgtGrade }}分 + {{ item.tgtGrade }}分 @@ -14,9 +14,9 @@ > - @@ -77,7 +75,7 @@ backgroundColor: '#0066FF', border: '1rpx solid rgb(12, 123, 245)' }; - + const emit = defineEmits(['subject_click']); const props = defineProps({ modelValue: { @@ -92,8 +90,8 @@ type: String, required: true, validator: (value) => { - // 考试: examination 练习: practice 错题本: mistake 学习: study - return ['examination', 'practice', 'mistake', 'study'].includes(value); + // 考试: examination 练习: practice 错题本: mistake 学习: study 考试结算页 settlement + return ['examination', 'practice', 'mistake', 'study', 'settlement'].includes(value); } }, // 是否预览模式 @@ -105,13 +103,13 @@ clearResult: { type: Boolean, default: true - }, + } }); const modelValue = computed({ get: () => props.modelValue, set: (val) => emit('update:modelValue', val) }); - let answerText = props.item?.my_answer + let answerText = props.item?.my_answer; const item_answer = ref(typeof answerText === 'string' ? answerText.split(',') : []); const feedback_click = () => { emit('subject_click', 'feedback', props.item); @@ -130,12 +128,18 @@ const anserResultArray = props.item.anserResult.split(','); return subject_data.itemVos.filter((res) => anserResultArray.includes(res.itemId)).map((res) => res.itemNo); }); + // 判断选项是否完全正确 + const right_or_wrong_class = computed( + () => + correctResultLabel.value.length === myResultLabel.value.length && + myResultLabel.value.every((res) => correctResultLabel.value.includes(res)) + ); const subject_data = reactive({ qnsId: props.item.qnsId, qnsContent: props.item.qnsContent, qnsTyp: props.item.qnsTyp, analyContent: props.item.analyContent, - itemVos: (props.item.itemVos??[]).map((res) => ({ + itemVos: (props.item.itemVos ?? []).map((res) => ({ ...res, correctFlag: props.clearResult ? '' : res.correctFlag })) @@ -212,18 +216,20 @@ justify-content: space-between; align-items: center; margin: 32rpx 0 28rpx 0; - + .success_answer { } - + .your_answer { - } - - .red_color { - color: #f5212d; + .success { + color: #15b859; + } + .error { + color: #f5212d; + } } } - + .analysis_note { font-family: PingFangSC; font-weight: 500; @@ -272,11 +278,13 @@ .right_text { font-family: PingFangSC; - font-weight: 600; + font-weight: 400; font-size: 28rpx; - color: #333; + color: #333333; + line-height: 40px; text-align: left; font-style: normal; + } } } diff --git a/src/pages/examination/result.vue b/src/pages/examination/result.vue index 234a4913..0c9a0bf9 100644 --- a/src/pages/examination/result.vue +++ b/src/pages/examination/result.vue @@ -3,7 +3,7 @@ 考试结算 - + @@ -116,25 +116,8 @@ 你的等待会有更精确的结果,要耐心哦~ - - - - + @@ -145,6 +128,8 @@ import { onLoad } from '@dcloudio/uni-app'; import { ref, reactive, computed, onMounted, nextTick, getCurrentInstance } from 'vue'; import { queryPaperExamScore } from '@/api/examination.js'; + import Subject from '@/components/examination/subject.vue'; + import common from '@/common/common'; const pass_status = ref(0); const sheet_swiper_index = ref(0); const result = reactive({ diff --git a/src/pages/learningTasks/components/list-item.vue b/src/pages/learningTasks/components/list-item.vue index b5b49f9e..f1d07fc0 100644 --- a/src/pages/learningTasks/components/list-item.vue +++ b/src/pages/learningTasks/components/list-item.vue @@ -4,7 +4,7 @@ - 进行中 + 未完成 已完成 @@ -147,7 +147,7 @@ } .blod_color { - color: #0066ff; + color: #333333; } } @@ -223,6 +223,7 @@ flex-wrap: nowrap; height: 23rpx; overflow: hidden; + } .people_progress_div { diff --git a/src/pages/learningTasks/details.vue b/src/pages/learningTasks/details.vue index 587bab39..0675ef69 100644 --- a/src/pages/learningTasks/details.vue +++ b/src/pages/learningTasks/details.vue @@ -69,32 +69,38 @@ - 进行中 - 已完成 - 未解锁 + 进行中 + 已完成 + 未解锁 - {{item.crsName}} + {{ item.crsName }} -