Parcourir la source

'全局分页和button背景色修改'

haojianlong il y a 4 ans
Parent
commit
193a6d3236
2 fichiers modifiés avec 23 ajouts et 0 suppressions
  1. 20 0
      src/App.vue
  2. 3 0
      src/views/equipment/index.vue

+ 20 - 0
src/App.vue

@@ -190,6 +190,26 @@ body ::-webkit-scrollbar-thumb:vertical:hover {
   border: 1px solid #e6e6e6;
 }
 
+#app{
+    //meri-design组件select的字体颜色
+    /deep/ .p-select-fakePlaceholder {
+        span {
+            span {
+                color: #606266 !important;
+                font-size: 13px;
+                font-weight: normal;
+            }
+        }
+    }
+    //element 分页组件背景色
+    /deep/ .el-pagination.is-background .el-pager li:not(.disabled).active{
+        background:linear-gradient(180deg,rgba(54,156,247,1) 0%,rgba(2,91,170,1) 100%);
+    }
+    //element button 
+   /deep/ .el-button--primary,.p-button-primary{
+      background:linear-gradient(180deg,rgba(54,156,247,1) 0%,rgba(2,91,170,1) 100%);
+   }
+}
 .clearfix::after {
   content: ".";
   display: block;

+ 3 - 0
src/views/equipment/index.vue

@@ -354,5 +354,8 @@ export default {
             }
         }
     }
+    /deep/ .el-pagination.is-background .el-pager li:not(.disabled).active{
+        background:linear-gradient(180deg,rgba(54,156,247,1) 0%,rgba(2,91,170,1) 100%);
+    }
 }
 </style>