WebApp【公共组件库】@前端(For Git Submodule)
Tevin
2023-11-19 a805f3124019d0421572a3e5f632561313ddb282
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
/**
 * input-express-code
 * @author Tevin
 */
 
@import "../../common/sassMixin";
 
.c-input-express-code {
    .c-input-express-btn {
        width: 100px;
        height: 48px;
    }
    .c-input-express-scan {
        @include position(absolute, 50% n n 0);
        width: 100px;
        padding-left: 35px;
        color: #ccc;
        box-sizing: border-box;
        transform: translateY(-50%);
        pointer-events: none;
        .gg-scan {
            box-sizing: border-box;
            position: relative;
            display: block;
            width: 18px;
            height: 18px;
            transform: scale(2.5, 2.5);
            background:
                linear-gradient(to left, currentColor 22px,
                    transparent 0) no-repeat center/2px 22px
        }
        .gg-scan::after,
        .gg-scan::before {
            content: "";
            display: block;
            box-sizing: border-box;
            position: absolute;
            width: 6px;
            height: 14px;
            border: 2px solid;
            top: 2px
        }
        .gg-scan::before {
            border-right: 0;
            border-top-left-radius: 3px;
            border-bottom-left-radius: 3px
        }
        .gg-scan::after {
            border-left: 0;
            border-top-right-radius: 3px;
            border-bottom-right-radius: 3px;
            right: 0
        }
        .at-icon-loading {
            margin-right: 9px;
            animation: atRotate 1s linear infinite;
        }
    }
    .at-input__icon {
        display: none;
    }
    .at-input__children {
        &::after {
            display: none;
        }
    }
}