微信小程序联调
This commit is contained in:
39
unpackage/dist/build/mp-weixin/custom-tab-bar/index.wxss
vendored
Normal file
39
unpackage/dist/build/mp-weixin/custom-tab-bar/index.wxss
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
.tabbar {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
height: 52px;
|
||||
background: #ffffff;
|
||||
border-top: 1px solid #e5e7eb;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-around;
|
||||
padding-bottom: env(safe-area-inset-bottom);
|
||||
}
|
||||
|
||||
.tabbar-item {
|
||||
flex: 1;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: #7a7e83;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.tabbar-item.active {
|
||||
color: #007aff;
|
||||
}
|
||||
|
||||
.tabbar-icon {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.tabbar-text {
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user