logo美化,顶部菜单新增logo展示

This commit is contained in:
xiaoma
2021-08-09 10:50:16 +08:00
parent d388ae5656
commit ade138997d
3 changed files with 27 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
<template>
<div class="logo">
<img src="~@/assets/images/logo.png" alt="" />
<h2 v-show="!collapsed" class="title">&nbsp;NaiveUiAdmin</h2>
<h2 v-show="!collapsed" class="title">NaiveUiAdmin</h2>
</div>
</template>
@@ -29,10 +29,10 @@
img {
width: auto;
height: 32px;
margin-right: 10px;
}
.title {
color: white;
margin-bottom: 0;
}
}