feat: 修改系统图标

This commit is contained in:
“huailei000”
2022-11-22 12:16:27 +08:00
parent 6d8b45817e
commit 18a9d99f08
56 changed files with 127 additions and 71 deletions

View File

@@ -45,7 +45,7 @@
>
<el-tooltip :disabled="!action.tip" :content="action.tip" placement="top">
<span>
<i v-if="action.fa" :class="'fa ' + action.fa" />
<svg-icon v-if="action.fa" :icon-class="action.fa" style="font-size: 14px;" />
{{ action.title }}
</span>
</el-tooltip>

View File

@@ -89,10 +89,10 @@ export default {
data() {
return {
defaultRightSideActions: [
{ name: 'actionColumnSetting', fa: 'fa-cog', tip: this.$t('common.CustomCol'), has: this.hasColumnSetting, callback: this.handleTableSettingClick.bind(this) },
{ name: 'actionImport', fa: 'fa-upload', tip: this.$t('common.Import'), has: this.hasImport, callback: this.handleImportClick.bind(this) },
{ name: 'actionExport', fa: 'fa-download', tip: this.$t('common.Export'), has: this.hasExport, callback: this.handleExportClick.bind(this) },
{ name: 'actionRefresh', fa: 'fa-refresh', tip: this.$t('common.Refresh'), has: this.hasRefresh, callback: this.handleRefreshClick.bind(this) }
{ name: 'actionColumnSetting', fa: 'system-setting', tip: this.$t('common.CustomCol'), has: this.hasColumnSetting, callback: this.handleTableSettingClick.bind(this) },
{ name: 'actionImport', fa: 'upload', tip: this.$t('common.Import'), has: this.hasImport, callback: this.handleImportClick.bind(this) },
{ name: 'actionExport', fa: 'download', tip: this.$t('common.Export'), has: this.hasExport, callback: this.handleExportClick.bind(this) },
{ name: 'actionRefresh', fa: 'refresh', tip: this.$t('common.Refresh'), has: this.hasRefresh, callback: this.handleRefreshClick.bind(this) }
],
dialogExportVisible: false
}

View File

@@ -50,7 +50,7 @@ export default {
width: 1em;
height: 1em;
vertical-align: -0.15em;
fill: currentColor;
fill: currentColor!important;
overflow: hidden;
}
@@ -59,4 +59,7 @@ export default {
mask-size: cover!important;
display: inline-block;
}
::v-deep path {
fill: inherit!important;
}
</style>