|
|
@@ -69,7 +69,7 @@
|
|
|
</view>
|
|
|
<!-- 课程列表-->
|
|
|
<view v-if="current==0">
|
|
|
- <view @click="jumpDetail" class="list_box" v-for="(item, index) in list1" :key="index">
|
|
|
+ <view @click="jumpDetail(item)" class="list_box" v-for="(item, index) in list1" :key="index">
|
|
|
<image :src="$method.splitImgHost(item.coverUrl)" class="list_img"></image>
|
|
|
<view class="list_content">
|
|
|
<view style="margin-left: 280rpx;margin-top: 10rpx;">
|
|
|
@@ -82,7 +82,7 @@
|
|
|
</view>
|
|
|
<!-- 题库列表-->
|
|
|
<view v-if="current==1">
|
|
|
- <view @click="jumpDetail" class="list_box" v-for="(item, index) in list2" :key="index">
|
|
|
+ <view @click="jumpDetail(item)" class="list_box" v-for="(item, index) in list2" :key="index">
|
|
|
<image :src="$method.splitImgHost(item.coverUrl)" class="list_img"></image>
|
|
|
<view class="list_content">
|
|
|
<view style="margin-left: 280rpx;margin-top: 10rpx;">
|
|
|
@@ -94,8 +94,8 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 重点列表-->
|
|
|
- <view v-if="current==2">
|
|
|
- <view @click="jumpDetail" class="list_box" v-for="(item, index) in list3" :key="index">
|
|
|
+ <view v-if="current==2">
|
|
|
+ <view @click="jumpDetail(item)" class="list_box" v-for="(item, index) in list3" :key="index">
|
|
|
<image :src="$method.splitImgHost(item.coverUrl)" class="list_img"></image>
|
|
|
<view class="list_content">
|
|
|
<view style="margin-left: 280rpx;margin-top: 10rpx;">
|
|
|
@@ -246,7 +246,7 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- jumpDetail() {
|
|
|
+ jumpDetail(item) {
|
|
|
if (this.current == 0) {
|
|
|
this.$navTo.togo('/pages2/course/detail', {});
|
|
|
return;
|
|
|
@@ -256,7 +256,9 @@ export default {
|
|
|
return;
|
|
|
}
|
|
|
if (this.current == 2) {
|
|
|
- this.$navTo.togo('/pages2/course/keynote', {});
|
|
|
+ this.$navTo.togo('/pages2/course/keynote', {
|
|
|
+ id:item.fileId
|
|
|
+ });
|
|
|
return;
|
|
|
}
|
|
|
},
|