WebApp【公共组件库】@前端(For Git Submodule)
Tevin
2024-03-20 bf1ac47ae368378a5bff9a1808cfa1a08fbfc917
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-scan-code
 * @author Tevin
 */
 
@import "../../common/sassMixin";
 
.c-input-scan-code {
    &.read-only {
        pointer-events: none;
        background-color: #f6f6f6;
        .at-input__title {
            &::before {
                display: block;
                position: absolute;
                top: 50%;
                left: -23px;
                width: 12px;
                height: 12px;
                content: " ";
                border: #777 1PX solid;
                border-radius: 50%;
                transform: translateY(-50%);
            }
            &::after {
                display: block;
                position: absolute;
                top: 50%;
                left: -23px;
                width: 14px;
                height: 0px;
                margin-top: 0px;
                content: " ";
                border-bottom: #777 1PX solid;
                transform: rotate(-45deg);
            }
        }
    }
    .c-input-scan-space {
        width: 140px;
        height: 48px;
        pointer-events: none;
    }
    .c-input-scan-btn {
        @include position(absolute, 50% n n 16px);
        width: 110px;
        box-sizing: border-box;
        transform: translateY(-50%);
        .at-icon-loading {
            font-size: 40px;
            animation: atRotate 1s linear infinite;
            transform-origin: 50% 48%;
        }
        .at-button__text text {
            color: #fff;
            padding: 0;
        }
    }
    .at-input__icon {
        display: none;
    }
    .at-input__children {
        &::after {
            display: none;
        }
    }
}