CN-400 fix: 实体图标更换
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
@font-face {
|
@font-face {
|
||||||
font-family: "cn-icon"; /* Project id 2614877 */
|
font-family: "cn-icon"; /* Project id 2614877 */
|
||||||
src: url('iconfont.woff2?t=1647073084945') format('woff2'),
|
src: url('iconfont.woff2?t=1647594989129') format('woff2'),
|
||||||
url('iconfont.woff?t=1647073084945') format('woff'),
|
url('iconfont.woff?t=1647594989129') format('woff'),
|
||||||
url('iconfont.ttf?t=1647073084945') format('truetype');
|
url('iconfont.ttf?t=1647594989129') format('truetype');
|
||||||
}
|
}
|
||||||
|
|
||||||
.cn-icon {
|
.cn-icon {
|
||||||
@@ -13,6 +13,18 @@
|
|||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.cn-icon-domain2:before {
|
||||||
|
content: "\e767";
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-icon-ip2:before {
|
||||||
|
content: "\e768";
|
||||||
|
}
|
||||||
|
|
||||||
|
.cn-icon-app2:before {
|
||||||
|
content: "\e769";
|
||||||
|
}
|
||||||
|
|
||||||
.cn-icon-intercept:before {
|
.cn-icon-intercept:before {
|
||||||
content: "\e600";
|
content: "\e600";
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -171,15 +171,15 @@ export default {
|
|||||||
let className
|
let className
|
||||||
switch (this.from) {
|
switch (this.from) {
|
||||||
case ('ip'): {
|
case ('ip'): {
|
||||||
className = 'cn-icon cn-icon-ip ip-green'
|
className = 'cn-icon cn-icon-ip2 ip-green'
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
case ('domain'): {
|
case ('domain'): {
|
||||||
className = 'cn-icon cn-icon-domain domain-blue'
|
className = 'cn-icon cn-icon-domain2 domain-blue'
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
case ('app'): {
|
case ('app'): {
|
||||||
className = 'cn-icon cn-icon-app app-orange'
|
className = 'cn-icon cn-icon-app2 app-orange'
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
default: break
|
default: break
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
<el-option v-for="(value, key) in entityType" :label="value" :key="key" :value="key">
|
<el-option v-for="(value, key) in entityType" :label="value" :key="key" :value="key">
|
||||||
<template v-if="value === entityType.ip"><i style="color: #23BF9A;" class="cn-icon cn-icon-ip"></i></template>
|
<template v-if="value === entityType.ip"><i style="color: #23BF9A;" class="cn-icon cn-icon-ip"></i></template>
|
||||||
<template v-else-if="value === entityType.domain"><i style="color: #23BF9A;" class="cn-icon cn-icon-domain"></i></template>
|
<template v-else-if="value === entityType.domain"><i style="color: #23BF9A;" class="cn-icon cn-icon-domain"></i></template>
|
||||||
<template v-else-if="value === entityType.app"><i style="color: #23BF9A;" class="cn-icon cn-icon-app"></i></template>
|
<template v-else-if="value === entityType.app"><i style="color: #23BF9A;" class="cn-icon cn-icon-app2"></i></template>
|
||||||
{{value}}
|
{{value}}
|
||||||
</el-option>
|
</el-option>
|
||||||
<template #prefix>
|
<template #prefix>
|
||||||
|
|||||||
@@ -133,15 +133,15 @@ export default {
|
|||||||
let className
|
let className
|
||||||
switch (this.detection.entityType) {
|
switch (this.detection.entityType) {
|
||||||
case ('ip'): {
|
case ('ip'): {
|
||||||
className = 'cn-icon cn-icon-ip'
|
className = 'cn-icon cn-icon-ip2'
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
case ('domain'): {
|
case ('domain'): {
|
||||||
className = 'cn-icon cn-icon-domain'
|
className = 'cn-icon cn-icon-domain2'
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
case ('app'): {
|
case ('app'): {
|
||||||
className = 'cn-icon cn-icon-app'
|
className = 'cn-icon cn-icon-app2'
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
|||||||
@@ -110,15 +110,15 @@ export default {
|
|||||||
let className
|
let className
|
||||||
switch (this.entityData.entityType) {
|
switch (this.entityData.entityType) {
|
||||||
case ('ip'): {
|
case ('ip'): {
|
||||||
className = 'cn-icon cn-icon-ip'
|
className = 'cn-icon cn-icon-ip2'
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
case ('domain'): {
|
case ('domain'): {
|
||||||
className = 'cn-icon cn-icon-domain'
|
className = 'cn-icon cn-icon-domain2'
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
case ('app'): {
|
case ('app'): {
|
||||||
className = 'cn-icon cn-icon-app'
|
className = 'cn-icon cn-icon-app2'
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
default: break
|
default: break
|
||||||
|
|||||||
@@ -23,15 +23,15 @@ export default {
|
|||||||
let className
|
let className
|
||||||
switch (this.entityData.entityType) {
|
switch (this.entityData.entityType) {
|
||||||
case ('ip'): {
|
case ('ip'): {
|
||||||
className = 'cn-icon cn-icon-ip'
|
className = 'cn-icon cn-icon-ip2'
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
case ('domain'): {
|
case ('domain'): {
|
||||||
className = 'cn-icon cn-icon-domain'
|
className = 'cn-icon cn-icon-domain2'
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
case ('app'): {
|
case ('app'): {
|
||||||
className = 'cn-icon cn-icon-app'
|
className = 'cn-icon cn-icon-app2'
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
default: break
|
default: break
|
||||||
|
|||||||
Reference in New Issue
Block a user