WebApp【公共组件库】@前端(For Git Submodule)
Tevin
2023-11-22 057e40f413c2ef93f6ec71dbb06c491d169c6c6f
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
/**
 * select
 * @author Tevin
 */
 
@import "../../common/sassMixin";
 
.c-select {
    &.read-only {
        pointer-events: none;
        background-color: #f6f6f6;
    }
    .at-input__input {
        .weui-input {
            pointer-events: none;
        }
    }
    .at-input__children {
        padding-right: 20px;
        &::after {
            display: none;
        }
        .at-icon-chevron-right {
            padding: 0;
            font-size: 48px;
            color: #ccc;
        }
    }
    .at-input__icon {
        display: none;
    }
    .at-input__container {
        input {
            text-overflow: ellipsis;
            pointer-events: none;
        }
    }
    .c-select-slot-mode {
        @include flexbox(flex, left center);
        margin-bottom: 1PX;
        .c-select-input {
            width: 100%;
            .at-input {
                margin-bottom: 0;
            }
        }
        .c-select-slot {
            position: relative;
            height: 98px;
            @include flexbox(flex, center center);
            &::after {
                position: absolute;
                top: -50%;
                left: -50%;
                right: -50%;
                bottom: -50%;
                border: 0 solid #d6e4ef;
                border-bottom-width: 1PX;
                box-sizing: border-box;
                transform-origin: center;
                transform: scale(0.5);
                content: "";
                pointer-events: none;
            }
        }
    }
}