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

View File

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

View File

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

View File

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