|
|
@@ -11,7 +11,7 @@
|
|
|
<view class="h33">
|
|
|
{{ item.courseName }}{{ item.moduleName ? '/' + item.moduleName : '' }}{{ item.chapterName ? '/' + item.chapterName : '' }}{{ item.sectionName }}
|
|
|
</view>
|
|
|
- <view style="display: flex;align-items: center;margin:28rpx 0rpx;" @click="jumpSection(item)">
|
|
|
+ <view style="display: flex;align-items: center;margin:28rpx 0rpx;" @click="jumpSection(item)">
|
|
|
<image style="width: 35rpx;height: 35rpx;" src="@/static/courseIcon.png" mode=""></image>
|
|
|
<text class="timeStys">第{{ item.topicNum }}分钟</text>
|
|
|
<text class="aSty">点击可直接跳转</text>
|
|
|
@@ -20,7 +20,7 @@
|
|
|
<view class="lsow" style="border-bottom: 1rpx solid #eee;margin-top: 10rpx;" v-for="(item, index) in listData.informVo.informExamVo" :key="index">
|
|
|
<view class="h4">{{ item.goodsName }}</view>
|
|
|
<view class="h33">{{ item.moduleName ? '/' + item.moduleName : '' }}{{ item.chapterName ? '/' + item.chapterName : '' }}{{ item.examName }}</view>
|
|
|
- <view style="display: flex;align-items: center;margin:28rpx 0rpx;" @click="jumpExam(item)">
|
|
|
+ <view style="display: flex;align-items: center;margin:28rpx 0rpx;" @click="jumpExam(item)">
|
|
|
<image style="width: 35rpx;height: 35rpx;" src="@/static/examIcon.png" mode=""></image>
|
|
|
<text class="timeStys">第{{ item.topicNum }}道题</text>
|
|
|
<text class="aSty">点击可直接跳转</text>
|
|
|
@@ -66,7 +66,6 @@ export default {
|
|
|
methods: {
|
|
|
//跳转页面
|
|
|
jumpFuns(item) {
|
|
|
-
|
|
|
switch (item.remindId) {
|
|
|
case 1:
|
|
|
case 3:
|
|
|
@@ -78,7 +77,7 @@ export default {
|
|
|
case 22:
|
|
|
this.$navTo.togo('/pages2/wd/course', {
|
|
|
id: item.goodsId,
|
|
|
- gid:item.gradeId
|
|
|
+ gid: item.gradeId
|
|
|
});
|
|
|
// arsty = '立刻学习';
|
|
|
break;
|
|
|
@@ -88,6 +87,11 @@ export default {
|
|
|
id: item.goodsId
|
|
|
});
|
|
|
break;
|
|
|
+ case 24:
|
|
|
+ this.$navTo.togo('/pages2/verify/input2', {
|
|
|
+ id: item.goodsId
|
|
|
+ });
|
|
|
+ break;
|
|
|
case 10:
|
|
|
case 12:
|
|
|
case 18:
|
|
|
@@ -123,21 +127,31 @@ export default {
|
|
|
},
|
|
|
//跳转节视频
|
|
|
jumpSection(item) {
|
|
|
- item.noteSecond = Number(item.topicNum)*60 //转秒数
|
|
|
+ item.noteSecond = Number(item.topicNum) * 60; //转秒数
|
|
|
this.$navTo.togo('/pages2/class/detail', {
|
|
|
id: item.courseId,
|
|
|
goodsId: item.goodsId,
|
|
|
- noteSecond:item.noteSecond,
|
|
|
- sectionId:item.sectionId,
|
|
|
- recordingUrl:item.recordingUrl
|
|
|
+ noteSecond: item.noteSecond,
|
|
|
+ sectionId: item.sectionId,
|
|
|
+ recordingUrl: item.recordingUrl
|
|
|
});
|
|
|
},
|
|
|
//跳转题库题目
|
|
|
jumpExam(item) {
|
|
|
console.log(item);
|
|
|
uni.navigateTo({
|
|
|
- url:'/pages2/bank/questionBank?current='+(item.topicNum-1)+'&id='+item.examId+'&goodsid='+item.goodsId+'&chapterId='+item.moduleId+'&moduleId='+item.moduleId
|
|
|
- })
|
|
|
+ url:
|
|
|
+ '/pages2/bank/questionBank?current=' +
|
|
|
+ (item.topicNum - 1) +
|
|
|
+ '&id=' +
|
|
|
+ item.examId +
|
|
|
+ '&goodsid=' +
|
|
|
+ item.goodsId +
|
|
|
+ '&chapterId=' +
|
|
|
+ item.moduleId +
|
|
|
+ '&moduleId=' +
|
|
|
+ item.moduleId
|
|
|
+ });
|
|
|
},
|
|
|
isOk() {
|
|
|
this.$api.courseappinformUser({ id: this.listData.id, receiptStatus: 1 }).then(res => {
|
|
|
@@ -156,7 +170,7 @@ export default {
|
|
|
getInfo() {
|
|
|
this.$api.getappinformUserId(this.id).then(res => {
|
|
|
if (res.data.code === 200) {
|
|
|
- if (res.data.data.receiptStatus === 1 && (res.data.data.remindId === 2 || res.data.data.remindId === 4)) {
|
|
|
+ if (res.data.data.receiptStatus === 1 && (res.data.data.remindId === 2 || res.data.data.remindId === 4 ||res.data.data.remindId === 24 || res.data.data.remindId === 23)) {
|
|
|
this.$api.getbaseprofiletpgetInfo({ goodsId: res.data.data.goodsId }).then(k => {
|
|
|
if ((k.data.data.status === 3 && k.data.data.changeStatus === 2) || k.data.data.status === 2 || k.data.data.status === 1) {
|
|
|
this.statusGO = false;
|
|
|
@@ -194,6 +208,7 @@ export default {
|
|
|
break;
|
|
|
case 2:
|
|
|
case 4:
|
|
|
+ case 24:
|
|
|
arsty = '马上填写';
|
|
|
break;
|
|
|
case 10:
|