Commit ddee382d authored by zhengke's avatar zhengke

1

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