统一操作按钮样式,新增固定颜色类并应用到所有操作按钮

This commit is contained in:
WUSIJIAN
2025-12-11 17:47:57 +08:00
parent eba0f1d093
commit 58be602770
13 changed files with 66 additions and 40 deletions

View File

@@ -46,13 +46,13 @@
</el-icon>
重置
</el-button>
<el-button size="default" type="success" class="ml10" @click="onOpenAddDic">
<el-button size="default" type="success" class="ml10 op-btn-add" @click="onOpenAddDic">
<el-icon>
<ele-FolderAdd />
</el-icon>
新增字典
</el-button>
<el-button size="default" type="danger" class="ml10" @click="onRowDel(null)">
<el-button size="default" type="danger" class="ml10 op-btn-del" @click="onRowDel(null)">
<el-icon>
<ele-Delete />
</el-icon>
@@ -77,8 +77,8 @@
</el-table-column>
<el-table-column label="操作" width="200">
<template #default="scope">
<el-button size="small" text type="primary" @click="onOpenEditDic(scope.row)">修改</el-button>
<el-button size="small" text type="primary" @click="onRowDel(scope.row)">删除</el-button>
<el-button size="small" text type="primary" class="op-btn-edit" @click="onOpenEditDic(scope.row)">修改</el-button>
<el-button size="small" text type="primary" class="op-btn-del" @click="onRowDel(scope.row)">删除</el-button>
</template>
</el-table-column>
</el-table>