From 9b4130ba5d648fe4343c741293d10cdc0a0231bd Mon Sep 17 00:00:00 2001
From: Tevin <tingquanren@163.com>
Date: Tue, 20 Feb 2024 14:37:49 +0800
Subject: [PATCH] 优化图片上传组件,后端返回异常的提示

---
 plugins/filter/cFilter.scss |   70 +++++-----------------------------
 1 files changed, 11 insertions(+), 59 deletions(-)

diff --git a/plugins/filter/cFilter.scss b/plugins/filter/cFilter.scss
index 185b562..11384c0 100644
--- a/plugins/filter/cFilter.scss
+++ b/plugins/filter/cFilter.scss
@@ -7,9 +7,9 @@
 
 .c-filter {
     width: 100%;
-    height: 86px;
-    line-height: 86px;
-    font-size: 30px;
+    height: 90px;
+    line-height: 90px;
+    font-size: 36px;
     color: #666;
     background-color: #fff;
     border-top: 1px solid #eee;
@@ -20,6 +20,9 @@
         height: 100%;
         padding: 0 20px;
         box-sizing: border-box;
+        &:active {
+            background-color: #f2f2f2;
+        }
     }
     .c-filter-more {
         float: right;
@@ -37,11 +40,11 @@
             color: #36a0e7;
             &::after {
                 display: block;
-                @include position(absolute, 20px n n 44px);
+                @include position(absolute, 20px n n 35px);
                 width: 12px;
                 height: 12px;
                 content: " ";
-                background-color: #36a0e7;
+                background-color: $colorDanger;
                 border-radius: 50%;
             }
         }
@@ -50,9 +53,6 @@
         }
     }
     .c-filter-drawer {
-        .at-drawer__content {
-            width: 550px;
-        }
         .c-filter-drawer-list {
             height: calc(100% - 90px);
             border-top: 1PX solid #eee;
@@ -61,6 +61,9 @@
                 min-height: 20px;
                 padding: 30px 0 10px 30px;
                 border-bottom: 1PX solid #eee;
+                &:active {
+                    background-color: #f2f2f2;
+                }
             }
         }
         .c-filter-drawer-btn {
@@ -80,57 +83,6 @@
                     color: #36a0e7;
                     background-color: #d4f1f7;
                 }
-            }
-        }
-    }
-}
-
-.c-filter-select {
-    .content {
-        @include flexbox(flex, flex-start center);
-        white-space: nowrap;
-        .empty,
-        .value {
-            display: inline-block;
-            vertical-align: middle;
-            @include ellipsis();
-        }
-        .empty {
-            color: #ccc;
-        }
-        .filled {
-            color: #6190e8;
-        }
-        .at-icon {
-            text-align: center;
-            color: #666;
-        }
-    }
-    &.type-bar {
-        .content {
-            height: 86px;
-            .label {
-                color: #666;
-            }
-            .at-icon {
-                padding-left: 4px;
-                vertical-align: middle;
-            }
-        }
-    }
-    &.type-item {
-        .label {
-            font-weight: bold;
-            color: #666;
-            line-height: 35px;
-        }
-        .content {
-            .empty,
-            .filled {
-                flex: 6;
-            }
-            .at-icon {
-                flex: 1;
             }
         }
     }

--
Gitblit v1.9.1