Forráskód Böngészése

后台维护颜色修改

zhouna 6 éve
szülő
commit
e7ab1e9ad5
2 módosított fájl, 11 hozzáadás és 2 törlés
  1. 5 1
      src/components/icss/LabelGroup.vue
  2. 6 1
      src/less/common.less

+ 5 - 1
src/components/icss/LabelGroup.vue

@@ -119,7 +119,7 @@ export default {
             tagTypes: [],
             Adscriptions: [],   //标签归属列表
             tagTypesList: [],   //标签类型列表
-          searched: false,
+            searched: false,
             filter: {
                 tagType: [], //标签类型
                 tagAdscription: '', //标签归属
@@ -287,6 +287,10 @@ export default {
                     tagSysName: '', //标签系统名称
                   };
                 }
+                if(this.list.length==1){
+                  //当前在最后一页且只有一条数据时,删除后跳到前一页
+                  this.currentPage = this.currentPage===1?1:this.currentPage-1;
+                }
                 this.getDataList();
                 this.warning(res.data.msg || '操作成功','success');
               }else{

+ 6 - 1
src/less/common.less

@@ -16,7 +16,7 @@
 @borderWidth: 2px;
 
 /*朗通后台基本颜色*/
-@adminBase: #22ccc8;
+@adminBase: #48C5D7;
 @icssBorder: #c0c4cc;
 @icssHeight:240px;
 
@@ -115,6 +115,11 @@
 .el-button--mini, .el-button--mini.is-round {
   padding: 5px 15px 4px;
 }
+.el-button--warning.el-button--mini{
+  background: @adminBase;
+  border:1px @adminBase solid;
+}
+
 
 .el-table td {
   padding: 0;