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.
95 lines
1.6 KiB
95 lines
1.6 KiB
page {
|
|
background: #f7f7f7;
|
|
}
|
|
|
|
.tab-bar {
|
|
width: 100%;
|
|
height: 90rpx;
|
|
background: #fff;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
position: relative;
|
|
}
|
|
|
|
.tab-bar .tab {
|
|
flex: 1;
|
|
height: 90rpx;
|
|
line-height: 90rpx;
|
|
text-align: center;
|
|
width: 50%;
|
|
font-size: 32rpx;
|
|
font-weight: 500;
|
|
color: rgba(153, 153, 153, 1);
|
|
}
|
|
|
|
.tab-bar .select-tab {
|
|
color: #E50F00;
|
|
font-size: 32rpx;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.tab-bar .select-bar {
|
|
width: 40rpx;
|
|
height: 8rpx;
|
|
border-radius: 5rpx;
|
|
background: #E50F00;
|
|
position: absolute;
|
|
bottom: 0rpx;
|
|
}
|
|
|
|
.tab-bar .select-bar.tab1 {
|
|
left: calc(25% - 15rpx);
|
|
transition: left linear 0.4s;
|
|
}
|
|
|
|
.tab-bar .select-bar.tab2 {
|
|
left: calc(75% - 15rpx);
|
|
transition: left linear 0.4s;
|
|
}
|
|
|
|
/* 参与记录 */
|
|
.tab-item {
|
|
background: #fff;
|
|
height: 80rpx;
|
|
width: calc(100% - 60rpx);
|
|
padding: 0 30rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.tab-item button {
|
|
position: relative;
|
|
display: inline-block;
|
|
/* margin: 0 42rpx 0 0; */
|
|
flex-shrink: 0;
|
|
/* width: auto !important; */
|
|
width: 164rpx;
|
|
height: 52rpx;
|
|
min-height: 52rpx !important;
|
|
line-height: 52rpx;
|
|
border-radius: 30rpx;
|
|
padding: 0 20rpx;
|
|
}
|
|
|
|
button::after {
|
|
border: 0rpx;
|
|
}
|
|
|
|
.tab-item .font-w {
|
|
font-size: 30rpx;
|
|
font-weight: bold;
|
|
color: #fff;
|
|
background: linear-gradient(to right, #e95027, #db1a1f);
|
|
}
|
|
|
|
.tab-item .font-b {
|
|
background: #fff;
|
|
font-size: 30rpx;
|
|
font-weight: 500;
|
|
color: #333;
|
|
border: 1rpx solid #dbdbdb;
|
|
}
|
|
|
|
.tab-item .hover-btn {
|
|
box-shadow: 0px 0px 10px 0px rgba(188, 0, 5, 0.22);
|
|
}
|