style:配置tool菜单图标
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
@font-face {
|
||||
font-family: "nz-icon"; /* Project id 2030432 */
|
||||
src: url('iconfont.woff2?t=1647598587378') format('woff2'),
|
||||
url('iconfont.woff?t=1647598587378') format('woff'),
|
||||
url('iconfont.ttf?t=1647598587378') format('truetype');
|
||||
src: url('iconfont.woff2?t=1649732646689') format('woff2'),
|
||||
url('iconfont.woff?t=1649732646689') format('woff'),
|
||||
url('iconfont.ttf?t=1649732646689') format('truetype');
|
||||
}
|
||||
|
||||
.nz-icon {
|
||||
@@ -13,6 +13,50 @@
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.nz-icon-tool:before {
|
||||
content: "\e76f";
|
||||
}
|
||||
|
||||
.nz-icon-export-pdf:before {
|
||||
content: "\e770";
|
||||
}
|
||||
|
||||
.nz-icon-Router:before {
|
||||
content: "\e766";
|
||||
}
|
||||
|
||||
.nz-icon-Computer:before {
|
||||
content: "\e767";
|
||||
}
|
||||
|
||||
.nz-icon-a-Networkdevices:before {
|
||||
content: "\e768";
|
||||
}
|
||||
|
||||
.nz-icon-Other:before {
|
||||
content: "\e769";
|
||||
}
|
||||
|
||||
.nz-icon-a-Virtualmachine:before {
|
||||
content: "\e76a";
|
||||
}
|
||||
|
||||
.nz-icon-Switch:before {
|
||||
content: "\e76b";
|
||||
}
|
||||
|
||||
.nz-icon-Server:before {
|
||||
content: "\e76c";
|
||||
}
|
||||
|
||||
.nz-icon-ADC:before {
|
||||
content: "\e76d";
|
||||
}
|
||||
|
||||
.nz-icon-Firewall:before {
|
||||
content: "\e76e";
|
||||
}
|
||||
|
||||
.nz-icon-Topology:before {
|
||||
content: "\e763";
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
1612
nezha-fronted/src/assets/css/font/iconfont.json
Normal file
1612
nezha-fronted/src/assets/css/font/iconfont.json
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,8 +1,8 @@
|
||||
@font-face {
|
||||
font-family: "nz-icon"; /* Project id 2030432 */
|
||||
src: url('./font/iconfont.woff2?t=1647598587378') format('woff2'),
|
||||
url('./font/iconfont.woff?t=1647598587378') format('woff'),
|
||||
url('./font/iconfont.ttf?t=1647598587378') format('truetype');
|
||||
src: url('./font/iconfont.woff2?t=1649732646689') format('woff2'),
|
||||
url('./font/iconfont.woff?t=1649732646689') format('woff'),
|
||||
url('./font/iconfont.ttf?t=1649732646689') format('truetype');
|
||||
}
|
||||
|
||||
.nz-icon {
|
||||
@@ -13,6 +13,50 @@
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.nz-icon-tool:before {
|
||||
content: "\e76f";
|
||||
}
|
||||
|
||||
.nz-icon-export-pdf:before {
|
||||
content: "\e770";
|
||||
}
|
||||
|
||||
.nz-icon-Router:before {
|
||||
content: "\e766";
|
||||
}
|
||||
|
||||
.nz-icon-Computer:before {
|
||||
content: "\e767";
|
||||
}
|
||||
|
||||
.nz-icon-a-Networkdevices:before {
|
||||
content: "\e768";
|
||||
}
|
||||
|
||||
.nz-icon-Other:before {
|
||||
content: "\e769";
|
||||
}
|
||||
|
||||
.nz-icon-a-Virtualmachine:before {
|
||||
content: "\e76a";
|
||||
}
|
||||
|
||||
.nz-icon-Switch:before {
|
||||
content: "\e76b";
|
||||
}
|
||||
|
||||
.nz-icon-Server:before {
|
||||
content: "\e76c";
|
||||
}
|
||||
|
||||
.nz-icon-ADC:before {
|
||||
content: "\e76d";
|
||||
}
|
||||
|
||||
.nz-icon-Firewall:before {
|
||||
content: "\e76e";
|
||||
}
|
||||
|
||||
.nz-icon-Topology:before {
|
||||
content: "\e763";
|
||||
}
|
||||
|
||||
@@ -18,9 +18,15 @@
|
||||
<template v-for="(secondMenu, secondIndex) in menu.children">
|
||||
<el-submenu v-if="secondMenu.children && secondMenu.children.length > 0" :key="secondIndex" :index="`${index}-${secondIndex}`">
|
||||
<span slot="title" class="data-column__span">{{$t(secondMenu.i18n)}}</span>
|
||||
<el-menu-item v-for="(thirdMenu, thirdIndex) in secondMenu.children" :key="`${index}-${secondIndex}-${thirdIndex}`" :index="thirdMenu.route">{{$t(thirdMenu.i18n)}}</el-menu-item>
|
||||
<el-menu-item v-for="(thirdMenu, thirdIndex) in secondMenu.children" :key="`${index}-${secondIndex}-${thirdIndex}`" :index="thirdMenu.route">
|
||||
<i :class="thirdMenu.icon"></i>
|
||||
<span slot="title" class="data-column__span">{{$t(thirdMenu.i18n)}}</span>
|
||||
</el-menu-item>
|
||||
</el-submenu>
|
||||
<el-menu-item v-else :key="secondIndex" :index="secondMenu.route">{{$t(secondMenu.i18n)}}</el-menu-item>
|
||||
<el-menu-item v-else :key="secondIndex" :index="secondMenu.route">
|
||||
<i :class="secondMenu.icon"></i>
|
||||
<span slot="title" class="data-column__span">{{$t(secondMenu.i18n)}}</span>
|
||||
</el-menu-item>
|
||||
</template>
|
||||
</el-submenu>
|
||||
<el-menu-item v-else :key="index" :index="menu.route">
|
||||
|
||||
Reference in New Issue
Block a user