diff --git a/src/project/qujing/AppLegalLearning/classDetail.vue b/src/project/qujing/AppLegalLearning/classDetail.vue index bddc048..ababd0c 100644 --- a/src/project/qujing/AppLegalLearning/classDetail.vue +++ b/src/project/qujing/AppLegalLearning/classDetail.vue @@ -123,9 +123,24 @@ export default { this.$u.toast(err.msg) }) }, + stop() { + this.$instance.post(`/app/appcourseinfo/stopLearnById`,null,{ + params: { + id: this.data.id, + recordId: this.data.recordId + } + }).then(res=> { + if(res.code==0) { + console.log(res.msg); + } + }).catch(err=> this.$u.toast(err.msg)) + }, keyboard(e) { console.log(e.detail.height); } + }, + onUnload() { + this.stop() } } diff --git a/src/project/qujing/AppLegalLearning/testForm.vue b/src/project/qujing/AppLegalLearning/testForm.vue index f5966f6..4eda307 100644 --- a/src/project/qujing/AppLegalLearning/testForm.vue +++ b/src/project/qujing/AppLegalLearning/testForm.vue @@ -12,28 +12,21 @@
-
{{ item.title }}
- -
- -
- {{ opt.sort }}: {{ opt.content}} +
{{ item.title }}{{score}}
+ +
+
+ {{ opt.sort }}: {{ opt.content}}
- {{ opt.sort }}: {{ opt.content}} -
-
- -
-
- {{ opt.sort }}: {{ opt.content}} + {{ opt.sort }}: {{ opt.content}} {{opt.isChecked}}
@@ -52,11 +45,15 @@
下一题
确定
+
提交
+
+