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.
53 lines
880 B
53 lines
880 B
page {
|
|
width: 100%;
|
|
height: 100vh;
|
|
height: auto;
|
|
overflow-y: auto;
|
|
background: #f7f6fb;
|
|
}
|
|
|
|
.index {
|
|
width: 100%;
|
|
height: 100%;
|
|
padding-top: 80rpx;
|
|
}
|
|
|
|
.index .tab-bar {
|
|
width: 100%;
|
|
height: 80rpx;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
background: #fff;
|
|
position: fixed;
|
|
left: 0;
|
|
top: 0;
|
|
z-index: 1000;
|
|
}
|
|
.index .tab-bar .tab {
|
|
flex: 1;
|
|
height: 80rpx;
|
|
line-height: 80rpx;
|
|
text-align:center;
|
|
width: 50%;
|
|
color: #999;
|
|
font-size: 30rpx;
|
|
}
|
|
.index .tab-bar .select-tab {
|
|
color: #29B9A5;
|
|
}
|
|
.index .tab-bar .select-bar {
|
|
width: 30rpx;
|
|
height: 10rpx;
|
|
border-radius: 5rpx;
|
|
background: #29B9A5;
|
|
position: absolute;
|
|
bottom: 0rpx;
|
|
}
|
|
.index .tab-bar .select-bar.tab1 {
|
|
left: calc(25% - 15rpx);
|
|
transition: left linear 0.4s;
|
|
}
|
|
.index .tab-bar .select-bar.tab2 {
|
|
left: calc(75% - 15rpx);
|
|
transition: left linear 0.4s;
|
|
}
|