调整课程学习页面,右边控制参数

This commit is contained in:
daihh
2022-10-22 17:58:49 +08:00
parent e60545f9ab
commit 78bae07544

View File

@@ -176,7 +176,7 @@
<div class="cteacher-list"> <div class="cteacher-list">
<div class="teacher" v-for="(item, idx) in teachers" :key="idx"> <div class="teacher" v-for="(item, idx) in teachers" :key="idx">
<div class="teacher-avator"> <div class="teacher-avator" @click="toUserHome(item)" title="点击进入他的主页">
<!-- <div class="teacher-text" v-if="item.authorInfo.avatar == ''">{{userAvatarText(item.teacherName)}}</div> --> <!-- <div class="teacher-text" v-if="item.authorInfo.avatar == ''">{{userAvatarText(item.teacherName)}}</div> -->
<div v-if="item.authorInfo.avatar !== ''"> <div v-if="item.authorInfo.avatar !== ''">
<el-avatar :src="fileBaseUrl + item.authorInfo.avatar" shape="circle" :size="50"></el-avatar> <el-avatar :src="fileBaseUrl + item.authorInfo.avatar" shape="circle" :size="50"></el-avatar>
@@ -381,6 +381,9 @@
} }
}, },
methods: { methods: {
toUserHome(tea){
this.$router.push({path:this.$xpage.getHomePath(tea.teacherId)})
},
noteChange(){ noteChange(){
//视频点定位,直接到播放的视频位置 //视频点定位,直接到播放的视频位置
this.timer = new Date().getTime() this.timer = new Date().getTime()
@@ -1371,15 +1374,14 @@
.course-player{ //内容播放区域 .course-player{ //内容播放区域
flex:1; flex:1;
min-width: 700px; min-width: 700px;
min-height: 381px; min-height: 600px;
height: 100%; height: 100%;
border: 1px solid #ffffff; border: 1px solid #ffffff;
padding-right: 20px; padding-right: 20px;
overflow: auto; overflow: auto;
} }
.course-control{ //内容控制区域 .course-control{ //内容控制区域
min-width: 400px; width: 420px;
width: 35%;
} }
} }
.course-infobox { .course-infobox {
@@ -1395,8 +1397,7 @@
padding-right: 20px; padding-right: 20px;
} }
.course-teacher{ .course-teacher{
min-width: 400px; width: 420px;
width: 35%;
} }
} }
} }
@@ -1860,6 +1861,7 @@
border-top: none; border-top: none;
padding: 10px 0px; padding: 10px 0px;
.teacher-avator { .teacher-avator {
cursor: pointer;
::v-deep .el-avatar { ::v-deep .el-avatar {
width: 60px !important; width: 60px !important;
height: 60px !important; height: 60px !important;