修改新增按钮样式

dev_2022-05-11
yujialong 3 years ago
parent 5e7b10c65c
commit b3142c5172
  1. 2
      src/pages/assessment/list/index.vue
  2. 2
      src/pages/course/list/courseManagement/index.vue
  3. 4
      src/pages/evaluation/list/index.vue
  4. 2
      src/pages/information/columnManage/index.vue
  5. 2
      src/pages/information/contentManage/contentList.vue
  6. 2
      src/pages/match/list/index.vue
  7. 2
      src/pages/project/list/index.vue
  8. 2
      src/pages/student/list/index.vue
  9. 2
      src/pages/system/list/role.vue
  10. 2
      src/pages/system/list/staff.vue
  11. 12
      src/styles/common.scss

@ -44,7 +44,7 @@
</ul> </ul>
<div> <div>
<div> <div>
<el-button v-if="auth('创建考核')" type="primary" round @click="add" >创建考核</el-button> <el-button v-if="auth('创建考核')" type="info" round @click="add" >创建考核</el-button>
<el-button v-if="auth('批量删除')" type="primary" round @click="delAllData">批量删除</el-button> <el-button v-if="auth('批量删除')" type="primary" round @click="delAllData">批量删除</el-button>
</div> </div>
</div> </div>

@ -16,7 +16,7 @@
</li> </li>
</ul> </ul>
<div> <div>
<el-button v-if="auth('课程管理-新增')" type="primary" round @click="addCourse">新增</el-button> <el-button v-if="auth('课程管理-新增')" type="info" round @click="addCourse">新增</el-button>
<el-button v-if="auth('课程管理-批量删除')" type="primary" round @click="delAllData">批量删除</el-button> <el-button v-if="auth('课程管理-批量删除')" type="primary" round @click="delAllData">批量删除</el-button>
</div> </div>
</div> </div>

@ -19,8 +19,8 @@
</li> </li>
</ul> </ul>
<div> <div>
<el-button v-if="auth('测评设置')" type="primary" @click="getInfo">测评设置</el-button> <el-button v-if="auth('测评设置')" type="info" @click="getInfo">测评设置</el-button>
<el-button v-if="auth('新增题目')" type="primary" @click="addTopics">新增题目</el-button> <el-button v-if="auth('新增题目')" type="info" @click="addTopics">新增题目</el-button>
<el-button v-if="auth('批量上传')" type="primary" @click="showBatchUpload">批量上传</el-button> <el-button v-if="auth('批量上传')" type="primary" @click="showBatchUpload">批量上传</el-button>
<el-button v-if="auth('批量删除')" type="primary" @click="delAllData">批量删除</el-button> <el-button v-if="auth('批量删除')" type="primary" @click="delAllData">批量删除</el-button>
</div> </div>

@ -14,7 +14,7 @@
<template v-if="!sorting"> <template v-if="!sorting">
<el-button v-if="auth('栏目管理-更改排序')" class="action-btn" type="primary" round @click="openSort">更改排序 <el-button v-if="auth('栏目管理-更改排序')" class="action-btn" type="primary" round @click="openSort">更改排序
</el-button> </el-button>
<el-button v-if="auth('栏目管理-添加栏目')" class="action-btn" type="primary" round @click="addColumn">添加栏目 <el-button v-if="auth('栏目管理-添加栏目')" class="action-btn" type="info" round @click="addColumn">添加栏目
</el-button> </el-button>
</template> </template>
</div> </div>

@ -6,7 +6,7 @@
<div class="btn-wrap"> <div class="btn-wrap">
<el-button v-if="auth('内容管理-保存排序')" class="action-btn" type="primary" @click="sortSubmit">保存排序</el-button> <el-button v-if="auth('内容管理-保存排序')" class="action-btn" type="primary" @click="sortSubmit">保存排序</el-button>
<el-button v-if="auth('内容管理-批量删除')" class="action-btn" type="primary" @click="delAllData">批量删除</el-button> <el-button v-if="auth('内容管理-批量删除')" class="action-btn" type="primary" @click="delAllData">批量删除</el-button>
<el-button v-if="auth('内容管理-新增文章')" class="action-btn" type="primary" @click="addArticle">新增文章</el-button> <el-button v-if="auth('内容管理-新增文章')" class="action-btn" type="info" @click="addArticle">新增文章</el-button>
</div> </div>
<div class="page-content" style="padding-top: 24px"> <div class="page-content" style="padding-top: 24px">
<el-table ref="table" :data="listData" class="table" stripe header-align="center" @selection-change="handleSelectionChange" row-key="id"> <el-table ref="table" :data="listData" class="table" stripe header-align="center" @selection-change="handleSelectionChange" row-key="id">

