mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 02:46:44 +08:00
调整课程学习页面,右边控制参数
This commit is contained in:
@@ -176,7 +176,7 @@
|
||||
|
||||
<div class="cteacher-list">
|
||||
<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 v-if="item.authorInfo.avatar !== ''">
|
||||
<el-avatar :src="fileBaseUrl + item.authorInfo.avatar" shape="circle" :size="50"></el-avatar>
|
||||
@@ -381,6 +381,9 @@
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
toUserHome(tea){
|
||||
this.$router.push({path:this.$xpage.getHomePath(tea.teacherId)})
|
||||
},
|
||||
noteChange(){
|
||||
//视频点定位,直接到播放的视频位置
|
||||
this.timer = new Date().getTime()
|
||||
@@ -479,7 +482,7 @@
|
||||
setTimeout(() => {
|
||||
$this.$refs.myVideoPlayer.startPlay(time);
|
||||
}, 10)
|
||||
|
||||
|
||||
console.log('开始播放2');
|
||||
}else{
|
||||
this.$message.error('资源已不存在或更换过,已无法定位');
|
||||
@@ -1371,15 +1374,14 @@
|
||||
.course-player{ //内容播放区域
|
||||
flex:1;
|
||||
min-width: 700px;
|
||||
min-height: 381px;
|
||||
min-height: 600px;
|
||||
height: 100%;
|
||||
border: 1px solid #ffffff;
|
||||
padding-right: 20px;
|
||||
overflow: auto;
|
||||
}
|
||||
.course-control{ //内容控制区域
|
||||
min-width: 400px;
|
||||
width: 35%;
|
||||
width: 420px;
|
||||
}
|
||||
}
|
||||
.course-infobox {
|
||||
@@ -1395,8 +1397,7 @@
|
||||
padding-right: 20px;
|
||||
}
|
||||
.course-teacher{
|
||||
min-width: 400px;
|
||||
width: 35%;
|
||||
width: 420px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1860,6 +1861,7 @@
|
||||
border-top: none;
|
||||
padding: 10px 0px;
|
||||
.teacher-avator {
|
||||
cursor: pointer;
|
||||
::v-deep .el-avatar {
|
||||
width: 60px !important;
|
||||
height: 60px !important;
|
||||
|
||||
Reference in New Issue
Block a user