更改 favicon

This commit is contained in:
2021-05-28 22:10:16 +08:00
parent 72b902bc24
commit 566a534f9d
3 changed files with 13 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@@ -6,7 +6,7 @@
<el-header class="main-header shadow-1">
<!-- LOGO -->
<el-avatar class="logo" shape="square" size="small" src="./favicon.ico"></el-avatar>
<div class="logo"></div>
<!-- 菜单 -->
<el-menu class="menu" :default-active="headerDefaultActive" mode="horizontal" router>
@@ -187,6 +187,12 @@ export default {
.logo {
flex-shrink: 0;
margin-right: 1rem;
width: 2rem;
height: 2rem;
background-image: url("./assets/icon/favicon.svg");
background-position: center;
background-repeat: no-repeat;
background-size: contain;
}
.menu {

View File

@@ -0,0 +1,6 @@
<svg width="1024" height="1024" xmlns="http://www.w3.org/2000/svg" class="icon">
<path fill="#2196F3" d="m170.66667,554.66667m42.66666,0l213.33334,0q42.66666,0 42.66666,42.66666l0,213.33334q0,42.66666 -42.66666,42.66666l-213.33334,0q-42.66666,0 -42.66666,-42.66666l0,-213.33334q0,-42.66666 42.66666,-42.66666z"/>
<path fill="#2196F3" d="m554.66667,554.66667m42.66666,0l213.33334,0q42.66666,0 42.66666,42.66666l0,213.33334q0,42.66666 -42.66666,42.66666l-213.33334,0q-42.66666,0 -42.66666,-42.66666l0,-213.33334q0,-42.66666 42.66666,-42.66666z"/>
<path fill="#2196F3" d="m170.66667,170.66667m42.66666,0l213.33334,0q42.66666,0 42.66666,42.66666l0,213.33334q0,42.66666 -42.66666,42.66666l-213.33334,0q-42.66666,0 -42.66666,-42.66666l0,-213.33334q0,-42.66666 42.66666,-42.66666z"/>
<path transform="rotate(45 703.333251953125,320.3332824707031)" fill="#2196F3" d="m573,189.99999m37.23807,0l186.19041,0q37.23807,0 37.23807,37.23807l0,186.19041q0,37.23807 -37.23807,37.23807l-186.19041,0q-37.23807,0 -37.23807,-37.23807l0,-186.19041q0,-37.23807 37.23807,-37.23807z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB