diff --git a/src/pages.json b/src/pages.json index 14e3fd4..70aaede 100644 --- a/src/pages.json +++ b/src/pages.json @@ -134,6 +134,11 @@ "style": { "navigationBarTitleText": "课程答题" } + },{ + "path": "pages/quiz_outclass/selectquestion", + "style": { + "navigationBarTitleText": "课程答题" + } } ], "tabBar": { diff --git a/src/pages/exam/selectexam.vue b/src/pages/exam/selectexam.vue new file mode 100644 index 0000000..5df1df6 --- /dev/null +++ b/src/pages/exam/selectexam.vue @@ -0,0 +1,214 @@ + + + + + + {{ question.name }} + + + 教师:{{ question.teaname}} + 时间:{{ moment(question.starttime).format('YYYY-MM-DD HH:mm:ss') }} - {{ moment(question.endtime).format('YYYY-MM-DD HH:mm:ss') }} + + + + 共{{question.tmlist? JSON.parse(question.tmlist).length:0 }}分 + 总分:{{ question.print }} + + + + + + + + + diff --git a/src/pages/learning/learning.vue b/src/pages/learning/learning.vue index 79a20ea..2f97f72 100644 --- a/src/pages/learning/learning.vue +++ b/src/pages/learning/learning.vue @@ -66,7 +66,7 @@ { name: '答题', icon: '/static/student-course/quiz.png', - page: '/pages/quiz_outclass/quiz_outclass?uuid=b2d2ece7-2994-4580-b45d-b2288ecd80de' + page: '/pages/quiz_outclass/selectquestion' }, { name: '考试', diff --git a/src/pages/quiz_outclass/quiz_outclass.vue b/src/pages/quiz_outclass/quiz_outclass.vue index 9d5f155..89bd630 100644 --- a/src/pages/quiz_outclass/quiz_outclass.vue +++ b/src/pages/quiz_outclass/quiz_outclass.vue @@ -1,33 +1,94 @@ + - {{ currentQuestion.lx }} ({{ currentQuestion.score }} 分) + {{ quizData[activeIndex].tname}} ({{ JSON.parse(quizData[activeIndex].information).df }} 分) 答题卡 - + + {{ moment.utc(totaltime * 1000).format('hh:mm:ss')}} + - + + - {{ question.text }} - + + {{question.leixing}} - - - - - {{ option.text }} - - - + + + + + {{zm[index_choose]}} + + + + + + + + + + + {{zm[index_choose]}} + + + + + + + + + + {{index_tkx+1}} + + {tkt_one(val.detail.value,index_tkx);}" type="text" class="tkt-input" /> + {{item_choose.print}}分 + + + + + + + + √ + + + + + + + + × + + + + + + @@ -37,22 +98,92 @@ 第 {{ key + 1 }} 题:{{ res ? '✅ 正确' : '❌ 错误' }} + + + 本题得分:{{ quizData[activeIndex].stuprint }} + + 我的答案:{{quizData[activeIndex].duoxuexiang.sort().join(",") }} + 正确答案:{{JSON.parse(quizData[activeIndex].information).daan.sort().join(",") }} + + + 我的答案:{{quizData[activeIndex].xuexiang }} + 正确答案:{{JSON.parse(quizData[activeIndex].information).daan }} + + + 我的答案:{{quizData[activeIndex].xuexiang }} + 正确答案:{{JSON.parse(quizData[activeIndex].information).daan }} + + - - - - 第 {{ index + 1 }} 题 - - {{ userAnswers[question.id] || '未作答' }} - + + 我的答案:{{quizData[activeIndex].tk[index_tkx]}} + 正确答案:{{item_choose.daan }} + + + + - - - 本题得分:{{ score }} - 正确答案:{{ correctAnswer }} + + + + + 刘东阳 + 202413501062 + + + 作业得分 + 100 + /100 + + + + + + 题目列表 + + + + + + + {{ index + 1 }} + + + + + + + + {{ index + 1 }} + + + + + + + + + {{ index + 1 }} + + + + + + + + + 返回答题 + + + + + + + + @@ -60,46 +191,23 @@ 提交答案 下一题 - + + diff --git a/src/pages/quiz_outclass/selectquestion.vue b/src/pages/quiz_outclass/selectquestion.vue new file mode 100644 index 0000000..5df1df6 --- /dev/null +++ b/src/pages/quiz_outclass/selectquestion.vue @@ -0,0 +1,214 @@ + + + + + + {{ question.name }} + + + 教师:{{ question.teaname}} + 时间:{{ moment(question.starttime).format('YYYY-MM-DD HH:mm:ss') }} - {{ moment(question.endtime).format('YYYY-MM-DD HH:mm:ss') }} + + + + 共{{question.tmlist? JSON.parse(question.tmlist).length:0 }}分 + 总分:{{ question.print }} + + + + + + + + +