WebApp【公共组件库】@前端(For Git Submodule)
chensiAb
2024-05-16 0809fce7c43a94c40f0b355e359221477facc51b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
/**
 * filter
 * @author Tevin
 */
 
@import '../../common/sassMixin';
 
.c-filter {
    width: 100%;
    height: 90px;
    line-height: 90px;
    font-size: 36px;
    color: #666;
    background-color: #fff;
    border-top: 1px solid #eee;
    box-sizing: border-box;
    .c-filter-bar {
        float: left;
        width: 550px;
        height: 100%;
        padding: 0 20px;
        box-sizing: border-box;
        &:active {
            background-color: #f2f2f2;
        }
        .c-filter-input {
            display: flex;
            align-items: center;
            .at-input {
                margin-left: 14px;
            }
        }
    }
    .c-filter-more {
        float: right;
        width: 200px;
        height: 100%;
        box-sizing: border-box;
        text-align: center;
        border-left: 1PX solid #d6e4ef;
        transition: background-color 0.3s;
        &:active {
            background-color: #f2f2f2;
        }
        &.on {
            position: relative;
            color: #36a0e7;
            &::after {
                display: block;
                @include position(absolute, 20px n n 35px);
                width: 12px;
                height: 12px;
                content: ' ';
                background-color: $colorDanger;
                border-radius: 50%;
            }
        }
        .arrow {
            color: #666;
        }
    }
    .c-filter-drawer {
        .c-filter-drawer-list {
            height: calc(100% - 90px);
            border-top: 1PX solid #eee;
            box-sizing: border-box;
            .box {
                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;
                }
            }
        }
    }
}