Commit a5b89663 authored by Mac's avatar Mac

1

parent 3afc5849
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
enable-play-gesture='true' enable-play-gesture='true'
></video> ></video>
<view v-if="selectcourse.Type!=1" class="studyimg"> <view v-if="selectcourse.Type!=1" class="studyimg">
<swiper <!-- <swiper
indicator-dots indicator-dots
:autoplay="true" :autoplay="true"
:interval="5000" :interval="5000"
...@@ -21,7 +21,8 @@ ...@@ -21,7 +21,8 @@
<image @click="previewImage(index)" v-if="item.Path" style="width:100%;height:100%;" :src="item.Path" mode=""></image> <image @click="previewImage(index)" v-if="item.Path" style="width:100%;height:100%;" :src="item.Path" mode=""></image>
</swiper-item> </swiper-item>
</block> </block>
</swiper> </swiper> -->
<image @click="previewImage(index)" style="width:100%;height:100%;" :src="selectcourse.ImageList[0].Path" mode=""></image>
</view> </view>
</view> </view>
...@@ -184,7 +185,7 @@ ...@@ -184,7 +185,7 @@
this.courseList[this.index].ImageList.forEach((x) => { this.courseList[this.index].ImageList.forEach((x) => {
this.img.push(x.Path); this.img.push(x.Path);
}); });
this.selectcourse.ImageList = this.selectcourse.ImageList.splice(0,8)
this.setMyCourseStudyOK()//课程已阅读 this.setMyCourseStudyOK()//课程已阅读
} }
); );
...@@ -228,7 +229,7 @@ ...@@ -228,7 +229,7 @@
item.ImageList.forEach((x) => { item.ImageList.forEach((x) => {
this.img.push(x.Path); this.img.push(x.Path);
}); });
this.selectcourse.ImageList = this.selectcourse.ImageList.splice(0,8); console.log('进入',this.selectcourse.ImageList)
this.setMyCourseStudyOK()//在换章节的时候标记 this.setMyCourseStudyOK()//在换章节的时候标记
}else{ }else{
let that =this let that =this
...@@ -273,7 +274,7 @@ ...@@ -273,7 +274,7 @@
item.ImageList.forEach((x) => { item.ImageList.forEach((x) => {
this.img.push(x.Path); this.img.push(x.Path);
}); });
this.selectcourse.ImageList = this.selectcourse.ImageList.splice(0,8)
this.setMyCourseStudyOK()//在换章节的时候标记 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