feat:修改logo,修改页面resize的报错 以及asset列的长度
This commit is contained in:
BIN
nezha-fronted/src/assets/img/logo1-2.png
Normal file
BIN
nezha-fronted/src/assets/img/logo1-2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
@@ -183,6 +183,7 @@
|
||||
label: this.$t("project.endpoint.host"),
|
||||
prop: 'host',
|
||||
show: true,
|
||||
width:200,
|
||||
},{
|
||||
label: this.$t("project.endpoint.port"),
|
||||
prop: 'port',
|
||||
@@ -192,14 +193,17 @@
|
||||
label: this.$t("overall.type"),
|
||||
prop: 'type',
|
||||
show: false,
|
||||
width:200,
|
||||
},{
|
||||
label: this.$t("project.endpoint.param"),
|
||||
prop: 'param',
|
||||
show: true,
|
||||
width:200,
|
||||
},{
|
||||
label: this.$t("project.endpoint.path"),
|
||||
prop: 'path',
|
||||
show: true,
|
||||
width:200,
|
||||
},{
|
||||
label: this.$t("alert.list.state"),
|
||||
prop: 'state',
|
||||
@@ -209,6 +213,7 @@
|
||||
label: this.$t("project.endpoint.alerts"),
|
||||
prop: 'alerts',
|
||||
show: true,
|
||||
width:150,
|
||||
},
|
||||
/*{
|
||||
label: this.$t("project.endpoint.lastUpdate"),
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -778,7 +778,7 @@
|
||||
//resize时刷新左侧列表滚动条
|
||||
let vm = this;
|
||||
window.onresize = function () {
|
||||
vm.$refs.leftScrollbar.update();
|
||||
// vm.$refs.leftScrollbar.update();
|
||||
el._ps_.update();
|
||||
};
|
||||
});
|
||||
|
||||
@@ -233,6 +233,7 @@
|
||||
label: this.$t("project.endpoint.host"),
|
||||
prop: 'host',
|
||||
show: true,
|
||||
width:200,
|
||||
},{
|
||||
label: this.$t("project.endpoint.port"),
|
||||
prop: 'port',
|
||||
@@ -242,14 +243,17 @@
|
||||
label: this.$t("overall.type"),
|
||||
prop: 'type',
|
||||
show: false,
|
||||
width:200,
|
||||
},{
|
||||
label: this.$t("project.endpoint.param"),
|
||||
prop: 'param',
|
||||
show: true,
|
||||
width:200,
|
||||
},{
|
||||
label: this.$t("project.endpoint.path"),
|
||||
prop: 'path',
|
||||
show: true,
|
||||
width:200,
|
||||
},{
|
||||
label: this.$t("alert.list.state"),
|
||||
prop: 'state',
|
||||
@@ -259,6 +263,7 @@
|
||||
label: this.$t("project.endpoint.alerts"),
|
||||
prop: 'alerts',
|
||||
show: true,
|
||||
width:150,
|
||||
},
|
||||
// {
|
||||
// label: this.$t("project.endpoint.lastUpdate"),
|
||||
|
||||
Reference in New Issue
Block a user