WebApp【公共组件库】@前端(For Git Submodule)
‘chensiAb’
2025-03-25 3b03f87a02458f719e2eb4bf112a13441b427d14
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
97
98
99
100
101
102
103
104
105
106
107
/**
 * form
 * @author Tevin
 */
 
@import "../../common/sassMixin";
 
.c-form-outer.auto-scroll {
    height: 100%;
    .c-form-scroller {
        height: 100%;
    }
}
 
.c-form {
    display: block;
    width: 100%;
    background-color: #fff;
    .c-form-item {
        .at-input {
            background-color: transparent;
        }
        .at-input__title {
            margin-right: 20px;
        }
        .at-input__title--required {
            position: relative;
            &::before {
                @include position(absolute, 50% -23px n n);
                transform: translateY(-50%);
            }
        }
    }
    .c-form-agreement {
        padding: 24px 32px;
        .title {
            display: inline;
            .icon {
                display: inline-block;
                margin-right: 14px;
                width: 40px;
                height: 40px;
                vertical-align: middle;
                text-align: center;
                line-height: 36px;
                color: transparent;
                border: 2px solid rgba(97, 144, 232, .2);
                border-radius: 50%;
                background-color: #fff;
                box-sizing: border-box;
                transition: all .2s;
                &.checked {
                    color: #fff;
                    border: none;
                    background-color: #6190e8;
                }
                .at-icon {
                    font-size: 24px;
                    line-height: 1;
                }
            }
            .tips {
                vertical-align: middle;
                color: rgb(117, 117, 117);
                ;
            }
        }
        .protocol {
            display: inline;
            color: #2093df;
            font-size: 36px;
            vertical-align: middle;
        }
    }
    .c-form-submit {
        margin-top: 37px;
        padding: 0 20px 30px;
        [type=primary] {
            height: 90px;
            font-size: 36px;
            line-height: 88px;
            border: 1PX solid #2093df;
            background: #2093df;
            &:not([disabled]):active {
                opacity: .6;
                border: 1PX solid #2093df;
                background: #2093df;
            }
            &::after {
                display: none;
            }
        }
        &.c-form-submit-fixed {
            margin: -3px 0 140px;
            padding: 1px 0 0;
            .c-form-submit-inner {
                @include position(fixed, n 0 0 n, 10);
                width: 100%;
            }
            [type=primary] {
                height: 100px;
                line-height: 98px;
                border-radius: 0;
            }
        }
    }
}