diff --git a/pages/study/courseStudy.vue b/pages/study/courseStudy.vue index 6f88b4d..49c6b27 100644 --- a/pages/study/courseStudy.vue +++ b/pages/study/courseStudy.vue @@ -10,85 +10,138 @@ - - 简介 - 评论 - - - - - {{courseInfo.name}} - 通用力 - 职场技能 + + + 简介 + 评论 - + + + + {{courseInfo.name}} + 通用力 + 职场技能 + + + + 目标人群:所有群体 + + 200+人学习 + + + + 讲师:李玉冰(显示事件) + + +关注 + + + + 课程评分: + + 4.9 + + + + 目录 + 全部> + - 目标人群:所有群体 - - 200+人学习 - - - - 讲师:李玉冰(显示事件) - - +关注 - - - - 课程评分: - - 4.9 - - - - 目录 - 全部> - - - - - - - - {{con.cataName}} - - - - - {{con.contentName}} - - + + + + {{con.cataName}} + - 未开始 - 进行中 - 已完成 - --> + + + {{con.contentName}} + + + + + + + + + + + + + 评价 + + + + + + + 收藏 + + + + + + 转发 + + + + + + + + + + + + + 目录 + × + + + + + + + + {{cata.section.name}} + + + 未开始 + 进行中 + 已完成 + + + + + + + + {{con.contentName}} + + + 未开始 + 进行中 + 已完成 - - - - - - - 图标 - 评价 - - - 图标 - 收藏 - - - 图标 - 转发 + + + @@ -98,6 +151,32 @@ 课程推荐 + + + + + + 课程详情 + + + 暂无 + + + + + + + + + 给课程打分 + + + + + + + + @@ -124,6 +203,9 @@ courseInfo:{id:'',name:''},//课程信息 teachers:[],//课程老师列表 recommendCourses:[],//推荐课程列表 + catalogShow:false,//是否显示目录 + tabIndex:1,//显示的tab内容 + isPlaying:false, onplay:false, touchNum : 0, @@ -448,6 +530,17 @@ } }) }, + changeTab(idx){ + this.tabIndex=idx; + }, + showAllCatalog(){ + this.catalogShow=true; + //定位目录 + }, + closeAllCatalog(){ + this.catalogShow=false; + //定位目录 + } } } @@ -526,4 +619,43 @@ } } } + .catalog{ + background: #FFFFFF; + padding:20upx; + .catalog-sec{ + display: flex; + justify-content: space-between; + // border-bottom: 2upx solid #FAFAFA; + // padding:20upx; + line-height: 40upx; + .catalog-sec-name{ + max-width: 90%; + font-weight: 600; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } + } + .catalog-con{ + display: flex; + justify-content: space-between; + padding:10upx; + padding-right: 0; + padding-left: 30rpx; + line-height: 40upx; + .square-border{ + display: inline-block; + border:1px solid; + padding: 4upx 6upx; + font-size: 0.8em; + margin: 0upx 8upx; + } + .catalog-con-name{ + padding-left: 0upx; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } + } + } \ No newline at end of file diff --git a/static/images/course/c_comment.png b/static/images/course/c_comment.png new file mode 100644 index 0000000..9651ba4 Binary files /dev/null and b/static/images/course/c_comment.png differ diff --git a/static/images/course/c_favorite.png b/static/images/course/c_favorite.png new file mode 100644 index 0000000..0958a98 Binary files /dev/null and b/static/images/course/c_favorite.png differ diff --git a/static/images/course/c_favorite_2.png b/static/images/course/c_favorite_2.png new file mode 100644 index 0000000..3eeb84e Binary files /dev/null and b/static/images/course/c_favorite_2.png differ diff --git a/static/images/course/c_share.png b/static/images/course/c_share.png new file mode 100644 index 0000000..390a079 Binary files /dev/null and b/static/images/course/c_share.png differ