diff --git a/App.vue b/App.vue index 3633f12..21ce195 100644 --- a/App.vue +++ b/App.vue @@ -26,7 +26,7 @@ onLaunch: function(e) { // 检测自动更新 // #ifdef APP-PLUS - updata(); + // updata(); // #endif uni.getSystemInfo({ diff --git a/config/baseUrl.js b/config/baseUrl.js index cf9a6a3..647c20e 100644 --- a/config/baseUrl.js +++ b/config/baseUrl.js @@ -6,9 +6,9 @@ if (process.env.NODE_ENV === 'development') { // socketUrl = "ws://localhost:6001/"; // baseUrl = "https://twin-ui.com/demo/"; // baseUrl = "https://testapi.nuttyreading.com/"; // 线上测试环境 - // baseUrl = "https://api.nuttyreading.com/"; // 线上正式 + baseUrl = "https://api.nuttyreading.com/"; // 线上正式 // baseUrl = "http://192.168.110.110:9200/pb/"; // 磊哥 - baseUrl = "http://192.168.110.100:9200/pb/"; // 开发用电脑 + // baseUrl = "http://192.168.110.100:9200/pb/"; // 开发用电脑 // baseUrl = "http://59.110.212.44:9200/pb/"; // baseUrl = "http://192.168.110.100:9100/pb/"; // 开发用电脑 // baseUrl = "http://192.168.110.110:9200/pb/"; diff --git a/pages/course/courseDetail.vue b/pages/course/courseDetail.vue index 4298424..b96490c 100644 --- a/pages/course/courseDetail.vue +++ b/pages/course/courseDetail.vue @@ -4,7 +4,7 @@ - + - + @@ -51,113 +51,151 @@ - - {{ isHideCourseInfo ? "展开" : "收起" }} - + "> + {{ isHideCourseInfo ? "展开" : "收起" }} + + - - - - - 课程学习进度大于等于70%时,您可以参与本门课程的自考考试,考试成绩大于60分即可获得本门课程的B级证书,如您想获得本门课程的A级证书可参加小班教学 - - - - 第{{index + 1}}次自考成绩 - {{item.score}}分 - - - 查看试卷 + > --> + 查看试卷 + + + + {{zhedieTestRecode ? '收起' : '展开'}} - - {{zhedieTestRecode ? '收起' : '展开'}} + + + + + + 恭喜!您已通过自考考试获得本门课程的自考证书,如您想获得本门课程的A级或B级证书可参加小班教学 + - - 恭喜!您已通过自考考试获得本门课程的B级证书,如您想获得本门课程的A级证书可参加小班教学 - - - - - @@ -223,8 +226,6 @@ checkAnswer(id){ if (res.code == 0) { // that.isHave = true var subOptions = JSON.parse(res.examPaper.subject) - - subOptions.forEach(item => { var code = 0 item.options.forEach(item1 => { @@ -236,6 +237,7 @@ checkAnswer(id){ this.questionList = subOptions this.testPaper = res.examPaper + console.log('试卷信息', this.testPaper); this.answerIdsList = JSON.parse(res.examPaper.answer) var newList = JSON.parse(res.examPaper.answer) newList = newList.map(item => { diff --git a/pages/miniClass/test.vue b/pages/miniClass/test.vue index f5095a5..7c9e86f 100644 --- a/pages/miniClass/test.vue +++ b/pages/miniClass/test.vue @@ -32,7 +32,7 @@ - 剩余时间: + 剩余时间: - 剩余时间: + 剩余时间: