From cf6ea209637f02e20ed658e8ee060ed8eacc81fd Mon Sep 17 00:00:00 2001
From: Tevin <tingquanren@163.com>
Date: Mon, 01 Nov 2021 10:42:26 +0800
Subject: [PATCH] 实现应用内超连接组件

---
 plugins/filter/cFilter.scss |   46 +++++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 41 insertions(+), 5 deletions(-)

diff --git a/plugins/filter/cFilter.scss b/plugins/filter/cFilter.scss
index 2703ceb..97f02f3 100644
--- a/plugins/filter/cFilter.scss
+++ b/plugins/filter/cFilter.scss
@@ -20,6 +20,9 @@
         height: 100%;
         padding: 0 20px;
         box-sizing: border-box;
+        &:active {
+            background-color: #f2f2f2;
+        }
     }
     .c-filter-more {
         float: right;
@@ -32,11 +35,24 @@
         &:active {
             background-color: #f2f2f2;
         }
+        &.on {
+            position: relative;
+            color: #36a0e7;
+            &::after {
+                display: block;
+                @include position(absolute, 20px n n 44px);
+                width: 12px;
+                height: 12px;
+                content: " ";
+                background-color: #36a0e7;
+                border-radius: 50%;
+            }
+        }
+        .arrow {
+            color: #666;
+        }
     }
     .c-filter-drawer {
-        .at-drawer__content {
-            width: 550px;
-        }
         .c-filter-drawer-list {
             height: calc(100% - 90px);
             border-top: 1PX solid #eee;
@@ -45,10 +61,29 @@
                 min-height: 20px;
                 padding: 30px 0 10px 30px;
                 border-bottom: 1PX solid #eee;
+                &:active {
+                    background-color: #f2f2f2;
+                }
             }
         }
         .c-filter-drawer-btn {
+            @include position(absolute, n 0 0 n);
+            width: 100%;
             height: 90px;
+            @include flexbox(flex, center center);
+            .at-button {
+                flex: 3;
+                height: 90px;
+                line-height: 88px;
+                border: none;
+                border-radius: 0;
+                background-color: #36a0e7;
+                &:first-child {
+                    flex: 2;
+                    color: #36a0e7;
+                    background-color: #d4f1f7;
+                }
+            }
         }
     }
 }
@@ -66,7 +101,7 @@
         .empty {
             color: #ccc;
         }
-        .value {
+        .filled {
             color: #6190e8;
         }
         .at-icon {
@@ -81,6 +116,7 @@
                 color: #666;
             }
             .at-icon {
+                padding-left: 4px;
                 vertical-align: middle;
             }
         }
@@ -93,7 +129,7 @@
         }
         .content {
             .empty,
-            .value {
+            .filled {
                 flex: 6;
             }
             .at-icon {

--
Gitblit v1.9.1