mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 19:36:43 +08:00
提交修改
This commit is contained in:
@@ -156,7 +156,7 @@ export default {
|
|||||||
|
|
||||||
components:{popup,yearMedal},
|
components:{popup,yearMedal},
|
||||||
computed: {
|
computed: {
|
||||||
...mapGetters(['userInfo', 'userMsg','identity','studyTaskCount']),
|
...mapGetters(['userInfo','curIdentity', 'userMsg','identity','studyTaskCount']),
|
||||||
|
|
||||||
avatarText(){
|
avatarText(){
|
||||||
return userAvatarText(this.userInfo.name);
|
return userAvatarText(this.userInfo.name);
|
||||||
|
|||||||
@@ -49,8 +49,8 @@
|
|||||||
<div>
|
<div>
|
||||||
<el-dropdown class="person-action-index" style="margin-left: 44px;">
|
<el-dropdown class="person-action-index" style="margin-left: 44px;">
|
||||||
<span class="el-dropdown-link">
|
<span class="el-dropdown-link">
|
||||||
<span v-if="current == 'qa'" style="color: #333;">学员</span>
|
<span v-if="current == 'qa'" style="color: #333;">{{curIdentity==3? '管理员':curIdentity==2? '教师':'学员'}}</span>
|
||||||
<span v-else style="color: #fff;">学员</span><i class="el-icon-arrow-down el-icon--right"></i>
|
<span v-else style="color: #fff;">{{curIdentity==3? '管理员':curIdentity==2? '教师':'学员'}}</span><i class="el-icon-arrow-down el-icon--right"></i>
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
<el-dropdown-menu slot="dropdown">
|
<el-dropdown-menu slot="dropdown">
|
||||||
@@ -149,7 +149,7 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...mapGetters(['userInfo', 'userMsg','identity']),
|
...mapGetters(['userInfo', 'userMsg','curIdentity','identity']),
|
||||||
showName: function() {
|
showName: function() {
|
||||||
//console.log('name='+this.name);
|
//console.log('name='+this.name);
|
||||||
//console.log('loginName='+this.loginName);
|
//console.log('loginName='+this.loginName);
|
||||||
|
|||||||
@@ -904,7 +904,7 @@ export default {
|
|||||||
},
|
},
|
||||||
getAllChecked(){ //获取全部选中的标签
|
getAllChecked(){ //获取全部选中的标签
|
||||||
let list=[];
|
let list=[];
|
||||||
|
|
||||||
this.ctypeList.forEach(item=>{
|
this.ctypeList.forEach(item=>{
|
||||||
if(item.checked){
|
if(item.checked){
|
||||||
list.push(item);
|
list.push(item);
|
||||||
@@ -1185,7 +1185,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.course-image-box:hover{
|
.course-image-box:hover{
|
||||||
transform: scale(1.3);
|
transform: scale(1.3) translateY(-12px);
|
||||||
transition: all 0.6s;
|
transition: all 0.6s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user