fix:修改 termailLog的图标 以及显示

This commit is contained in:
zhangyu
2021-10-22 09:55:57 +08:00
parent f7f7c8bb5e
commit ede38e6627
7 changed files with 16 additions and 21 deletions

View File

@@ -1,8 +1,8 @@
@font-face {
font-family: "nz-icon"; /* Project id 2030432 */
src: url('iconfont.woff2?t=1634809124279') format('woff2'),
url('iconfont.woff?t=1634809124279') format('woff'),
url('iconfont.ttf?t=1634809124279') format('truetype');
src: url('iconfont.woff2?t=1634867510407') format('woff2'),
url('iconfont.woff?t=1634867510407') format('woff'),
url('iconfont.ttf?t=1634867510407') format('truetype');
}
.nz-icon {
@@ -13,6 +13,10 @@
-moz-osx-font-smoothing: grayscale;
}
.nz-icon-stop:before {
content: "\e74a";
}
.nz-icon-Panelkong:before {
content: "\e748";
}
@@ -33,10 +37,6 @@
content: "\e749";
}
.nz-icon-stop:before {
content: "\e74a";
}
.nz-icon-unknown-error:before {
content: "\e74c";
}

View File

@@ -1,8 +1,8 @@
@font-face {
font-family: "nz-icon"; /* Project id 2030432 */
src: url('./font/iconfont.woff2?t=1634809124279') format('woff2'),
url('./font/iconfont.woff?t=1634809124279') format('woff'),
url('./font/iconfont.ttf?t=1634809124279') format('truetype');
src: url('./font/iconfont.woff2?t=1634867510407') format('woff2'),
url('./font/iconfont.woff?t=1634867510407') format('woff'),
url('./font/iconfont.ttf?t=1634867510407') format('truetype');
}
.nz-icon {
@@ -13,6 +13,10 @@
-moz-osx-font-smoothing: grayscale;
}
.nz-icon-stop:before {
content: "\e74a";
}
.nz-icon-Panelkong:before {
content: "\e748";
}
@@ -33,10 +37,6 @@
content: "\e749";
}
.nz-icon-stop:before {
content: "\e74a";
}
.nz-icon-unknown-error:before {
content: "\e74c";
}

View File

@@ -683,7 +683,7 @@ export default {
if (response.code === 200) {
setTimeout(() => {
this.finshGetData = false
}, 1000)
}, 100)
response.data.list.forEach((item, index) => {
item.isLoaded = false
})

View File

@@ -37,12 +37,7 @@
<template slot-scope="scope" :column="item">
<span v-if="item.prop === 'time'">{{utcTimeToTimezoneStr(scope.row[item.prop])}}</span>
<template v-else-if="item.prop === 'state'">
<el-tooltip :disabled="!scope.row.status" effect="light" placement="right">
<div slot="content">
{{getStatusText(scope.row.status)}}
</div>
<span><i class="nz-icon" :class="statusClass(scope.row.status)"/></span>
</el-tooltip>
<span><i class="nz-icon" :class="statusClass(scope.row.status)"/> {{getStatusText(scope.row.status)}}</span>
</template>
<template v-else-if="item.prop === 'uuid'">
<el-popover