产品分化菜单栏调整

This commit is contained in:
joylink_cuiweidong 2019-09-24 13:47:52 +08:00
parent 823eb02b90
commit 589306de80

View File

@ -0,0 +1,37 @@
<template>
<div class="avatar-container" style="left:40px;" v-if="isShow">
<div class="titleInner">长安玖琏</div>
<div class="titleInner" style="margin-left:40px;">城市轨道交通实训平台</div>
</div>
</template>
<script>
import { getSessionStorage } from '@/utils/auth';
export default {
data() {
return {
isShow:false,
};
},
mounted(){
if (getSessionStorage('design')) {
this.isShow=false;
}
else{
this.isShow=true;
}
}
}
</script>
<style lang="scss" scoped>
// .navbar .avatar-container {
// height: 61px;
// display: inline-block;
// position: absolute;
// right: 35px;
// }
.titleInner{
display:inline-block;
color: #fff;
}
</style>