<template>
|
<div class="avue-logo">
|
<transition name="fade">
|
<span v-if="getScreen(isCollapse)" class="avue-logo_subtitle" key="0">
|
<!-- {{ website.logo }}-->
|
<img v-if="!hideMenuTopLogo" class="logoImg" src="/img/bg/mainLogo.png" alt=""/>
|
</span>
|
</transition>
|
<transition-group name="fade">
|
<template v-if="getScreen(!isCollapse)">
|
<div class="fadeStyle">
|
<img v-if="!hideMenuTopLogo" class="logoImg" src="/img/bg/mainLogo.png" alt=""/>
|
<div class="titleName">综合管理平台</div>
|
<!-- <span style="font-size: 20px;" key="1">
|
{{ this.parentDeptInfo.sysName }}
|
</span> -->
|
</div>
|
</template>
|
</transition-group>
|
</div>
|
</template>
|
|
<script>
|
import { mapGetters } from 'vuex';
|
import getBaseConfig from '@/buildConfig/config';
|
const { hideMenuTopLogo } = getBaseConfig()
|
export default {
|
name: 'logo',
|
data() {
|
return {
|
hideMenuTopLogo
|
};
|
},
|
created() {},
|
computed: {
|
...mapGetters(['isCollapse']),
|
...mapGetters(['userInfo']),
|
...mapGetters(['parentDeptInfo']),
|
},
|
methods: {},
|
};
|
</script>
|
<style scoped lang="scss">
|
.avue-logo{
|
box-shadow: none;
|
}
|
.avue-logo_subtitle{
|
.logoImg{
|
width: 80%;
|
}
|
}
|
.fadeStyle {
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
gap: 5px;
|
.logoImg{
|
width: 50px;
|
height: 20px;
|
}
|
.titleName{
|
font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
|
font-weight: 400;
|
font-size: 24px;
|
color: #1C5CFF;
|
}
|
}
|
</style>
|