@ -25,7 +25,7 @@
</li> </li>
</ul> </ul>
<div> <div>
<el-button type="primary" round @click="add">创建竞赛</el-button> <el-button type="info" round @click="add">创建竞赛</el-button>
</div> </div>
</div> </div>

@ -56,7 +56,7 @@
</li> </li>
</ul> </ul>
<div> <div>
<el-button v-if="auth('新增项目')" type="primary" @click="add">新增项目</el-button> <el-button v-if="auth('新增项目')" type="info" @click="add">新增项目</el-button>
<el-button v-if="auth('批量删除')" type="primary" @click="delAllData">批量删除</el-button> <el-button v-if="auth('批量删除')" type="primary" @click="delAllData">批量删除</el-button>
</div> </div>
</div> </div>

@ -99,7 +99,7 @@
</li> </li>
</ul> </ul>
<div> <div>
<el-button type="primary" v-if="auth('新增学生')" @click="addStudent">新增学生</el-button> <el-button type="info" v-if="auth('新增学生')" @click="addStudent">新增学生</el-button>
<el-button type="primary" v-if="auth('批量导入')" @click="batchImport">批量导入</el-button> <el-button type="primary" v-if="auth('批量导入')" @click="batchImport">批量导入</el-button>
<el-button type="primary" v-if="auth('批量删除')" @click="delAllSelection">批量删除</el-button> <el-button type="primary" v-if="auth('批量删除')" @click="delAllSelection">批量删除</el-button>
</div> </div>

@ -8,7 +8,7 @@
</li> </li>
</ul> </ul>
<div> <div>
<el-button v-if="auth('角色权限-新增角色')" type="primary" round @click="addRole">新增角色</el-button> <el-button v-if="auth('角色权限-新增角色')" type="info" round @click="addRole">新增角色</el-button>
<el-button v-if="auth('角色权限-批量删除')" type="primary" round @click="delAllSelection">批量删除</el-button> <el-button v-if="auth('角色权限-批量删除')" type="primary" round @click="delAllSelection">批量删除</el-button>
</div> </div>
</div> </div>

@ -13,7 +13,7 @@
</li> </li>
</ul> </ul>
<div> <div>
<el-button v-if="auth('员工管理-新增员工')" type="primary" round @click="addTeacher">新增员工</el-button> <el-button v-if="auth('员工管理-新增员工')" type="info" round @click="addTeacher">新增员工</el-button>
<el-button v-if="auth('员工管理-批量导入')" type="primary" round @click="batchImport">批量导入</el-button> <el-button v-if="auth('员工管理-批量导入')" type="primary" round @click="batchImport">批量导入</el-button>
<el-button v-if="auth('员工管理-批量删除')" type="primary" round @click="delAllSelection">批量删除</el-button> <el-button v-if="auth('员工管理-批量删除')" type="primary" round @click="delAllSelection">批量删除</el-button>
</div> </div>

@ -33,6 +33,13 @@
border-radius: 4px !important; border-radius: 4px !important;
} }
.el-button--info.action-btn {
color: #fff !important;
font-size: 14px !important;
background-color: $--color-primary !important;
border-radius: 4px !important;
}
.el-input { .el-input {
.el-input__inner { .el-input__inner {
border-color: rgba(0, 0, 0, 0.15); border-color: rgba(0, 0, 0, 0.15);
@ -84,6 +91,10 @@
@extend .action-btn; @extend .action-btn;
} }
.el-button--info {
@extend .action-btn;
}
&.mul { &.mul {
margin-bottom: 0; margin-bottom: 0;
@ -253,6 +264,7 @@
background-color: #fae9e8; background-color: #fae9e8;
} }
} }
} }
} }

Loading…
Cancel
Save