Commit ddee382d authored by zhengke's avatar zhengke

1

parent 88d819cd
<style scoped>
.studyCourse {
/* width: 100%; */
height: 100vh;
/* height: 100vh; */
background: #F5F5F5;
padding: 32rpx;
box-sizing: border-box;
......@@ -27,7 +27,8 @@
min-height: 89vh;
background-color: #FFFFFF;
border-radius: 24rpx;
margin-top: 32rpx;
margin-top: 30rpx;
overflow: hidden;
}
.Course_List {
......
......@@ -436,7 +436,7 @@
InfoData:null,
current:0,
loading:false,//获取视频加载中
checkIndex:0
})
let methods = {
getCourseList() {
......@@ -469,6 +469,7 @@
},
selectedBanner(index){//切换轮播图的时候 调取接口
data.checkIndex = index;
data.CourseInfoMsg.ClassId = data.CourseList[index].ClassId;
that.getCourseInfo()
},
......@@ -526,10 +527,10 @@
},
gourl(){//学习列表
let ClassId = data.CourseList[data.current].ClassId;
let CourseId = data.CourseList[data.current].CourseId;
let CourseName = data.CourseList[data.current].CourseName;
let TotalHours = data.CourseList[data.current].TotalHours;
let ClassId = data.CourseList[data.checkIndex].ClassId;
let CourseId = data.CourseList[data.checkIndex].CourseId;
let CourseName = data.CourseList[data.checkIndex].CourseName;
let TotalHours = data.CourseList[data.checkIndex].TotalHours;
uni.navigateTo({
url:'/pages/study/courseList?ClassId='+ClassId+'&CourseId='+CourseId+'&CourseName='+CourseName+'&TotalHours='+TotalHours
})
......
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