forked from gzzfw/frontEnd/gzDyh

zhangyongtian
2024-09-15 e4a0fd2497ccbcbb6a9806fd147e8bf366215d15
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
@import '../../styles/theme.less';
 
.myDrawer {
    height: 100%;
    padding: 0 16px;
    overflow: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
 
    &-header {
        padding: 12px 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid rgba(0, 0, 0, 0.2);
 
        &-title {
            font-size: 16px;
            line-height: 24px;
            font-weight: 600;
            padding: 0 8px;
            position: relative;
 
            &::before {
                content: '';
                position: absolute;
                height: 14px;
                width: 2px;
                background-color: @main-color;
                left: 0;
                top: 5px;
            }
        }
 
        &-close {
            cursor: pointer;
 
            &:hover {
                color: #d1021c;
            }
        }
    }
 
    &-main {
        flex: 1;
        padding: 24px 0;
    }
 
    &-footer {
        padding-bottom: 24px;
    }
}