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:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user