调整个人主页,他们主页,个人中心

This commit is contained in:
daihh
2022-10-23 17:12:18 +08:00
parent e7d407a1eb
commit 75a8bc9310
6 changed files with 94 additions and 73 deletions

View File

@@ -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;