feat:asset 自定义label显示图标
This commit is contained in:
@@ -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=1634284850064') format('woff2'),
|
src: url('iconfont.woff2?t=1634288113261') format('woff2'),
|
||||||
url('iconfont.woff?t=1634284850064') format('woff'),
|
url('iconfont.woff?t=1634288113261') format('woff'),
|
||||||
url('iconfont.ttf?t=1634284850064') format('truetype');
|
url('iconfont.ttf?t=1634288113261') format('truetype');
|
||||||
}
|
}
|
||||||
|
|
||||||
.nz-icon {
|
.nz-icon {
|
||||||
@@ -13,6 +13,10 @@
|
|||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nz-icon-label:before {
|
||||||
|
content: "\e747";
|
||||||
|
}
|
||||||
|
|
||||||
.nz-icon-language-change:before {
|
.nz-icon-language-change:before {
|
||||||
content: "\e746";
|
content: "\e746";
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -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=1634284850064') format('woff2'),
|
src: url('./font/iconfont.woff2?t=1634288113261') format('woff2'),
|
||||||
url('./font/iconfont.woff?t=1634284850064') format('woff'),
|
url('./font/iconfont.woff?t=1634288113261') format('woff'),
|
||||||
url('./font/iconfont.ttf?t=1634284850064') format('truetype');
|
url('./font/iconfont.ttf?t=1634288113261') format('truetype');
|
||||||
}
|
}
|
||||||
|
|
||||||
.nz-icon {
|
.nz-icon {
|
||||||
@@ -13,6 +13,10 @@
|
|||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nz-icon-label:before {
|
||||||
|
content: "\e747";
|
||||||
|
}
|
||||||
|
|
||||||
.nz-icon-language-change:before {
|
.nz-icon-language-change:before {
|
||||||
content: "\e746";
|
content: "\e746";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
class="data-column"
|
class="data-column"
|
||||||
>
|
>
|
||||||
<template slot="header">
|
<template slot="header">
|
||||||
<span class="data-column__span">{{item.label}}</span>
|
<span class="data-column__span">{{item.label}} <i class="nz-icon nz-icon-label" v-if="item.type==='label'" style="color: #fa901c"/></span>
|
||||||
<div class="col-resize-area"></div>
|
<div class="col-resize-area"></div>
|
||||||
</template>
|
</template>
|
||||||
<template slot-scope="scope" :column="item">
|
<template slot-scope="scope" :column="item">
|
||||||
|
|||||||
Reference in New Issue
Block a user