mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-20 08:16:44 +08:00
调整个人主页,他们主页,个人中心
This commit is contained in:
@@ -108,7 +108,7 @@
|
||||
<div class="top">授课讲师</div>
|
||||
<div>
|
||||
<div class="teacher" v-for="(item, idx) in teachers" :key="idx" >
|
||||
<div class="teacher-avator">
|
||||
<div class="teacher-avator" style="cursor: pointer;" @click="toUserHome(item)">
|
||||
<el-avatar v-if="item.avatar !=='' " :src="item.avatar" shape="circle" :size="50"></el-avatar>
|
||||
<div class="teacher-text" v-if="item.sex !== null && item.avatar ==''">
|
||||
<div v-if="item.sex === 1 "><img src="../../../../public/images/Avatarman.png" alt=""></div>
|
||||
@@ -247,6 +247,9 @@ export default {
|
||||
getSysTypeTree:'sysType/getSysTypeTree',
|
||||
loadSysTypes:'sysType/loadSysTypes'
|
||||
}),
|
||||
toUserHome(tea){
|
||||
this.$router.push({path:this.$xpage.getHomePath(tea.teacherId)})
|
||||
},
|
||||
showQrimage(){
|
||||
let urlPre=window.location.protocol+'//'+window.location.host;
|
||||
let returnUrl='https://u.boe.com/mobile/pages/login/loading?returnUrl=/pages/resource/courseDetail?id='+this.courseInfo.id;
|
||||
|
||||
Reference in New Issue
Block a user