File tree Expand file tree Collapse file tree 2 files changed +6
-72
lines changed Expand file tree Collapse file tree 2 files changed +6
-72
lines changed Original file line number Diff line number Diff line change 1111 & :last-child {
1212 border-right : 0 ;
1313 }
14- }
15-
16- .bottom {
17- position : fixed ;
18- bottom : 0px ;
19- left : 0px ;
20- z-index : 888 ;
21- }
22-
23- .tabbar-nav {
24- flex : 1 ;
25- text-align : center ;
26- text-decoration : none ;
27- color : $text-color ;
28- height : 100% ;
29- display : flex ;
30- justify-content : center ;
31- align-items : center ;
32- }
33-
34- .card {
35- border-right : 1px solid $tabbar-border-color ;
36- }
37-
38- .icon-box {
39- padding : 0px ;
40- display : inline-block ;
41- position : relative ;
42-
43- .tips {
44- position : absolute ;
45- background : $tabbar-active-color ;
46- border : 1px solid $white ;
47- border-radius : 7px ;
48- text-align : center ;
49-
50- top : -2px ;
51- right : -7px ;
52- box-shadow : 0 0 0 1px $white ;
53- font-size : $font-size-1 ;
54- color : $white ;
14+ & -bottom {
15+ position : fixed ;
16+ bottom : 0px ;
17+ left : 0px ;
18+ z-index : 888 ;
5519 }
56-
57- .num {
58- line-height : 1 ;
59- font-size : $font-size-0 ;
60- color : $white ;
61- padding : 1px 2px 2px 3px ;
62- }
63-
64- .nums {
65- line-height : 1 ;
66- font-size : $font-size-0 ;
67- color : $white ;
68- padding : 2px 1px 2px 2px ;
69- }
70- }
71-
72- .icon-box .icon {
73- display : block ;
74- background-size : 100% 100% ;
75- background-position : center center ;
76- }
77-
78- .icon-box .tabbar-nav-word {
79- font-size : $font-size-0 ;
80- display : block ;
81- }
82-
83- .icon-box .big-word {
84- font-size : $font-size-3 ;
85- line-height : 1 ;
8620}
Original file line number Diff line number Diff line change 11<template >
2- <view class =" nut-tabbar" :class =" { bottom }" >
2+ <view class =" nut-tabbar" :class =" { 'nut-tabbar-bottom': bottom }" >
33 <slot ></slot >
44 </view >
55</template >
You can’t perform that action at this time.
0 commit comments