diff --git a/.env.development.yh b/.env.development.yh index e5b3101e..33d4540f 100644 --- a/.env.development.yh +++ b/.env.development.yh @@ -4,8 +4,8 @@ ENV = 'development.yh' # VITE_APP_BASE_H5_API_Url = 'http://25.18.122.65:7001' -VITE_APP_BASE_H5_API_Url = 'http://25.18.122.91:9786' -# VITE_APP_BASE_H5_API_Url = 'http://25.18.122.78:9786' +# VITE_APP_BASE_H5_API_Url = 'http://25.18.122.91:9786' +VITE_APP_BASE_H5_API_Url = 'http://25.18.122.78:9786' # VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002' # VITE_APP_BASE_H5_API_Url_TRAEXAM = 'http://25.64.32.154:9604' # VITE_APP_BASE_H5_API_Url_TRAPRACTICE = 'http://25.64.32.156:9603' diff --git a/src/components/examination/subject.vue b/src/components/examination/subject.vue index 4ccaf7c6..e7912540 100644 --- a/src/components/examination/subject.vue +++ b/src/components/examination/subject.vue @@ -6,6 +6,9 @@ {{ item.tgtGrade }}分 + + {{ item.answerMethod === '02'? '仅文字回答':item.answerMethod === '03'? '仅语音回答':'不限制回答方式' }} + @@ -518,6 +521,12 @@ color: #333333; text-align: left; } + .answerMethod{ + font-size: 22rpx; + font-family: ArialMT; + color: #999; + text-align: left; + } .right { display: flex; diff --git a/src/pages/course/components/talkingItem.vue b/src/pages/course/components/talkingItem.vue index aad428d1..63115180 100644 --- a/src/pages/course/components/talkingItem.vue +++ b/src/pages/course/components/talkingItem.vue @@ -282,6 +282,10 @@ default: '', type: String }, + answerMethod: { + default: '01', + type: String + }, isLast: { default: false, type: Boolean @@ -332,6 +336,7 @@ ...dataInfo.value, ...(dataInfo.value?.traQnsInfoVo || {}), my_answer: dataInfo.value?.traQnsInfoVo?.anserResult || '', + answerMethod: props.answerMethod, ...(props.type === 5?{ "qnsTyp": "ES", my_answer: dataInfo.value, diff --git a/src/pages/course/study.vue b/src/pages/course/study.vue index 4c87f03b..dcdcc845 100644 --- a/src/pages/course/study.vue +++ b/src/pages/course/study.vue @@ -69,6 +69,7 @@ :voiceRate="chooseRate" :lastQuestionInfo="lastTalkingInfo" :teacherInfo="choiceTeacherInfo" + :answerMethod="answerMethod" @changePlay="changePlayItemId" @nextQuestion="nextQuestionSuccess" @withdraw="withdrawNow"