2022-09-08 12:05:33 +08:00

42 lines
742 B
SCSS

.customTabBar {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
height: $customTabBarHeight;
display: flex;
flex-flow: row nowrap;
padding-bottom: env(safe-area-inset-bottom);
background-color: #fff;
z-index: 9999;
box-shadow: 0 11px 7px 8px #c2c2c2;
&-line {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 1px;
transform: scaleY(0.5);
}
&-item {
flex: 1;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
flex-flow: column nowrap;
&-icon {
width: 56px;
height: 56px;
font-size: 60px;
}
&-title {
margin-top: 10px;
font-size: 20px;
}
}
}
.selected {
color: $color_main;
}