WebApp【公共组件库】@前端(For Git Submodule)
Tevin
2021-04-21 a63236efbae63cd0d710a5b8f41591a965544cf2
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
/**
 * common
 * @author Tevin
 */
 
@import "./sassMixin";
 
.taro_page,
page {
    font-size: 30px;
    color: #333;
    textarea {
        font-size: inherit;
        font-family: -apple-system-font, Helvetica Neue, sans-serif;
    }
    .at-nav-bar {
        .at-nav-bar__title {
            font-size: 42px;
        }
    }
    .at-button {
        display: inline-block;
        &.at-button--full {
            display: flex;
        }
    }
    .at-input-number {
        .weui-input {
            height: 100%;
            border: none;
            font-size: 30px;
        }
    }
    .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-body {
                width: 100%;
                height: calc(100% - 84px);
                max-height: 100%;
                font-size: 30px;
                box-sizing: border-box;
                &:first-child {
                    height: 100%;
                }
            }
            .layout-body__content {
                width: 100%;
                max-height: 100%;
            }
        }
    }
    .at-list {
        position: unset;
    }
    .weui-picker {
        font-size: 30px;
        .weui-picker__hd {
            font-size: 30px;
        }
    }
    .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%;
                margin-right: 2%;
                font-size: 30px;
            }
        }
    }
}
 
page {
    .at-tabs.at-tabs--horizontal {
        .at-tabs__body {
            .at-tabs-pane {
                margin-right: 0;
            }
        }
    }
}