icon图标修改

This commit is contained in:
wujiawen
2020-01-15 20:55:24 +08:00
parent aa23428d6d
commit 98da6bd36e
10 changed files with 141 additions and 52 deletions

View File

@@ -2,6 +2,11 @@
.config {
height: 100%;
}
.top-tools #alert-add .top-tool-btn-txt .nz-icon{
display: inline-block;
font-size: 12px;
margin-right:6px;
}
</style>
<template>
<div class="config">
@@ -15,7 +20,9 @@
<div class="content-right">
<div class="top-tools">
<button id="alert-add" @click="toAdd" class="nz-btn nz-btn-size-normal nz-btn-style-normal float-right">
<span class="top-tool-btn-txt">{{$t('overall.add')}}</span>
<span class="top-tool-btn-txt">
<i class="nz-icon-create-square nz-icon"></i>
{{$t('overall.add')}}</span>
</button>
<div class="top-tool-search float-right"><search-input :searchMsg="searchMsg" @search="search"></search-input></div>
</div>
@@ -34,11 +41,11 @@
show-overflow-tooltip
>
<template slot="header" slot-scope="scope">
<span v-if="index==0">
<span @click.stop="elementsetShow('shezhi',$event)" id="alert-tab-set">
<i class="el-icon-setting"></i>
<span v-if="index==0" class='nav-tabel-header' >
<span @click.stop="elementsetShow('shezhi',$event)" class="nz-table-gear">
<i class="nz-icon nz-icon-gear"></i>
</span>
<span>{{item.label}}</span>
<span class="nz-table-txt">{{item.label}}</span>
</span>
<div v-else>
<span>{{item.label}}</span>