统一操作按钮样式,新增固定颜色类并应用到所有操作按钮
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
</el-icon>
|
||||
查询
|
||||
</el-button>
|
||||
<el-button size="default" type="success" class="ml10" @click="onOpenAddRole">
|
||||
<el-button size="default" type="success" class="ml10 op-btn-add" @click="onOpenAddRole">
|
||||
<el-icon>
|
||||
<ele-FolderAdd />
|
||||
</el-icon>
|
||||
@@ -72,7 +72,7 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" width="220">
|
||||
<template #default="scope">
|
||||
<el-button style="color: deepskyblue" size="small" text type="primary" @click="onOpenEditRole(scope.row)">
|
||||
<el-button style="color: deepskyblue" size="small" text type="primary" class="op-btn-edit" @click="onOpenEditRole(scope.row)">
|
||||
<el-icon><ele-EditPen /></el-icon>修改
|
||||
</el-button>
|
||||
</template>
|
||||
|
||||
@@ -62,13 +62,13 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" width="220">
|
||||
<template #default="scope">
|
||||
<el-button style="color: #67c23a" size="small" text type="primary" @click="onTrainProduct(scope.row)">
|
||||
<el-button size="small" text type="primary" class="op-btn-add" @click="onTrainProduct(scope.row)">
|
||||
<el-icon><Mic /></el-icon>上传
|
||||
</el-button>
|
||||
<el-button style="color: deepskyblue" size="small" text type="primary" @click="onOpenEditRole(scope.row)">
|
||||
<el-button size="small" text type="primary" class="op-btn-edit" @click="onOpenEditRole(scope.row)">
|
||||
<el-icon><EditPen /></el-icon>修改
|
||||
</el-button>
|
||||
<el-button size="small" text type="primary" @click="onRowDel(scope.row)">
|
||||
<el-button size="small" text type="primary" class="op-btn-del" @click="onRowDel(scope.row)">
|
||||
<el-icon><Delete /></el-icon>删除
|
||||
</el-button>
|
||||
</template>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
</el-icon>
|
||||
重置
|
||||
</el-button>
|
||||
<el-button size="default" type="success" @click="handleAdd">
|
||||
<el-button size="default" type="success" class="op-btn-add" @click="handleAdd">
|
||||
<el-icon><FolderAdd /></el-icon>
|
||||
新增话术
|
||||
</el-button>
|
||||
@@ -46,10 +46,10 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" width="200" align="center" fixed="right">
|
||||
<template #default="{ row }">
|
||||
<el-button style="color: deepskyblue" size="small" text type="primary" @click="handleEdit(row)">
|
||||
<el-button size="small" text type="primary" class="op-btn-edit" @click="handleEdit(row)">
|
||||
<el-icon><EditPen /></el-icon>修改
|
||||
</el-button>
|
||||
<el-button size="small" text type="danger" @click="handleDelete(row)">
|
||||
<el-button size="small" text type="danger" class="op-btn-del" @click="handleDelete(row)">
|
||||
<el-icon><DeleteFilled /></el-icon>删除
|
||||
</el-button>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user