feat:修改logo,修改页面resize的报错 以及asset列的长度

This commit is contained in:
zhangyu
2020-10-29 16:43:49 +08:00
parent 6d30bbc342
commit 530cf1aabb
5 changed files with 26 additions and 4 deletions

View File

@@ -1,6 +1,9 @@
<template>
<div class="header">
<div class="logo link" @click="jumpTo('/overview')"><img height="45" src="../../assets/img/logo.png"/></div>
<div class="logo link" @click="jumpTo('/overview')">
<img height="28" src="../../assets/img/logo1-2.png"/>
<span class="header-system-name">{{systemName&&systemName != 'undefined'&&systemName != null?systemName: $t('dashboard.overview.contentTitle')}}</span>
</div>
<el-menu
class="nz-menu float-right"
mode="horizontal"
@@ -192,7 +195,7 @@
activeItemIndex: '',
activeItemIndexes: [],
hoverItemIndex: '',
systemName: localStorage.getItem('nz-sys-name'),
dc: {
id: '',
name: '',
@@ -532,7 +535,7 @@
<style lang="scss">
.logo {
position: absolute;
top: 5px;
top: 9px;
left: 18px;
}
.header {
@@ -829,6 +832,15 @@
text-overflow: ellipsis;
white-space: nowrap;
}
.header-system-name{
font-size: 20px;
font-weight: 400;
color: #fff;
vertical-align: bottom;
margin-bottom: 5px;
display: inline-block;
letter-spacing: 2px;
}
</style>
<style>
.nz-submenu .menu-edit {