liuxiaolong
2019-05-09 0d1d88cdb668e75ea8609417ac18ae19947e9525
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
@import "../../base/fn";
 
.weui-navbar {
    display: flex;
    position: absolute;
    z-index: 500;
    top: 0;
    width: 100%;
    background-color: #fafafa;
 
    &:after {
        .setBottomLine(#CCCCCC);
    }
 
    & + .weui-tab__panel {
        padding-top: 50px;
        padding-bottom: 0;
    }
}
 
.weui-navbar__item {
    position: relative;
    display: block;
    flex: 1;
    padding: 13px 0;
    text-align: center;
    font-size: 15px;
    .setTapColor();
 
    &:active {
        background-color: #ededed;
    }
 
    &.weui-bar__item_on {
        background-color: #eaeaea;
    }
 
    &:after {
        .setRightLine(#CCCCCC);
    }
 
    &:last-child {
        &:after {
            display: none;
        }
    }
}