修复logo
This commit is contained in:
parent
a397dabe5d
commit
36dbc77003
|
|
@ -6,14 +6,14 @@
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
.logo{
|
.logo{
|
||||||
|
height: 64px;
|
||||||
position: relative;
|
position: relative;
|
||||||
line-height: 64px;
|
line-height: 64px;
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
-webkit-transition: all .3s;
|
-webkit-transition: all .3s;
|
||||||
transition: all .3s;
|
transition: all .3s;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background-color: @layout-trigger-background;
|
// background-color: @layout-trigger-background;
|
||||||
|
|
||||||
&.light{
|
&.light{
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
|
@ -29,9 +29,9 @@
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
img{
|
img{
|
||||||
width: 50px;
|
max-width: 45px;
|
||||||
|
max-height: 40px;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
// 调整明度为100
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@
|
||||||
<!-- 如果是手机端 -->
|
<!-- 如果是手机端 -->
|
||||||
<router-link v-if="isMobile || layout === 'head'" to="/dashboard/workplace" :class="['logo', isMobile ? null : 'pc', headerTheme]">
|
<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>
|
<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>
|
<h1 v-if="company.company_info.name">{{company.company_info.name}}</h1>
|
||||||
</router-link>
|
</router-link>
|
||||||
<a-divider v-if="isMobile" type="vertical" />
|
<a-divider v-if="isMobile" type="vertical" />
|
||||||
|
|
|
||||||
|
|
@ -25,8 +25,14 @@ const view = {
|
||||||
},
|
},
|
||||||
workplace: {
|
workplace: {
|
||||||
name: '工作台',
|
name: '工作台',
|
||||||
|
icon: 'idcard',
|
||||||
component: () => import('@/pages/dashboard/workplace')
|
component: () => import('@/pages/dashboard/workplace')
|
||||||
},
|
},
|
||||||
|
Middle: {
|
||||||
|
name: '中台管理',
|
||||||
|
icon: 'idcard',
|
||||||
|
component: view.blank
|
||||||
|
},
|
||||||
analysis: {
|
analysis: {
|
||||||
name: '分析页',
|
name: '分析页',
|
||||||
component: () => import('@/pages/dashboard/analysis')
|
component: () => import('@/pages/dashboard/analysis')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue