提交修改

This commit is contained in:
daihh
2023-01-11 15:57:18 +08:00
parent 2631b549ec
commit e395737111
3 changed files with 6 additions and 6 deletions

View File

@@ -156,7 +156,7 @@ export default {
components:{popup,yearMedal},
computed: {
...mapGetters(['userInfo', 'userMsg','identity','studyTaskCount']),
...mapGetters(['userInfo','curIdentity', 'userMsg','identity','studyTaskCount']),
avatarText(){
return userAvatarText(this.userInfo.name);

View File

@@ -49,8 +49,8 @@
<div>
<el-dropdown class="person-action-index" style="margin-left: 44px;">
<span class="el-dropdown-link">
<span v-if="current == 'qa'" style="color: #333;">学员</span>
<span v-else style="color: #fff;">学员</span><i class="el-icon-arrow-down el-icon--right"></i>
<span v-if="current == 'qa'" style="color: #333;">{{curIdentity==3? '管理员':curIdentity==2? '教师':'学员'}}</span>
<span v-else style="color: #fff;">{{curIdentity==3? '管理员':curIdentity==2? '教师':'学员'}}</span><i class="el-icon-arrow-down el-icon--right"></i>
</span>
<el-dropdown-menu slot="dropdown">
@@ -149,7 +149,7 @@ export default {
};
},
computed: {
...mapGetters(['userInfo', 'userMsg','identity']),
...mapGetters(['userInfo', 'userMsg','curIdentity','identity']),
showName: function() {
//console.log('name='+this.name);
//console.log('loginName='+this.loginName);

View File

@@ -904,7 +904,7 @@ export default {
},
getAllChecked(){ //获取全部选中的标签
let list=[];
this.ctypeList.forEach(item=>{
if(item.checked){
list.push(item);
@@ -1185,7 +1185,7 @@ export default {
}
}
.course-image-box:hover{
transform: scale(1.3);
transform: scale(1.3) translateY(-12px);
transition: all 0.6s;
}