You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
1.5 KiB
83 lines
1.5 KiB
|
|
|
|
/*重新样式*/
|
|
.tab-bar {
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
display: flex;
|
|
box-shadow: 0px -2px 10px 0px rgba(0,0,0,0.05);
|
|
box-sizing: content-box;
|
|
/* padding-bottom:34rpx ; */
|
|
background-color: #fff;
|
|
}
|
|
|
|
.tab-bar-border {
|
|
background-color: rgba(0, 0, 0, 0.33);
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 1px;
|
|
transform: scaleY(0.5);
|
|
}
|
|
|
|
.tab-bar-item {
|
|
flex: auto;
|
|
text-align: center;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
background: #fff;
|
|
height: 120rpx;
|
|
}
|
|
|
|
.tab-bar-item.diy {
|
|
margin-top: 0!important;
|
|
background: transparent;
|
|
position: relative;
|
|
flex: inherit;
|
|
width: 134rpx;
|
|
}
|
|
|
|
.tab-bar-item image {
|
|
width: 48rpx;
|
|
height: 48rpx;
|
|
overflow: initial;
|
|
}
|
|
|
|
.tab-bar-item view {
|
|
font-size: 24rpx;
|
|
}
|
|
|
|
.tab-bar-item image.diy {
|
|
position: absolute;
|
|
width: 130rpx;
|
|
height: 130rpx;
|
|
bottom: 25.6%;
|
|
z-index: 100;
|
|
border-radius: 200rpx;
|
|
background: #fff;
|
|
/* box-shadow: 0px -2px 10px 0px rgba(0,0,0,0.15); */
|
|
}
|
|
|
|
.tab-bar-item view.diy {
|
|
margin-top: 90rpx;
|
|
width: 100%;
|
|
height: 100%;
|
|
padding-top: 58rpx;
|
|
z-index: 99;
|
|
background: #fff;
|
|
}
|
|
.activeBg {
|
|
background: #0579FF;
|
|
}
|
|
.tab-middle {
|
|
position: absolute;
|
|
width: 140rpx;
|
|
height: 100%;
|
|
background: #fff;
|
|
}
|
|
|