|
@@ -11,10 +11,10 @@
|
|
|
<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;">
|
|
|
+ <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" @click="jumpSection(item)">点击可直接跳转</text>
|
|
|
+ <text class="aSty">点击可直接跳转</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="lsow" style="border-bottom: 1rpx solid #eee;margin-top: 10rpx;" v-for="(item, index) in listData.informVo.informExamVo" :key="index">
|
|
@@ -23,7 +23,7 @@
|
|
|
<view style="display: flex;align-items: center;margin:28rpx 0rpx;">
|
|
|
<image style="width: 35rpx;height: 35rpx;" src="@/static/examIcon.png" mode=""></image>
|
|
|
<text class="timeStys">第{{ item.topicNum }}道题</text>
|
|
|
- <text class="aSty" @click="jumpSection(item)">点击可直接跳转</text>
|
|
|
+ <text class="aSty" @click="jumpExam(item)">点击可直接跳转</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -121,7 +121,14 @@ export default {
|
|
|
},
|
|
|
//跳转节视频
|
|
|
jumpSection(item) {
|
|
|
- console.log(item);
|
|
|
+ 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
|
|
|
+ });
|
|
|
},
|
|
|
//跳转题库题目
|
|
|
jumpExam(item) {
|