63 lines
1.1 KiB
Plaintext
63 lines
1.1 KiB
Plaintext
.tab-bar {
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 120px;
|
|
background: transparent;
|
|
// padding-bottom: env(safe-area-inset-bottom);
|
|
.tab-bar-bg {
|
|
width: 100vw;
|
|
height: 120px;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
image {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
}
|
|
}
|
|
.tab-bar-list {
|
|
width: 100%;
|
|
// height: 80px;
|
|
padding-bottom: env(safe-area-inset-bottom);
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
position: absolute;
|
|
top: 86rpx;
|
|
// bottom: 0;
|
|
.tab-bar-item {
|
|
padding-top: 8px;
|
|
flex: 1;
|
|
text-align: center;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
image {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
view {
|
|
margin-top: 10px;
|
|
color: #737373;
|
|
font-size: 12px;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
.tab-bar-item:nth-child(2) {
|
|
image {
|
|
width: 56px;
|
|
height: 56px;
|
|
position: absolute;
|
|
top: -24px;
|
|
}
|
|
view {
|
|
margin-top: 20px;
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|