ann0707
2018-08-16 c9bc8ec61cff4076132f6396d99d383a2cdf5a03
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
/**
 * Created by c.y on 2018-3-26
 * 文件说明: 全局覆盖样式
 */
@import './mixin.less';
 
// 全局的渐变 背景颜色控制
#app .vux-header {
    .color-linear-gradient(@color-gradient-darkBlue-left, @color-gradient-darkBlue-right) !important;
}
 
html {
    font-family: @fontDefault;
    height: 100%;
}
 
body {
    height: 100%;
    margin: 0;
}
 
.router-view {
    width: 100%;
    min-height: 100%;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}
 
//  头部样式覆盖   ============== begin=====================
.header-common {
    height: 44px;
 
    line-height: 1;
}
 
.router-view .header-common {
    padding: 0;
}
 
.router-view .header-common .vux-header-left .left-arrow {
    top: -6px;
}
 
.router-view .gradient-color .vux-header-left .left-arrow:before {
    border: 2px solid @color-white;
    border-width: 2PX 0 0 2PX;
}
 
//  头部样式覆盖   ============== end=====================
 
.f-footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    .weui-tabbar {
        background-color: @color-white;
    }
    .weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon,
    .weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon > i,
    .weui-tabbar__item.weui-bar__item_on .weui-tabbar__label {
        color: @color-primary;
    }
    input::-webkit-input-placeholder {
        color: @color-text-third !important; /* WebKit browsers */
    }
}
 
/**
 *  iPad 3/4 portrait
 */
@media only screen
and (min-device-width: 768px)
and (max-device-width: 1024px)
and (orientation: portrait)
and (-webkit-min-device-pixel-ratio: 2) {
 
}
 
/**
 *  iPad 1/2 landscape & portrait
 */
@media only screen
and (min-device-width: 768Px)
and (max-device-width: 1024Px)
and (-webkit-min-device-pixel-ratio: 1) {
    body .router-view {
        .vux-header {
            .vux-header-title {
                height: 60px;
                line-height: 60px;
                font-size: 28px;
            }
            .vux-header-left {
                .left-arrow:before {
                    width: 20px;
                    height: 20px;
                    margin-top: 3px;
                }
            }
        }
        .f-footer {
            .weui-tabbar {
                .iconfont {
                    position: relative;
                    right: 5px;
                    font-size: 36px;
                }
                .weui-tabbar__label span {
                    font-size: 18Px;
                }
            }
        }
    }
}
 
@media only screen
and (min-width: 1024Px)
and (max-width: 1366Px)
and (-webkit-min-device-pixel-ratio: 1) {
    body .router-view {
        .vux-header {
            .vux-header-title {
                height: 60px;
                line-height: 60px;
                font-size: 28px;
            }
            .vux-header-left {
                .left-arrow:before {
                    width: 20px;
                    height: 20px;
                    margin-top: 3px;
                }
            }
        }
        .f-footer {
            .weui-tabbar {
                .iconfont {
                    position: relative;
                    right: 5px;
                    font-size: 36px;
                }
                .weui-tabbar__label span {
                    font-size: 18Px;
                }
            }
        }
    }
}