修复logo
This commit is contained in:
parent
a397dabe5d
commit
36dbc77003
|
|
@ -6,14 +6,14 @@
|
|||
overflow-y: auto;
|
||||
z-index: 10;
|
||||
.logo{
|
||||
|
||||
height: 64px;
|
||||
position: relative;
|
||||
line-height: 64px;
|
||||
padding-left: 10px;
|
||||
-webkit-transition: all .3s;
|
||||
transition: all .3s;
|
||||
overflow: hidden;
|
||||
background-color: @layout-trigger-background;
|
||||
// background-color: @layout-trigger-background;
|
||||
|
||||
&.light{
|
||||
background-color: #fff;
|
||||
|
|
@ -29,9 +29,9 @@
|
|||
vertical-align: middle;
|
||||
}
|
||||
img{
|
||||
width: 50px;
|
||||
max-width: 45px;
|
||||
max-height: 40px;
|
||||
vertical-align: middle;
|
||||
// 调整明度为100
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@
|
|||
<!-- 如果是手机端 -->
|
||||
<router-link v-if="isMobile || layout === 'head'" to="/dashboard/workplace" :class="['logo', isMobile ? null : 'pc', headerTheme]">
|
||||
|
||||
<img width="80" v-if="!company.company_info.logo" :src="project.project_logo">
|
||||
<img height="38" style="margin-right:10px;" v-if="!company.company_info.logo" :src="project.project_logo">
|
||||
<h1 v-if="!company.company_info.name">{{project.project_name}}</h1>
|
||||
<img width="80" style="margin-right:5px;" v-if="company.company_info.logo" :src="company.company_info.logo">
|
||||
<img height="38" style="margin-right:10px;" v-if="company.company_info.logo" :src="company.company_info.logo">
|
||||
<h1 v-if="company.company_info.name">{{company.company_info.name}}</h1>
|
||||
</router-link>
|
||||
<a-divider v-if="isMobile" type="vertical" />
|
||||
|
|
|
|||
|
|
@ -25,8 +25,14 @@ const view = {
|
|||
},
|
||||
workplace: {
|
||||
name: '工作台',
|
||||
icon: 'idcard',
|
||||
component: () => import('@/pages/dashboard/workplace')
|
||||
},
|
||||
Middle: {
|
||||
name: '中台管理',
|
||||
icon: 'idcard',
|
||||
component: view.blank
|
||||
},
|
||||
analysis: {
|
||||
name: '分析页',
|
||||
component: () => import('@/pages/dashboard/analysis')
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ const customTitles = (customTitlesStr && JSON.parse(customTitlesStr)) || []
|
|||
|
||||
export default {
|
||||
namespaced: true, // 命名空间
|
||||
state: { // 状态
|
||||
state: { // 状态
|
||||
isMobile: false, // 是否是移动端
|
||||
animates: ADMIN.animates, // 动画
|
||||
palettes: ADMIN.palettes, // 主题
|
||||
|
|
|
|||
Loading…
Reference in New Issue