Jelajahi Sumber

修改公共样式

[plg137200.] 1 tahun lalu
induk
melakukan
007b8a8ddb

+ 4 - 4
src/renderer/components/ManageScaleUserRecord.vue

@@ -59,7 +59,7 @@
           <el-button
             size="small"
             @click="download(1, 1)"
-            class="xl_d_button"
+            class="xl_down_button"
             :disabled="multipleSelection.length === 0 && disableFlag"
           >
             批量下载(原始数据)</el-button
@@ -68,14 +68,14 @@
             size="small"
             :disabled="tableData.length === 0 && disableFlag"
             @click="download(1, 2)"
-            class="xl_d_button"
+            class="xl_down_button"
           >
             全部下载(原始数据)</el-button
           >
           <el-button
             size="small"
             @click="download(2, 1)"
-            class="xl_d_button"
+            class="xl_down_button"
             :disabled="multipleSelection.length === 0 && disableFlag"
           >
             批量下载</el-button
@@ -83,7 +83,7 @@
           <el-button
             size="small"
             :disabled="tableData.length === 0 && disableFlag"
-            class="xl_d_button"
+            class="xl_down_button"
             @click="download(2, 2)"
           >
             全部下载</el-button

+ 4 - 2
src/renderer/components/Menu.vue

@@ -623,6 +623,8 @@ export default {
   margin-left: 10px !important;
   height:40px;
   line-height: 40px;
+  margin-top:15px;
+  margin-bottom:15px;
 }
 
 .el-menu-item:hover {
@@ -637,8 +639,8 @@ export default {
   border-radius: 10px;
   margin-left: 10px;
   width: 170px;
-  margin-top:5px;
-  margin-bottom:5px;
+  /* margin-top:5px;
+  margin-bottom:5px; */
 }
 .el-menu-item.is-active {
   background-color: #ffffff !important;

+ 44 - 2
src/utils/public.css

@@ -91,6 +91,46 @@
     font-family: PingFang SC;
     font-weight: 400;
 }
+.xl_down_button.is-disabled,.xl_down_button.is-disabled:hover{
+    background: #8FDCBF;
+    opacity: 1;
+    border-radius: 18px;
+    border: 1px solid #8FDCBF;
+    color: #ffffff;
+    /* border-radius: 18px; */
+    /* font-size: 14px; */
+    padding-left: 20px;
+    padding-right: 20px;
+    font-family: PingFang SC;
+    font-weight: 400;
+}
+.xl_down_button,
+.xl_down_button:focus {
+    background: #1FD18E;
+    opacity: 1;
+    border-radius: 18px;
+    border: 1px solid #1FD18E;
+    color: #ffffff;
+    /* border-radius: 18px; */
+    /* font-size: 14px; */
+    padding-left: 20px;
+    padding-right: 20px;
+    font-family: PingFang SC;
+    font-weight: 400;
+}
+.xl_down_button:hover {
+    background: #1FD18E;
+    opacity: 1;
+    border-radius: 18px;
+    border: 1px solid #1FD18E;
+    color: #ffffff;
+    /* border-radius: 18px; */
+    /* font-size: 14px; */
+    padding-left: 20px;
+    padding-right: 20px;
+    font-family: PingFang SC;
+    font-weight: 400;
+}
 
 .xl_input .el-input__inner {
     width: 35.4vw;
@@ -101,12 +141,14 @@
     box-sizing: border-box;
     font-weight: 400;
     color: #929292;
-  }
+}
 
-  .el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
+.el-checkbox__input.is-checked .el-checkbox__inner,
+.el-checkbox__input.is-indeterminate .el-checkbox__inner {
     background-color: #0FB577;
     border-color: #0FB577;
 }
+
 .xl_input .el-range-editor .el-range-input {
     line-height: 1;
     background-color: #eaeaea;