Commit a5b89663 authored by Mac's avatar Mac

1

parent 3afc5849
......@@ -10,7 +10,7 @@
enable-play-gesture='true'
></video>
<view v-if="selectcourse.Type!=1" class="studyimg">
<swiper
<!-- <swiper
indicator-dots
:autoplay="true"
:interval="5000"
......@@ -21,7 +21,8 @@
<image @click="previewImage(index)" v-if="item.Path" style="width:100%;height:100%;" :src="item.Path" mode=""></image>
</swiper-item>
</block>
</swiper>
</swiper> -->
<image @click="previewImage(index)" style="width:100%;height:100%;" :src="selectcourse.ImageList[0].Path" mode=""></image>
</view>
</view>
......@@ -184,7 +185,7 @@
this.courseList[this.index].ImageList.forEach((x) => {
this.img.push(x.Path);
});
this.selectcourse.ImageList = this.selectcourse.ImageList.splice(0,8)
this.setMyCourseStudyOK()//课程已阅读
}
);
......@@ -228,7 +229,7 @@
item.ImageList.forEach((x) => {
this.img.push(x.Path);
});
this.selectcourse.ImageList = this.selectcourse.ImageList.splice(0,8);
console.log('进入',this.selectcourse.ImageList)
this.setMyCourseStudyOK()//在换章节的时候标记
}else{
let that =this
......@@ -273,7 +274,7 @@
item.ImageList.forEach((x) => {
this.img.push(x.Path);
});
this.selectcourse.ImageList = this.selectcourse.ImageList.splice(0,8)
this.setMyCourseStudyOK()//在换章节的时候标记
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment