WebApp【公共组件库】@前端(For Git Submodule)
Tevin
2021-11-16 040e2ccd2a26efd3b0bf65ddb400f9803ed52360
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
/**
 * common
 * @author Tevin
 */
 
@import "./sassMixin";
 
.taro_page,
page {
    font-size: 36px;
    color: #333;
    textarea {
        font-size: inherit;
        font-family: -apple-system-font, Helvetica Neue, sans-serif;
    }
    .at-button {
        display: inline-block;
        font-size: 36px;
        &.at-button--small {
            line-height: 56px;
        }
        &.at-button--full {
            display: flex;
        }
        &.at-button--primary {
            color: #FFF;
            border: 1PX solid #2093df;
            background: #2093df;
            &.btn-danger {
                border: 1PX solid #FF5722;
                background: #FF5722;
            }
        }
    }
    .at-input {
        .at-input__title {
            font-size: 36px;
        }
        .at-input__input {
            .weui-input {
                font-size: 36px;
            }
        }
    }
    .at-input-number {
        .weui-input {
            height: 100%;
            border: none;
            font-size: 36px;
        }
    }
    .at-float-layout {
        .at-float-layout__container {
            @include flexbox(flex, flex-start flex-start, column);
            width: 100%;
            max-height: 80%;
            height: 80%;
            .layout-header {
                width: 100%;
                height: 84px;
                box-sizing: border-box;
                .layout-header__title {
                    font-size: 38px;
                }
            }
            .layout-body {
                width: 100%;
                height: calc(100% - 84px);
                max-height: 100%;
                font-size: 36px;
                box-sizing: border-box;
                &:first-child {
                    height: 100%;
                }
            }
            .layout-body__content {
                width: 100%;
                max-height: 100%;
            }
        }
    }
    .at-list {
        position: unset;
    }
    .at-tabs.at-tabs--horizontal {
        height: 100%;
        .at-tabs__header {
            height: 90px;
            line-height: 52px;
        }
        .at-tabs__body {
            height: calc(100% - 90px);
            font-size: 0;
            .at-tabs-pane {
                height: 100%;
                font-size: 30px;
            }
        }
    }
    .at-radio {
        .at-radio__option {
            padding-left: 0;
        }
        .at-radio__option-wrap {
            padding-left: 32px;
        }
        .at-radio__icon {
            visibility: visible;
            &.at-radio__icon--checked {
                .at-icon {
                    background: #2093df;
                    border-color: #2093df;
                }
            }
            .at-icon {
                color: #fff;
                border: #bbb 1px solid;
                border-radius: 50%;
                padding: 5px;
            }
        }
        &::before,
        &::after {
            display: none;
        }
    }
    .at-modal {
        .at-modal__header {
            font-size: 40px;
        }
        .at-modal__footer {
            .at-modal__action>taro-button-core,
            .at-modal__action button {
                font-size: 36px;
                &:last-child {
                    color: #2093df;
                }
            }
        }
    }
}
 
page {
    .at-tabs.at-tabs--horizontal {
        .at-tabs__body {
            .at-tabs-pane {
                margin-right: 0;
            }
        }
    }
}
 
.taro__toast,
.taro__modal {
    word-break: break-word;
}
 
.weui-picker__overlay {
    .weui-picker {
        font-size: 32px;
        .weui-picker__hd {
            font-size: 36px;
            .weui-picker__action:last-child {
                color: #2093df;
            }
        }
    }
}