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 e3cc651a..f72974ab 100644 Binary files a/certificate/ios/jiaixuedev.mobileprovision and b/certificate/ios/jiaixuedev.mobileprovision differ diff --git a/src/components/examination/subject.vue b/src/components/examination/subject.vue index 9ba4b667..2700e9d6 100644 --- a/src/components/examination/subject.vue +++ b/src/components/examination/subject.vue @@ -2,7 +2,7 @@ {{ subject_type_text }} - {{ item.tgtGrade }}分 + {{ item.tgtGrade }}分 @@ -14,9 +14,9 @@ > - @@ -79,7 +76,7 @@ border: '1rpx solid rgb(12, 123, 245)' }; - const emit = defineEmits(['subject_click']); + const emit = defineEmits(['subject_click', 'update:modelValue']); const props = defineProps({ modelValue: { type: Array, @@ -93,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); } }, // 是否预览模式 @@ -106,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); @@ -131,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 })) @@ -213,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; @@ -273,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/charts/index.vue b/src/pages/charts/index.vue index a88a0cc2..643b8193 100644 --- a/src/pages/charts/index.vue +++ b/src/pages/charts/index.vue @@ -112,7 +112,7 @@